TFPCanvasException - exception handler for FreePascal base Canvas class TFPPenException - exception handler for FreePascal base Pen class TFPBrushException - exception handler for FreePascal base Brush class TFPFontException exception handler for FreePascal base Font class TFPCustomCanvas - FreePascal base class for Canvas

TFPCustomCanvas - FreePascal base class for Canvas

Many of the methods are virtual and/or abstract; there is often no supplied code for the method, but the entries act as place-holders for programmers of descendant components to provide overriding methods

TFPCanvasHelper - FreePascal base class providing utilities for drawing and painting canvases GetAllocated returns True if the canvas is allocated (assigned) SetFlags - stores specified boolean values in index-nominated flags GetFlags - returns the boolean value of the specified flag CheckAllocated - check whether the canvas is allocated, and if ValueNeeded if True, raises an exception if not allocated SetFixedCanvas - specifies whether the canvas is to be fixed DoAllocateResources - procedure for allocating resources DoDeAllocateResources - procedure for deallocationg resources DoCopyProps - copies properties from another Canvas Helper SetFPColor - specify the colour using the FreePascal list Changing - software emulation of a call to the OnChanging event Changed - software emulation of a call to the OnChange event Lock the canvas so it can't be changed UnLock a previously locked canvas Create - constructor for TFPCanvasHelper: calls inherited Create then sets properties Canvas to nil, FixedCanvas and Allocated to False TObject.Create Destroy - destructor for TFPCanvasHelper: de-allocates resources then calls inherited Destroy TPersistent.Destroy AllocateResources - prepare helper for use DeallocateResources - free all resources used by this helper If True, then helper has been Allocated FixedCanvas - properties cannot be changed when allocated Canvas for which the helper is allocated FPColor - colour of the helper OnChanging - event handler while change is occurring OnChange - event handler when a change has occurred DelayAllocate - if True, then allocation is to be delayed TFPCustomFont - FreePascal base class for Fonts SetName - specify the name of the Font SetSize - specify the size for the Font CopyFont - returns a copy of the font with all properties the same, but not allocated GetTextSize - finds the size (w: width, h: height) of the specified text in the current font GetTextHeight - returns the height of the specified text GetTextWidth - returns the width of the specified text The Name of the current Font The Size of the current Font Is the Font Bold? Is the Font Italic? Is the Font Underline? Is the Font StrikeTrough? TFPCustomFontClass - class of TFPCustomFont TFPPenStyle - Solid, Dash, Dot, DashDot, DashDotDot, insideFrame, Pattern, Clear TFPPenStyleSet - set of TFPPenStyle TFPPenMode - Black, White, Nop, Not, Copy, NotCopy, MergePenNot, MaskPenNot, MergeNotPen, MaskNotPen, Merge, NotMerge, Mask, NotMask, Xor, NotXor TFPCustomPen - FreePascal base class for Pens SetMode specifies Pen Mode SetWidth - specifies width of the Pen SetStyle - specifies style for the Pen SetPattern - specifies the pattern for the Pen CopyPen - returns a copy of the pen with all properties the same, but not allocated The Style of the Pen The Width in pixels of the current Pen The Mode of the Pen The Pattern for the Pen TFPCustomPenClass - class of TFPCustomPen TFPBrushStyle - Solid, Clear, Horizontal, Vertical, FDiagonal, BDiagonal, Cross, DiagCross, Image, Pattern TFPCustomBrush - FreePascal base class for Brushes SetStyle - specifies the style for the Brush SetImage - specifies the Image for use with the Brush (eg if BrushStyle is bsImage) CopyBrush - returns a copy of the brush with all properties the same, but not allocated The Style for the current Brush The Image to be used in the Brush (if Style is bsImage) The Pattern to use for the Brush (if Style is bsPattern) TFPCustomBrushClass - class of TFPCustomBrush TFPCustomInterpolation - FreePascal base class for interpolations while drawing in unspecified regions between specified points Initialize - the image ready to apply interpolation Execute the interpolation The Canvas on which the interpolation is to be applied The Image to which the interpolation is to be applied TFPBaseInterpolation - the default interpolation to be applied if no other is specified Filter factor to be used in interpolating MaxSupport factor for interpolation TMitchelInterpolation - one possible algorithm for interpolation Filter uses specific constants as coefficients in a polynomial interpolation TFPBaseInterpolation.Filter DoCreateDefaultFont - returns a newly created default Font DoCreateDefaultPen - returns a newly created default Pen DoCreateDefaultBrush - returns a newly created default Brush SetFont - specifies the Font to use SetBrush - specifies the Brush to use SetPen - specifies the Pen to use DoAllowFont - returns True if specified Font is valid DoAllowPen - returns True if specified Pen is valid DoAllowBrush - returns True if specified Brush is valid SetColor - specifies colour at the given location GetColor - finds the colour at the given location SetHeight -sspecifies Canvas height GetHeight - returns the height of the Canvas SetWidth - specifies the width of the Canvas GetWidth - returns the Width GetClipRect - returns the coordinates of the rectangle used for clipping SetClipRect - specifies the rectangle to use for clipping SetPenPos - specifies the position of the Pen DoLockCanvas - method for locking the Canvas, making it impossible to change DoUnlockCanvas - method for unlocking a previously locked Canvas DoTextOut - method for writing given text out at specified location DoGetTextSize - method for finding the size (stored as w: width, h: height) of the given text DoGetTextHeight - returns the height of the given text DoGetTextWidth - returns the width of the given text DoRectangle - method for drawing a rectangle in the given position DoRectangleFill - method for filling a rectagle in the given location DoRectangleAndFill - method for drawing a rectangle and filling it at the given location DoEllipseFill - method for filing an ellipse at the given location DoEllipse - method for drawing an ellipse at the given location DoEllipseAndFill - method for drawing an ellipse and filling it at the given location DoPolygonFill - method for filling a polygon at the given location (using supplied array of points) DoPolygon - method for drawing a polygon using the given array of points DoPolygonAndFill - method for drawing a polygon and filling it using the given array of points DoPolyline - method for drawing a PolyLine uing the given array of points DoFloodFill - method for Flood-Filling an area strarting at the given location DoMoveTo - method to move the drawing cursor to the specified point DoLineTo - method for drawing a line between the current cursor position and the specified point DoLine - method for drawing a line between two specified points DoCopyRect - method to copy the source rectangle SourceRect to the specified position on another Canvas DoDraw - method to draw the nominated Image at the specified location CheckHelper - method to ensure that a valid Helper has been called AddHelper - method to add a helper to the list create - constructor for TFPCustomCanvas. Performs inherited Create, creates helpers, sets up default sizes and pen, brush and font

create - constructor for TFPCustomCanvas. Performs inherited Create, creates helpers, sets up default sizes and pen, brush and font

Overrides ancestor constructor, and may be overridden by descendants

TObject.Create
Destroy - destructor for TFPCustomCanvas: frees helpers and default pen, brush and font, then performs inherited Destroy

Destroy - destructor for TFPCustomCanvas: frees helpers and default pen, brush and font, then performs inherited Destroy

Overrides ancestor destructor; may be overridden by descendants

TPersistent.Destroy
LockCanvas, ensuring no changes can be made UnlockCanvas - frees a previously locked Canvas Returns True if Canvas is Locked CreateFont - returns a Font that has been created CreatePen - returns a Pen that has been created CreateBrush - returns a Brush that has been created Writes the Text string at the position X, Y on the canvas and leaves the pen at the end of the text GetTextSize - finds the size (stored as w: width, h: height) of the specified text GetTextHeight - returns height of the specified text GetTextWidth - returns width of the specified text Ellipse - method to draw an ellipse to fit the given rectangle EllipseC - method to draw an ellipse given starting coordinates and radii for x- and y- directions Method to draw a Polygon, ie a closed figure with the last point joined to the first Method to draw a Polyline, ie a figure connecting the points in sequence, but not necessarily producing a closed figure Method to draw a Rectangle within the specified bounds, or given the limiting coordinates Method to FloodFill an area with colour, starting at the given point Method to Clear the Canvas Moves cursor to new position X1, Y1 without drawing anything LineTo - draw a line between the current Pen position and the specified point Draw a Line between the first and second points CopyRect - copies a rectangle from SourceRect to the specified position on a nominated Canvas Draw the nominated Image at the specified location StretchDraw - steretch out the image being drawn to fit the supplied location and size Erase - clear away the drawing The Font to be used for text in this Canvas The Pen to be used for writing in this Canvas The Brush for the current Canvas The Interpolation algorithm to be used for connecting the indeterminate areas between specified points in an Image The Colors to be used for this Canvas ClipRect - the rectangle to be used for clipping If True, then Clippingis being applied to images on this Canvas PenPos - the current position of the Pen The Height of the Canvas The Width of the Canvas ManageResources - if True, then resource management is being used TFPCustomDrawFont - base class for drawing fonts DoDrawText - method for drawing text DoGetTextSize - method for finding size of text DoGetTextHeight - returns height of text DoGetTextWidth - returns width of text TFPEmptyFont - dummy class for empty font TFPCustomDrawPen - base class for pen used for drawing figures DoDrawLine - draw a line from first to second point DoPolyline - draw a Polyline connecting points of the array in sequence, and closing the figure if Close is True DoEllipse - draws an ellipse within the specified space DoRectangle - draws a rectangle with the given coordinates TFPEmptyPen - dummy class for empty pen TFPCustomDrawBrush - base class for brush used for drawing DoRectangle - draws a rectangle within the given bounds DoEllipse - draws an elipse to fit the given bounds DoFloodFill - Fllod-Fill an area with colour, starting at the given point DoPolygon - produce a closed Polygon using the given array of points TFPEmptyBrush - dummy class for empty brush