System Enumerated Types

EBrushAlign

The Brush Alignment value will be used to control how an image is lined up a tiled when it is used to fill an area.

Local - This says that the top left of the image should be aligned with the current origin for the shape call.

Absolute - This says that the top left of the image should be aligned with the top left of the canvas.

Pinned - This says that the top left of the image should be aligned with the 'pin' value within the current brush.

EBrushFill

The Brush Fill mode is used by just the TBrush structure. It indicated how the brush object will be used to fill a region.

Colour - This says that the colour field of the brush will be used to fill in the whole region.

Image - This says that the image field of the brush will be used to tile over the whole region.

EColourMix

This determines the way colours are added. It also determines the initial colour of the canvas.

Paper - This mode acts like normal pigments on paper, where colours are subractive. The canvas is initially filled with white.

Screen - This mode acts like light, where colours are additive. The canvas is initially filled with black.

EDashMode

The Dash Mode is used by the pen to specify how a line is to be drawn.

Solid - This says that the line should be drawn as a solid line and that there should be no dashing.

Fixed - This says that the dashing of the line should cycle around the list as given without any adjustment. The cycle should start again with the first element each time a new line segment is drawn.

Single - This says that the dash and space lengths should be adjusted so that exactly one cycle of the list is required to draw the whole line.

Multiple - This says that the dash and space lengths should be adjusted so that the nearest integer multiple of cycles will be used to draw the complete line section.

Continuous - This says that the dash and space cycle for a line segment should continue from where the previous segment left off.

EFillMode

This fill mode is used as a parameter for any system shape that can be filled.

Hollow - This code say that there should be no filling performed.

Solid - This code say the shape should be drawn solid with the pen colour being used to fill it in.

Filled - This code say the shape should be filled in with the current brush.

EHorzAlign

The horizontal alignment mode control the way text is placed. The alignment is always done relative to the alignment of the individual characters. The exact interpretation depend on the particular text writing call.

Left - The left hand edge of the text is aligned.

Centre - The centre of the text is aligned.

Right - The right hand edge of the text is aligned.

Both - Both edges are aligned.

EImageMode

The Image Mode is used in the TCanvas and TImage structures to indicate the type of image.

Picture - This indicates that the image is a full colour picture.

Pattern - This indicates that the image is just a pen and brush sketch.

EOverwrite

The Overwrite mode controls the mixing of the working colour with the background colour when overwriting with less than 100% opacity.

Direct - Ingore the opacity when determining the colour, instead use it for the final pixel.

Add - The colour of the pen or brush will be added to the current colour at the target pixel. Each colour component will be added separately. The opacity of both colours is ignored but the opacity of the added colour is used as the opacity of the final pixel.

The way the colours are added will be based on the 'colourmix' field of the target canvas. In 'Paper' mode they are treated as subractive and for 'Screen' they are additive ( you may need to revise your colour theory ).

Merge - The new colour is merged with the current colour at the target. This merging used the opacity of the new colour. The opacity of the final pixel will be the same as the original colour.

Invert - In this mode the background colours are simply inverted. The opacity of the final pixel will be set lest as it was.

EReportCat

The Error Report Category is a general indication of the type of runtime error that has been reported. It is part of the global Status object and is also one of the fields in the Error statement.

BadParam - This is a generic code for an error in the parameter to a function or shape.

OutOfRange - This is a more specific code for an error in the parameter to a function or shape where the parameter has fixed set or range of permitted values.

UsingNull - This code indicates that a parameter or operand is Null when it should not be.

Invalid - This code is a catch-all to indicate that something was not correct - such as a combination of parameters is not valid.

Overflow - This code indicates that some operator could not generate a result that would not fit in the appropriate result datum.

DivByZero - This is a specific code for the division operators.

OutOfMemory - This indicates that the system has run out of memory.

MultiReport - This code is generated when a system error occurs in the OnError section of a block of code.

ERound

The rounding mode is used only for the Round() function.

Nearest - This will always round to the nearest integer.

Down - This will always round to the nearest integer at or below the parameter. If the parameter is negative this will be a more negative value.

Up - This will always round to the nearest integer at or above the parameter. If the parameter is negative this will be a less negative value.

ToZero - This will always round to the nearest integer towards zero. If the parameter is negative this will be a less negative value.

FromZero - This will always round to the nearest integer away from zero. If the parameter is negative this will be a more negative value.

EVertAlign

The vertical alignment controls how text is written.

Top - The top of the text is aligned with the current origin.

Centre - The centre of the text is aligned with the current origin.

Bottom - The bottom of the text is aligned with the current origin.