User Tools

Site Tools


api:dk11:delphi:vcl.gisgdiplus.tgis_gdipgraphics

TGIS_GdipGraphics class

DK11 for Delphi | VCL.GisGdiPlus.TGIS_GdipGraphics | Classes | Constructors | Fields | Methods | Properties

Encapsulation of Gdi+ graphics.

Syntax

// Delphi
type
  TGIS_GdipGraphics = class( TGIS_ObjectDisposable )
  end;
// C++ Builder
class PASCALIMPLEMENTATION TGIS_GdipGraphics : public TGIS_ObjectDisposable
{
};

Inheritance

→ TObject → TGIS_ObjectDisposable

Constructors

Inherited Overrides Protected
Name Visibility Description
Create public Create a graphics from the specified handle to a device context.

Fields

Inherited Protected
Name Visibility Description
lastResult protected Status of last called Gdi+ function.
nativeGraphics protected Native Gdi+ image.

Methods

Inherited Overrides Protected
Name Visibility Description
DrawEllipse public Draw an ellipse.
DrawImage(TGIS_GdipImage; Integer; Integer) public Draw an image.
DrawImage(TGIS_GdipImage; TRect; Integer; Integer; Integer; Integer; TGIS_GdipImageAttributes) public Draw an image.
DrawLines(TGIS_GdipPen; array of TGPPointF; Integer) public Draw a series of line segments.
DrawLines(TGIS_GdipPen; array of TPoint; Integer) public Draw a series of line segments.
DrawPie public Draw a pie.
DrawPolygon public Draw a polygon.
DrawRectangle(TGIS_GdipPen; Integer; Integer; Integer; Integer) public Draw a rectangle.
DrawRectangle(TGIS_GdipPen; TRect) public Draw a rectangle.
DrawString(WideString; TGIS_GdipFont; TGIS_GdipBrush; Single; Single; TGIS_GdipStringFormat) public Draw a string.
DrawString(WideString; TGIS_GdipFont; TGIS_GdipBrush; TRect; TGIS_GdipStringFormat) public Draw a string.
FillEllipse public Fill an ellipse.
FillPie public Fill a pie.
FillPolygon(TGIS_GdipBrush; array of TGPPointF) public Fill a polygon.
FillPolygon(TGIS_GdipBrush; array of TPoint) public Fill a polygon.
FillRectangle(TGIS_GdipBrush; Integer; Integer; Integer; Integer) public Fill a rectangle.
FillRectangle(TGIS_GdipBrush; TRect) public Fill a rectangle.
GetHdc public Get the handle to the device context associated with this graphics.
MeasureString public Measure the specified string.
ReleaseHdc public Release a device context handle.
ResetTransform public Reset the world transformation.
RotateTransform public Apply the specified rotation to the world transformation.
SetCompositingMode public Set a value that specifies how composited images are drawn.
SetCompositingQuality public Set the rendering quality of composited images.
SetInterpolationMode public Set the interpolation mode.
SetPageUnit public Set the unit of measure esed for page coordinates.
SetPixelOffsetMode public Set a value specifying how pixels are offset during rendering.
SetRenderingOrigin public Set rendering origin for hatched brush and patterns
SetSmoothingMode public Set the rendering quality.
SetTextContrast public Set the gamma correction value for rendering text.
TranslateTransform public Change the origin to the world transformation.

Properties

Inherited Protected
Name Visibility Description
Native public Native Gdi+ context.

References

2019/01/25 16:36