Interface IGDIPlus.IGPGraphics
From Mitov Wiki Doc
This is a Beta Read Only version of this page. Please review and send recommendations to mitov@mitov.com. We will enable the editing as soon as we are happy with the overall Wiki site.
Package: SignalLabBasicPkg
Unit: IGDIPlus
Contents |
Syntax
Delphi:
type IGPGraphics = interface
Summary
Interface to a TGPGraphics object.
Description
Defines interface to a TGPGraphics object.
The TGPGraphics class provides methods for drawing lines, curves, figures, images, and text. A TGPGraphics object stores attributes of the display device and attributes of the items to be drawn.
Properties
- RenderingOrigin - Sets or gets the rendering origin of the TGPGraphics object. The rendering origin is used to set the dither origin for 8-bits-per-pixel and 16-bits-per-pixel dithering and is also used to set the origin for hatch brushes.
- CompositingMode - Sets or gets the compositing mode of the TGPGraphics object.
- CompositingQuality - Sets or gets the compositing quality of the TGPGraphics object.
- TextRenderingHint - Sets or gets the text rendering mode of the TGPGraphics object.
- TextContrast - Sets or gets the contrast value of this Graphics object.
- InterpolationMode - Sets or gets the interpolation mode of the TGPGraphics object.
- SmoothingMode - Sets or gets the rendering quality of the TGPGraphics object.
- PixelOffsetMode - Sets or gets the pixel offset mode of the TGPGraphics object.
- Transform - Gets or sets the world transformation matrix for the object.
- Clip - Returns the clipping region of the TGPGraphics object.
- PageUnit - Sets or gets the unit of measure for the TGPGraphics object.
- PageScale - Sets or gets the scaling factor for the page transformation of the TGPGraphics object. The page transformation converts page coordinates to device coordinates.
- DpiX - Returns the horizontal resolution, in dots per inch, of the display device associated with the TGPGraphics object.
- DpiY - Returns the vertical resolution, in dots per inch, of the display device associated with the TGPGraphics object.
Methods
- function GetNativeGraphics() : GpGraphics
- function Flush(intention : TGPFlushIntention) : TGPGraphics - Flushes all pending graphics operations.
- function GetHDC() : HDC - Returns a handle to the device context associated with this TGPGraphics object.
- function ReleaseHDC(hdc : HDC) : TGPGraphics - Releases a device context handle obtained by a previous call to the TGPGraphics.GetHDC method of this Graphics object.
- function SetRenderingOrigin(point : TGPPoint) : TGPGraphics - Sets the rendering origin of the TGPGraphics object. The rendering origin is used to set the dither origin for 8-bits-per-pixel and 16-bits-per-pixel dithering and is also used to set the origin for hatch brushes.
- procedure SetRenderingOriginProp(point : TGPPoint)
- function GetRenderingOrigin() : TGPPoint - Returns the rendering origin currently set for the TGPGraphics object.
- function SetCompositingMode(compositingMode : TGPCompositingMode) : TGPGraphics - Sets the compositing mode of the TGPGraphics object.
- procedure SetCompositingModeProp(compositingMode : TGPCompositingMode)
- function GetCompositingMode() : TGPCompositingMode - Returns the compositing mode currently set for the TGPGraphics object.
- function SetCompositingQuality(compositingQuality : TGPCompositingQuality) : TGPGraphics - Sets the compositing quality of the TGPGraphics object.
- procedure SetCompositingQualityProp(compositingQuality : TGPCompositingQuality)
- function GetCompositingQuality() : TGPCompositingQuality - Returns the compositing quality currently set for the TGPGraphics object.
- function SetTextRenderingHint(newMode : TGPTextRenderingHint) : TGPGraphics - Sets the text rendering mode of the TGPGraphics object.
- procedure SetTextRenderingHintProp(newMode : TGPTextRenderingHint)
- function GetTextRenderingHint() : TGPTextRenderingHint - Returns the text rendering mode currently set for the TGPGraphics object.
- function SetTextContrast(contrast : Cardinal) : TGPGraphics - Sets the contrast value of this Graphics object.
- procedure SetTextContrastProp(contrast : Cardinal)
- function GetTextContrast() : Cardinal - Returns the contrast value currently set for the TGPGraphics object.
- function GetInterpolationMode() : TGPInterpolationMode - Returns the interpolation mode currently set for the TGPGraphics object.
- function SetInterpolationMode(interpolationMode : TGPInterpolationMode) : TGPGraphics - Sets the interpolation mode of the TGPGraphics object.
- procedure SetInterpolationModeProp(interpolationMode : TGPInterpolationMode)
- function GetSmoothingMode() : TGPSmoothingMode - Returns the current smoothing (antialiasing) mode.
- function SetSmoothingMode(smoothingMode : TGPSmoothingMode) : TGPGraphics - Sets the rendering quality of the TGPGraphics object.
- procedure SetSmoothingModeProp(smoothingMode : TGPSmoothingMode)
- function GetPixelOffsetMode() : TGPPixelOffsetMode - Returns the pixel offset mode currently set for the GTPGraphics object.
- function SetPixelOffsetMode(pixelOffsetMode : TGPPixelOffsetMode) : TGPGraphics - Sets the pixel offset mode of the TGPGraphics object.
- procedure SetPixelOffsetModeProp(pixelOffsetMode : TGPPixelOffsetMode)
- function SetTransform(matrix : IGPMatrix) : TGPGraphics - Sets the world transformation of the object.
- procedure SetTransformProp(matrix : IGPMatrix)
- function ResetTransform() : TGPGraphics - Sets the world transformation matrix of the object to the identity matrix.
- function MultiplyTransform(matrix : IGPMatrix; order : TGPMatrixOrder) : TGPGraphics - Updates the world transformation matrix of the object with the product of itself and another matrix.
- function TranslateTransform(dx : Single; dy : Single; order : TGPMatrixOrder) : TGPGraphics - Updates the object's world transformation matrix with the product of itself and a translation matrix.
- function ScaleTransform(sx : Single; sy : Single; order : TGPMatrixOrder) : TGPGraphics - Sets the object's world transformation matrix equal to the product of itself and a scaling matrix.
- function RotateTransform(angle : Single; order : TGPMatrixOrder) : TGPGraphics - Updates the world transformation matrix of the object with the product of itself and a rotation matrix.
- function GetTransform() : IGPMatrix - Gets the world transformation matrix currently set for the object.
- function SetPageUnit(unit_ : TGPUnit) : TGPGraphics - Sets the unit of measure for the TGPGraphics object.
- procedure SetPageUnitProp(unit_ : TGPUnit)
- function SetPageScale(scale : Single) : TGPGraphics - Sets the scaling factor for the page transformation of the TGPGraphics object. The page transformation converts page coordinates to device coordinates.
- procedure SetPageScaleProp(scale : Single)
- function GetPageUnit() : TGPUnit - Returns the unit of measure currently set for the TGPGraphics object.
- function GetPageScale() : Single - Returns the scaling factor currently set for the page transformation of the TGPGraphics object.
- function GetDpiX() : Single - Returns the horizontal resolution, in dots per inch, of the display device associated with the TGPGraphics object.
- function GetDpiY() : Single - Returns the vertical resolution, in dots per inch, of the display device associated with the TGPGraphics object.
- function TransformPoints(destSpace : TGPCoordinateSpace; srcSpace : TGPCoordinateSpace; var pts : array) : TGPGraphics
- function TransformPoints(destSpace : TGPCoordinateSpace; srcSpace : TGPCoordinateSpace; var pts : array) : TGPGraphics
- function GetNearestColor(AColor : TGPColor) : TGPColor - Returns the nearest color to the color that is passed in. This method works on 8-bits per pixel or lower display devices for which there is an 8-bit color palette.
- function DrawLineF(pen : IGPPen; x1 : Single; y1 : Single; x2 : Single; y2 : Single) : TGPGraphics - Draws a line with a pen.
- function DrawLineF(pen : IGPPen; pt1 : TGPPointF; pt2 : TGPPointF) : TGPGraphics - Draws a line with a pen.
- function DrawLinesF(pen : IGPPen; points : array) : TGPGraphics
- function DrawLine(pen : IGPPen; x1 : Integer; y1 : Integer; x2 : Integer; y2 : Integer) : TGPGraphics - Draws a line with a pen.
- function DrawLine(pen : IGPPen; pt1 : TGPPoint; pt2 : TGPPoint) : TGPGraphics - Draws a line with a pen.
- function DrawLines(pen : IGPPen; points : array) : TGPGraphics
- function DrawArcF(pen : IGPPen; x : Single; y : Single; width : Single; height : Single; startAngle : Single; sweepAngle : Single) : TGPGraphics - Draws an arc with a pen.
- function DrawArcF(pen : IGPPen; rect : TGPRectF; startAngle : Single; sweepAngle : Single) : TGPGraphics - Draws an arc with a pen.
- function DrawArc(pen : IGPPen; x : Integer; y : Integer; width : Integer; height : Integer; startAngle : Single; sweepAngle : Single) : TGPGraphics - Draws an arc with a pen.
- function DrawArc(pen : IGPPen; rect : TGPRect; startAngle : Single; sweepAngle : Single) : TGPGraphics - Draws an arc with a pen.
- function DrawBezierF(pen : IGPPen; x1 : Single; y1 : Single; x2 : Single; y2 : Single; x3 : Single; y3 : Single; x4 : Single; y4 : Single) : TGPGraphics - Draws a Bézier spline.
- function DrawBezierF(pen : IGPPen; pt1 : TGPPointF; pt2 : TGPPointF; pt3 : TGPPointF; pt4 : TGPPointF) : TGPGraphics - Draws a Bézier spline.
- function DrawBeziersF(pen : IGPPen; points : array) : TGPGraphics
- function DrawBezier(pen : IGPPen; x1 : Integer; y1 : Integer; x2 : Integer; y2 : Integer; x3 : Integer; y3 : Integer; x4 : Integer; y4 : Integer) : TGPGraphics - Draws a Bézier spline.
- function DrawBezier(pen : IGPPen; pt1 : TGPPoint; pt2 : TGPPoint; pt3 : TGPPoint; pt4 : TGPPoint) : TGPGraphics - Draws a Bézier spline.
- function DrawBeziers(pen : IGPPen; points : array) : TGPGraphics
- function DrawRectangleF(pen : IGPPen; rect : TGPRectF) : TGPGraphics - Draws a rectangle with a pen.
- function DrawRectangleF(pen : IGPPen; x : Single; y : Single; width : Single; height : Single) : TGPGraphics - Draws a rectangle with a pen.
- function DrawRectanglesF(pen : IGPPen; rects : array) : TGPGraphics
- function DrawRectangle(pen : IGPPen; rect : TGPRect) : TGPGraphics - Draws a rectangle with a pen.
- function DrawRectangle(pen : IGPPen; x : Integer; y : Integer; width : Integer; height : Integer) : TGPGraphics - Draws a rectangle with a pen.
- function DrawRectangles(pen : IGPPen; rects : array) : TGPGraphics
- function DrawRectangleF(pen : IGPPen; brush : IGPBrush; rect : TGPRectF) : TGPGraphics - Draws a rectangle with a pen and brush.
- function DrawRectangleF(pen : IGPPen; brush : IGPBrush; x : Single; y : Single; width : Single; height : Single) : TGPGraphics - Draws a rectangle with a pen and brush.
- function DrawRectanglesF(pen : IGPPen; brush : IGPBrush; rects : array) : TGPGraphics
- function DrawRectangle(pen : IGPPen; brush : IGPBrush; rect : TGPRect) : TGPGraphics - Draws a rectangle with a pen and brush.
- function DrawRectangle(pen : IGPPen; brush : IGPBrush; x : Integer; y : Integer; width : Integer; height : Integer) : TGPGraphics - Draws a rectangle with a pen and brush.
- function DrawRectangles(pen : IGPPen; brush : IGPBrush; rects : array) : TGPGraphics
- function DrawRoundRectangleF(pen : IGPPen; rect : TGPRectF; ACornerSize : TGPSizeF) : TGPGraphics - Draws a round rectangle with a pen.
- function DrawRoundRectangle(pen : IGPPen; rect : TGPRect; ACornerSize : TGPSize) : TGPGraphics - Draws a round rectangle with a pen.
- function DrawRoundRectangleF(pen : IGPPen; brush : IGPBrush; rect : TGPRectF; ACornerSize : TGPSizeF) : TGPGraphics - Draws a round rectangle with a pen and brush.
- function DrawRoundRectangle(pen : IGPPen; brush : IGPBrush; rect : TGPRect; ACornerSize : TGPSize) : TGPGraphics - Draws a round rectangle with a pen and brush.
- function DrawEllipseF(pen : IGPPen; rect : TGPRectF) : TGPGraphics - Draws an ellipse a pen.
- function DrawEllipseF(pen : IGPPen; x : Single; y : Single; width : Single; height : Single) : TGPGraphics - Draws an ellipse a pen.
- function DrawEllipsesF(pen : IGPPen; rects : array) : TGPGraphics
- function DrawEllipse(pen : IGPPen; rect : TGPRect) : TGPGraphics - Draws an ellipse a pen.
- function DrawEllipse(pen : IGPPen; x : Integer; y : Integer; width : Integer; height : Integer) : TGPGraphics - Draws an ellipse a pen.
- function DrawEllipses(pen : IGPPen; rects : array) : TGPGraphics
- function DrawEllipseF(pen : IGPPen; brush : IGPBrush; rect : TGPRectF) : TGPGraphics - Draws an ellipse with a pen and brush.
- function DrawEllipseF(pen : IGPPen; brush : IGPBrush; x : Single; y : Single; width : Single; height : Single) : TGPGraphics - Draws an ellipse with a pen and brush.
- function DrawEllipsesF(pen : IGPPen; brush : IGPBrush; rects : array) : TGPGraphics
- function DrawEllipse(pen : IGPPen; brush : IGPBrush; rect : TGPRect) : TGPGraphics - Draws an ellipse with a pen and brush.
- function DrawEllipse(pen : IGPPen; brush : IGPBrush; x : Integer; y : Integer; width : Integer; height : Integer) : TGPGraphics - Draws an ellipse with a pen and brush.
- function DrawEllipses(pen : IGPPen; brush : IGPBrush; rects : array) : TGPGraphics
- function DrawPieF(pen : IGPPen; rect : TGPRectF; startAngle : Single; sweepAngle : Single) : TGPGraphics - Draws a Pie with a pen.
- function DrawPieF(pen : IGPPen; x : Single; y : Single; width : Single; height : Single; startAngle : Single; sweepAngle : Single) : TGPGraphics - Draws a Pie with a pen.
- function DrawPie(pen : IGPPen; rect : TGPRect; startAngle : Single; sweepAngle : Single) : TGPGraphics - Draws a Pie with a pen.
- function DrawPie(pen : IGPPen; x : Integer; y : Integer; width : Integer; height : Integer; startAngle : Single; sweepAngle : Single) : TGPGraphics - Draws a Pie with a pen.
- function DrawPieF(pen : IGPPen; brush : IGPBrush; rect : TGPRectF; startAngle : Single; sweepAngle : Single) : TGPGraphics - Draws a Pie with a pen and brush.
- function DrawPieF(pen : IGPPen; brush : IGPBrush; x : Single; y : Single; width : Single; height : Single; startAngle : Single; sweepAngle : Single) : TGPGraphics - Draws a Pie with a pen and brush.
- function DrawPie(pen : IGPPen; brush : IGPBrush; rect : TGPRect; startAngle : Single; sweepAngle : Single) : TGPGraphics - Draws a Pie with a pen and brush.
- function DrawPie(pen : IGPPen; brush : IGPBrush; x : Integer; y : Integer; width : Integer; height : Integer; startAngle : Single; sweepAngle : Single) : TGPGraphics - Draws a Pie with a pen and brush.
- function DrawPolygonF(pen : IGPPen; points : array) : TGPGraphics
- function DrawPolygon(pen : IGPPen; points : array) : TGPGraphics
- function DrawPolygonF(pen : IGPPen; brush : IGPBrush; points : array) : TGPGraphics
- function DrawPolygonF(pen : IGPPen; brush : IGPBrush; points : array; fillMode : TGPFillMode) : TGPGraphics
- function DrawPolygon(pen : IGPPen; brush : IGPBrush; points : array) : TGPGraphics
- function DrawPolygon(pen : IGPPen; brush : IGPBrush; points : array; fillMode : TGPFillMode) : TGPGraphics
- function DrawPath(pen : IGPPen; path : IGPGraphicsPath) : TGPGraphics - Draws a path with a pen.
- function DrawPath(pen : IGPPen; brush : IGPBrush; path : IGPGraphicsPath) : TGPGraphics - Draws a path with a pen and brush.
- function DrawCurveF(pen : IGPPen; points : array) : TGPGraphics
- function DrawCurveF(pen : IGPPen; points : array; tension : Single) : TGPGraphics
- function DrawCurveF(pen : IGPPen; points : array; offset : Integer; numberOfSegments : Integer; tension : Single) : TGPGraphics
- function DrawCurve(pen : IGPPen; points : array) : TGPGraphics
- function DrawCurve(pen : IGPPen; points : array; tension : Single) : TGPGraphics
- function DrawCurve(pen : IGPPen; points : array; offset : Integer; numberOfSegments : Integer; tension : Single) : TGPGraphics
- function DrawClosedCurveF(pen : IGPPen; points : array) : TGPGraphics
- function DrawClosedCurveF(pen : IGPPen; points : array; tension : Single) : TGPGraphics
- function DrawClosedCurve(pen : IGPPen; points : array) : TGPGraphics
- function DrawClosedCurve(pen : IGPPen; points : array; tension : Single) : TGPGraphics
- function DrawClosedCurveF(pen : IGPPen; brush : IGPBrush; points : array) : TGPGraphics
- function DrawClosedCurveF(pen : IGPPen; brush : IGPBrush; points : array; fillMode : TGPFillMode; tension : Single) : TGPGraphics
- function DrawClosedCurve(pen : IGPPen; brush : IGPBrush; points : array) : TGPGraphics
- function DrawClosedCurve(pen : IGPPen; brush : IGPBrush; points : array; fillMode : TGPFillMode; tension : Single) : TGPGraphics
- function Clear(color : TGPColor) : TGPGraphics - Clears the TGPGraphics object to a specified color.
- function FillRectangleF(brush : IGPBrush; rect : TGPRectF) : TGPGraphics - Fills a rectangle with a brush.
- function FillRectangleF(brush : IGPBrush; x : Single; y : Single; width : Single; height : Single) : TGPGraphics - Fills a rectangle with a brush.
- function FillRectanglesF(brush : IGPBrush; rects : array) : TGPGraphics
- function FillRectangle(brush : IGPBrush; rect : TGPRect) : TGPGraphics - Fills a rectangle with a brush.
- function FillRectangle(brush : IGPBrush; x : Integer; y : Integer; width : Integer; height : Integer) : TGPGraphics - Fills a rectangle with a brush.
- function FillRectangles(brush : IGPBrush; rects : array) : TGPGraphics
- function FillRoundRectangleF(brush : IGPBrush; rect : TGPRectF; ACornerSize : TGPSizeF) : TGPGraphics - Fills a round rectangle with a brush.
- function FillRoundRectangle(brush : IGPBrush; rect : TGPRect; ACornerSize : TGPSize) : TGPGraphics - Fills a round rectangle with a brush.
- function FillPolygonF(brush : IGPBrush; points : array) : TGPGraphics
- function FillPolygonF(brush : IGPBrush; points : array; fillMode : TGPFillMode) : TGPGraphics
- function FillPolygon(brush : IGPBrush; points : array) : TGPGraphics
- function FillPolygon(brush : IGPBrush; points : array; fillMode : TGPFillMode) : TGPGraphics
- function FillEllipseF(brush : IGPBrush; rect : TGPRectF) : TGPGraphics - Fills an ellipse with a brush.
- function FillEllipseF(brush : IGPBrush; x : Single; y : Single; width : Single; height : Single) : TGPGraphics - Fills an ellipse with a brush.
- function FillEllipsesF(brush : IGPBrush; rects : array) : TGPGraphics
- function FillEllipse(brush : IGPBrush; rect : TGPRect) : TGPGraphics - Fills an ellipse with a brush.
- function FillEllipse(brush : IGPBrush; x : Integer; y : Integer; width : Integer; height : Integer) : TGPGraphics - Fills an ellipse with a brush.
- function FillEllipses(brush : IGPBrush; rects : array) : TGPGraphics
- function FillPieF(brush : IGPBrush; rect : TGPRectF; startAngle : Single; sweepAngle : Single) : TGPGraphics - Fills a Pie with a brush.
- function FillPieF(brush : IGPBrush; x : Single; y : Single; width : Single; height : Single; startAngle : Single; sweepAngle : Single) : TGPGraphics - Fills a Pie with a brush.
- function FillPie(brush : IGPBrush; rect : TGPRect; startAngle : Single; sweepAngle : Single) : TGPGraphics - Fills a Pie with a brush.
- function FillPie(brush : IGPBrush; x : Integer; y : Integer; width : Integer; height : Integer; startAngle : Single; sweepAngle : Single) : TGPGraphics - Fills a Pie with a brush.
- function FillPath(brush : IGPBrush; path : IGPGraphicsPath) : TGPGraphics - Fills a graphics path with a brush.
- function FillClosedCurveF(brush : IGPBrush; points : array) : TGPGraphics
- function FillClosedCurveF(brush : IGPBrush; points : array; fillMode : TGPFillMode; tension : Single) : TGPGraphics
- function FillClosedCurve(brush : IGPBrush; points : array) : TGPGraphics
- function FillClosedCurve(brush : IGPBrush; points : array; fillMode : TGPFillMode; tension : Single) : TGPGraphics
- function FillRegion(brush : IGPBrush; region : IGPRegion) : TGPGraphics - Fills a region with a brush.
- function DrawStringF(string_ : WideString; font : IGPFont; layoutRect : TGPRectF; stringFormat : IGPStringFormat; brush : IGPBrush) : TGPGraphics - Draws a string based on a font, a layout rectangle, and a format.
- function DrawStringF(string_ : WideString; font : IGPFont; layoutRect : TGPRectF; brush : IGPBrush) : TGPGraphics - Draws a string based on a font, and a layout rectangle.
- function DrawStringF(string_ : WideString; font : IGPFont; origin : TGPPointF; brush : IGPBrush) : TGPGraphics - Draws a string based on a font and an origin for the string.
- function DrawStringF(string_ : WideString; font : IGPFont; origin : TGPPointF; stringFormat : IGPStringFormat; brush : IGPBrush) : TGPGraphics - Draws a string based on a font, a string origin, and a format.
- function DrawString(string_ : WideString; font : IGPFont; layoutRect : TGPRect; stringFormat : IGPStringFormat; brush : IGPBrush) : TGPGraphics - Draws a string based on a font, a layout rectangle, and a format.
- function DrawString(string_ : WideString; font : IGPFont; layoutRect : TGPRect; brush : IGPBrush) : TGPGraphics - Draws a string based on a font, and a layout rectangle.
- function DrawString(string_ : WideString; font : IGPFont; origin : TGPPoint; brush : IGPBrush) : TGPGraphics - Draws a string based on a font and an origin for the string.
- function DrawString(string_ : WideString; font : IGPFont; origin : TGPPoint; stringFormat : IGPStringFormat; brush : IGPBrush) : TGPGraphics - Draws a string based on a font, a string origin, and a format.
- function GetStringSizeF(string_ : WideString; font : IGPFont; stringFormat : IGPStringFormat) : TGPSizeF - Returns the extent of the string in the specified font and format.
- function GetStringSizeF(string_ : WideString; font : IGPFont; layoutRectSize : TGPSizeF; stringFormat : IGPStringFormat; codepointsFitted : PInteger; linesFilled : PInteger) : TGPSizeF - Returns the extent of the string in the specified font and layout rectangle.
- function GetStringBoundingBoxF(string_ : WideString; font : IGPFont; layoutRect : TGPRectF; stringFormat : IGPStringFormat; codepointsFitted : PInteger; linesFilled : PInteger) : TGPRectF - Returns the extent of the string in the specified font and layout rectangle.
- function GetStringBoundingBoxF(string_ : WideString; font : IGPFont; origin : TGPPointF; stringFormat : IGPStringFormat) : TGPRectF - Returns the extent of the string in the specified font and layout rectangle.
- function GetStringBoundingBoxF(string_ : WideString; font : IGPFont; layoutRect : TGPRectF) : TGPRectF - Returns the extent of the string in the specified font and layout rectangle.
- function GetStringBoundingBoxF(string_ : WideString; font : IGPFont; origin : TGPPointF) : TGPRectF - Returns the extent of the string in the specified font and layout rectangle.
- function MeasureStringF(string_ : WideString; font : IGPFont; stringFormat : IGPStringFormat) : TGPSizeF - Returns the extent of the string in the specified font and format.
- function MeasureStringF(string_ : WideString; font : IGPFont; layoutRectSize : TGPSizeF; stringFormat : IGPStringFormat; codepointsFitted : PInteger; linesFilled : PInteger) : TGPSizeF - Returns the extent of the string in the specified font and layout rectangle.
- function MeasureStringF(string_ : WideString; font : IGPFont; layoutRect : TGPRectF; stringFormat : IGPStringFormat; codepointsFitted : PInteger; linesFilled : PInteger) : TGPRectF - Returns the extent of the string in the specified font and layout rectangle.
- function MeasureStringF(string_ : WideString; font : IGPFont; origin : TGPPointF; stringFormat : IGPStringFormat) : TGPRectF - Returns the extent of the string in the specified font and layout rectangle.
- function MeasureStringF(string_ : WideString; font : IGPFont; layoutRect : TGPRectF) : TGPRectF - Returns the extent of the string in the specified font and layout rectangle.
- function MeasureStringF(string_ : WideString; font : IGPFont; origin : TGPPointF) : TGPRectF - Returns the extent of the string in the specified font and layout rectangle.
- function MeasureCharacterRangesF(string_ : WideString; font : IGPFont; layoutRect : TGPRectF; stringFormat : IGPStringFormat) : TGPRegionArray - Returns a set of regions each of which bounds a range of character positions within a string.
- function MeasureCharacterRangesF(string_ : WideString; font : IGPFont; origin : TGPPointF; stringFormat : IGPStringFormat) : TGPRegionArray - Returns a set of regions each of which bounds a range of character positions within a string.
- function MeasureCharacterRangesF(string_ : WideString; font : IGPFont; stringFormat : IGPStringFormat) : TGPRegionArray - Returns a set of regions each of which bounds a range of character positions within a string.
- function MeasureCharacterRangesF(string_ : WideString; font : IGPFont; layoutRect : TGPRectF; ranges : array; stringFormat : IGPStringFormat) : TGPRegionArray
- function MeasureCharacterRangesF(string_ : WideString; font : IGPFont; origin : TGPPointF; ranges : array; stringFormat : IGPStringFormat) : TGPRegionArray
- function MeasureCharacterRangesF(string_ : WideString; font : IGPFont; ranges : array; stringFormat : IGPStringFormat) : TGPRegionArray
- function DrawDriverString(text : PUINT16; length : Integer; font : IGPFont; brush : IGPBrush; positions : PGPPointF; flags : Integer; matrix : IGPMatrix) : TGPGraphics - Draws characters at the specified positions.
- function GetDriverStringBoundingBoxF(text : PUINT16; length : Integer; font : IGPFont; positions : PGPPointF; flags : Integer; matrix : IGPMatrix) : TGPRectF - Returns the the bounding box for the specified characters and their corresponding positions.
- function DrawCachedBitmap(cb : IGPCachedBitmap; x : Integer; y : Integer) : TGPGraphics - Draws the image stored in a TGPCachedBitmap object.
- function DrawImageF(image : IGPImage; point : TGPPointF) : TGPGraphics - Draws image at position.
- function DrawImageF(image : IGPImage; x : Single; y : Single) : TGPGraphics - Draws image at position.
- function DrawImageF(image : IGPImage; rect : TGPRectF) : TGPGraphics - Draws image at a specified rectangle.
- function DrawImageF(image : IGPImage; x : Single; y : Single; width : Single; height : Single) : TGPGraphics - Draws image at a position and with size.
- function DrawImage(image : IGPImage; point : TGPPoint) : TGPGraphics - Draws image at position.
- function DrawImage(image : IGPImage; x : Integer; y : Integer) : TGPGraphics - Draws image at position.
- function DrawImage(image : IGPImage; rect : TGPRect) : TGPGraphics - Draws image at a specified rectangle.
- function DrawImage(image : IGPImage; x : Integer; y : Integer; width : Integer; height : Integer) : TGPGraphics - Draws image at a position and with size.
- function DrawImageF(image : IGPImage; point : TGPPointF; Opacity : Single) : TGPGraphics - Draws image at position and with opacity.
- function DrawImageF(image : IGPImage; x : Single; y : Single; Opacity : Single) : TGPGraphics - Draws image at position and with opacity.
- function DrawImageF(image : IGPImage; rect : TGPRectF; Opacity : Single) : TGPGraphics - Draws image at a specified rectangle and opacity.
- function DrawImageF(image : IGPImage; x : Single; y : Single; width : Single; height : Single; Opacity : Single) : TGPGraphics - Draws image at a position and with size and opacity.
- function DrawImage(image : IGPImage; point : TGPPoint; Opacity : Single) : TGPGraphics - Draws image at position and with opacity.
- function DrawImage(image : IGPImage; x : Integer; y : Integer; Opacity : Single) : TGPGraphics - Draws image at position and with opacity.
- function DrawImage(image : IGPImage; rect : TGPRect; Opacity : Single) : TGPGraphics - Draws image at a specified rectangle and opacity.
- function DrawImage(image : IGPImage; x : Integer; y : Integer; width : Integer; height : Integer; Opacity : Single) : TGPGraphics - Draws image at a position and with size and opacity.
- function DrawImageF(image : IGPImage; destPoints : array) : TGPGraphics
- function DrawImage(image : IGPImage; destPoints : array) : TGPGraphics
- function DrawImageF(image : IGPImage; x : Single; y : Single; srcx : Single; srcy : Single; srcwidth : Single; srcheight : Single; srcUnit : TGPUnit) : TGPGraphics - Draws image with multiple settings.
- function DrawImageF(image : IGPImage; destRect : TGPRectF; srcx : Single; srcy : Single; srcwidth : Single; srcheight : Single; srcUnit : TGPUnit; imageAttributes : IGPImageAttributes; callback : TGPDrawImageAbortProc) : TGPGraphics - Draws image with multiple settings and callback.
- function DrawImageF(image : IGPImage; destPoints : array; srcx : Single; srcy : Single; srcwidth : Single; srcheight : Single; srcUnit : TGPUnit; imageAttributes : IGPImageAttributes; callback : TGPDrawImageAbortProc) : TGPGraphics
- function DrawImage(image : IGPImage; x : Integer; y : Integer; srcx : Integer; srcy : Integer; srcwidth : Integer; srcheight : Integer; srcUnit : TGPUnit) : TGPGraphics - Draws image with multiple settings.
- function DrawImage(image : IGPImage; destRect : TGPRect; srcx : Integer; srcy : Integer; srcwidth : Integer; srcheight : Integer; srcUnit : TGPUnit; imageAttributes : IGPImageAttributes; callback : TGPDrawImageAbortProc) : TGPGraphics - Draws image with multiple settings and callback.
- function DrawImage(image : IGPImage; destPoints : array; srcx : Integer; srcy : Integer; srcwidth : Integer; srcheight : Integer; srcUnit : TGPUnit; imageAttributes : IGPImageAttributes; callback : TGPDrawImageAbortProc) : TGPGraphics
- function EnumerateMetafileF(metafile : IGPMetafile; destPoint : TGPPointF; callback : TGPEnumerateMetafileProc; imageAttributes : IGPImageAttributes) : TGPGraphics - Registers an an application-defined callback function for each record in a specified metafile.
- function EnumerateMetafile(metafile : IGPMetafile; destPoint : TGPPoint; callback : TGPEnumerateMetafileProc; imageAttributes : IGPImageAttributes) : TGPGraphics - Registers an an application-defined callback function for each record in a specified metafile.
- function EnumerateMetafileF(metafile : IGPMetafile; destRect : TGPRectF; callback : TGPEnumerateMetafileProc; imageAttributes : IGPImageAttributes) : TGPGraphics - Registers an an application-defined callback function for each record in a specified metafile.
- function EnumerateMetafile(metafile : IGPMetafile; destRect : TGPRect; callback : TGPEnumerateMetafileProc; imageAttributes : IGPImageAttributes) : TGPGraphics - Registers an an application-defined callback function for each record in a specified metafile.
- function EnumerateMetafileF(metafile : IGPMetafile; destPoints : array; callback : TGPEnumerateMetafileProc; imageAttributes : IGPImageAttributes) : TGPGraphics
- function EnumerateMetafile(metafile : IGPMetafile; destPoints : array; callback : TGPEnumerateMetafileProc; imageAttributes : IGPImageAttributes) : TGPGraphics
- function EnumerateMetafileF(metafile : IGPMetafile; destPoint : TGPPointF; srcRect : TGPRectF; srcUnit : TGPUnit; callback : TGPEnumerateMetafileProc; imageAttributes : IGPImageAttributes) : TGPGraphics - Registers an an application-defined callback function for each record in a specified metafile.
- function EnumerateMetafile(metafile : IGPMetafile; destPoint : TGPPoint; srcRect : TGPRect; srcUnit : TGPUnit; callback : TGPEnumerateMetafileProc; imageAttributes : IGPImageAttributes) : TGPGraphics - Registers an an application-defined callback function for each record in a specified metafile.
- function EnumerateMetafileF(metafile : IGPMetafile; destRect : TGPRectF; srcRect : TGPRectF; srcUnit : TGPUnit; callback : TGPEnumerateMetafileProc; imageAttributes : IGPImageAttributes) : TGPGraphics - Registers an an application-defined callback function for each record in a specified metafile.
- function EnumerateMetafile(metafile : IGPMetafile; destRect : TGPRect; srcRect : TGPRect; srcUnit : TGPUnit; callback : TGPEnumerateMetafileProc; imageAttributes : IGPImageAttributes) : TGPGraphics - Registers an an application-defined callback function for each record in a specified metafile.
- function EnumerateMetafileF(metafile : IGPMetafile; destPoints : array; srcRect : TGPRectF; srcUnit : TGPUnit; callback : TGPEnumerateMetafileProc; imageAttributes : IGPImageAttributes) : TGPGraphics
- function EnumerateMetafile(metafile : IGPMetafile; destPoints : array; srcRect : TGPRect; srcUnit : TGPUnit; callback : TGPEnumerateMetafileProc; imageAttributes : IGPImageAttributes) : TGPGraphics
- function SetClip(g : IGPGraphics; combineMode : TGPCombineMode) : TGPGraphics - Updates the clipping region of the TGPGraphics object to a region that is the combination of itself and the clipping region of another Graphics object.
- function SetClipF(rect : TGPRectF; combineMode : TGPCombineMode) : TGPGraphics - Updates the clipping region of the TGPGraphics object to a region that is the combination of itself and a rectangle.
- function SetClip(rect : TGPRect; combineMode : TGPCombineMode) : TGPGraphics - Updates the clipping region of the TGPGraphics object to a region that is the combination of itself and a rectangle.
- function SetClip(path : IGPGraphicsPath; combineMode : TGPCombineMode) : TGPGraphics - Updates the clipping region of the TGPGraphics object to a region that is the combination of itself and the region specified by a graphics path. If a figure in the path is not closed, this method treats the non-closed figure as if it were closed by a straight line that connects the figure's starting and ending points.
- function SetClip(region : IGPRegion; combineMode : TGPCombineMode) : TGPGraphics - Updates the clipping region of the TGPGraphics object to a region that is the combination of itself and the region specified by a TGPRegion object.
- function SetClip(hRgn : HRGN; combineMode : TGPCombineMode) : TGPGraphics - Updates the clipping region of the TGPGraphics object to a region that is the combination of itself and a Microsoft Windows Graphics Device Interface (GDI) region.
- procedure SetClipProp(region : IGPRegion)
- function IntersectClipF(rect : TGPRectF) : TGPGraphics - Updates the clipping region of this Graphics object to the portion of the specified rectangle that intersects with the current clipping region of this Graphics object.
- function IntersectClip(rect : TGPRect) : TGPGraphics - Updates the clipping region of this Graphics object to the portion of the specified rectangle that intersects with the current clipping region of this Graphics object.
- function IntersectClip(region : IGPRegion) : TGPGraphics - Updates the clipping region of this Graphics object to the portion of the specified region that intersects with the current clipping region of this Graphics object.
- function ExcludeClipF(rect : TGPRectF) : TGPGraphics - Updates the clipping region to the portion of itself that does not intersect the specified rectangle.
- function ExcludeClip(rect : TGPRect) : TGPGraphics - Updates the clipping region to the portion of itself that does not intersect the specified rectangle.
- function ExcludeClip(region : IGPRegion) : TGPGraphics - Updates the clipping region with the portion of itself that does not overlap the specified region.
- function ResetClip() : TGPGraphics - Sets the clipping region of this Graphics object to an infinite region.
- function TranslateClipF(dx : Single; dy : Single) : TGPGraphics - Translates the clipping region of the TGPGraphics object.
- function TranslateClip(dx : Integer; dy : Integer) : TGPGraphics - Translates the clipping region of the TGPGraphics object.
- function GetClip() : IGPRegion - Returns the clipping region of the TGPGraphics object.
- function GetClipBoundsF() : TGPRectF - Returns a rectangle that encloses the clipping region of this Graphics object.
- function GetClipBounds() : TGPRect - Returns a rectangle that encloses the clipping region of this Graphics object.
- function IsClipEmpty() : Boolean - Determines whether the clipping region of the TGPGraphics object is empty.
- function GetVisibleClipBoundsF() : TGPRectF - Returns a rectangle that encloses the visible clipping region of the TGPGraphics object.
- function GetVisibleClipBounds() : TGPRect - Returns a rectangle that encloses the visible clipping region of the TGPGraphics object.
- function IsVisibleClipEmpty() : Boolean - Determines whether the visible clipping region of the TGPGraphics object is empty.
- function IsVisible(x : Integer; y : Integer) : Boolean - Determines whether the specified point is inside the visible clipping region of this TGPGraphics object.
- function IsVisible(point : TGPPoint) : Boolean - Determines whether the specified point is inside the visible clipping region of this TGPGraphics object.
- function IsVisible(x : Integer; y : Integer; width : Integer; height : Integer) : Boolean - Determines whether the specified rectangle intersects the visible clipping region of this TGPGraphics object.
- function IsVisible(rect : TGPRect) : Boolean - Determines whether the specified rectangle intersects the visible clipping region of this TGPGraphics object.
- function IsVisibleF(x : Single; y : Single) : Boolean - Determines whether the specified point is inside the visible clipping region of this TGPGraphics object.
- function IsVisibleF(point : TGPPointF) : Boolean - Determines whether the specified point is inside the visible clipping region of this TGPGraphics object.
- function IsVisibleF(x : Single; y : Single; width : Single; height : Single) : Boolean - Determines whether the specified rectangle intersects the visible clipping region of this TGPGraphics object.
- function IsVisibleF(rect : TGPRectF) : Boolean - Determines whether the specified rectangle intersects the visible clipping region of this TGPGraphics object.
- function Save() : TGPGraphicsState - Saves the current state (transformations, clipping region, and quality settings) of this TGPGraphics object.
- function Restore(gstate : TGPGraphicsState) : TGPGraphics - Sets the state of this TGPGraphics object to the state stored by a previous call to the TGPGraphics.Save method of this TGPGraphics object.
- function BeginContainerF(dstrect : TGPRectF; srcrect : TGPRectF; unit_ : TGPUnit) : TGPGraphicsContainer - Begins a new graphics container.
- function BeginContainer(dstrect : TGPRect; srcrect : TGPRect; unit_ : TGPUnit) : TGPGraphicsContainer - Begins a new graphics container.
- function BeginContainer() : TGPGraphicsContainer - Begins a new graphics container.
- function EndContainer(state : TGPGraphicsContainer) : TGPGraphics - Closes a graphics container that was previously opened by the BeginContainer method.
- function AddMetafileComment(data : array) : TGPGraphics