RAD Studio VCL Reference
ContentsIndex
TMetafileCanvas Members Public Methods
Public Methods
 
Name 
Description 
 
Responds after the last constructor has executed. 
 
Arc 
Draws an arc on the image along the perimeter of the ellipse bounded by the specified rectangle. 
 
Copies the contents of another, similar object. 
 
Responds before the first destructor executes. 
 
Copies a portion of a bitmap onto a rectangle on the canvas, replacing one of the colors of the bitmap with the brush of the canvas. 
 
Draws a closed figure represented by the intersection of a line and an ellipse. 
 
Returns a pointer to the runtime type information (RTTI) table for the object type. 
 
Returns a string indicating the type of the object instance (as opposed to the type of the variable passed as an argument). 
 
Determines whether an object is of a specific type. 
 
Returns the type of the immediate ancestor of a class. 
 
Returns the class reference for the object's class. 
 
Performs finalization on long strings, variants, and interface variables within a class. 
 
Copies part of an image from another canvas into the canvas. 
 
Creates an instance of TMetafileCanvas and acquires a handle to a metafile device context. 
 
Creates an instance of TMetafileCanvas and acquires a handle to a metafile device context with a comment string. 
 
Provides the interface for a method that processes message records. 
 
Destroys an instance of the TMetafileCanvas after transferring the image to the TMetafile object that was passed to the constructor. 
 
Calls message-handling methods for the object, based on the contents of the Message parameter. 
 
Draw 
Renders the graphic specified by the Graphic parameter on the canvas at the location given by the coordinates (X, Y). 
 
Draws a rectangle in the style used to indicate that the object inside the rectangle has focus. 
 
This is the overview for the Ellipse method overload. 
 
Returns the address of a published object field. 
 
Fills the specified rectangle on the canvas using the current brush. 
 
Fills an area of the canvas using the current brush. 
 
Draws a rectangle using the Brush of the canvas to draw the border. 
 
Free 
Destroys an object and frees its associated memory, if necessary. 
 
Deallocates memory allocated by a previous call to the System::TObject::NewInstance method. 
 
Retrieves a specified interface. 
 
Returns the entry for a specific interface implemented in a class. 
 
Returns a pointer to a structure containing all of the interfaces implemented by a given class. 
 
Returns the name of the object as it appears in the Object Inspector. 
 
Indicates whether the TCanvas object has acquired a handle to a device context. 
 
Determines the relationship of two object types. 
 
Initializes a newly allocated object instance to all zeros and initializes the instance's virtual method table pointer. 
 
Returns the size in bytes of each instance of the object type. 
 
Draws a line on the canvas from PenPos to the point specified by X and Y, and sets the pen position to (X, Y). 
 
Lock 
Prevents other threads from drawing on the canvas. 
 
This is MethodAddress, a member of class TObject. 
 
This is MethodName, a member of class TObject. 
 
Changes the current drawing position to the point (X,Y). 
 
Allocates memory for an instance of an object type and returns a pointer to that new instance. 
 
Pie 
Draws a pie-shaped the section of the ellipse bounded by the rectangle (X1, Y1) and (X2, Y2) on the canvas. 
 
Draws a set of Bezier curves. 
 
Draws a set of Bezier curves and updates the value of PenPos
 
Draws a series of lines on the canvas connecting the points passed in and closing the shape by drawing a line from the last point to the first point. 
 
Draws a series of lines on the canvas with the current pen, connecting each of the points passed to it in Points. 
 
This is the overview for the Rectangle method overload. 
 
Deselects the Pen, Brush, and Font from the device context. 
 
Draws a rectangle with rounded corners on the canvas. 
 
Handles exceptions in methods declared using the safecall calling convention. 
 
Draws the graphic specified by the Graphic parameter in the rectangle specified by the Rect parameter. 
 
Returns the width and height, in pixels, of a string rendered in the current font. 
 
Returns the height, in pixels, of a string rendered in the current font. 
 
Writes a string on the canvas, starting at the point (X,Y), and then updates the PenPos to the end of the string. 
 
This is the overview for the TextRect method overload. 
 
Returns the width, in pixels, of a string rendered in the current font. 
 
Locks the canvas if it is currently unlocked. 
 
Decreases the LockCount property, allowing other threads to execute when LockCount reaches 0. 
Copyright(C) 2008 CodeGear(TM). All Rights Reserved.