TTMSFNCGraphicsPDFEngine Class
PDF-backed graphics engine that implements the standard drawing API by routing all rendering calls to an
ITMSFNCCustomPDFLibinstance instead of an on-screen canvas.
API unit family: TMSFNCGraphicsPDFEngine
Inherits from: TTMSFNCGraphics
Syntax
TTMSFNCGraphicsPDFEngine = class(TTMSFNCGraphics)
Properties
| Name | Description |
|---|---|
| PDFLib | The underlying PDF library interface that receives all drawing operations. |
Methods
| Name | Description |
|---|---|
| ClipRect | Clips all subsequent drawing to the specified rectangle in the PDF context. |
| DrawArc | Draws an arc segment in the PDF context. |
| DrawBitmap | Draws a bitmap into the specified rectangle in the PDF context. |
| DrawEllipse | Draws an ellipse bounded by the given coordinates in the PDF context. |
| DrawLine | Draws a line between two points in the PDF context. |
| DrawPDFPath | Renders a graphics path to the PDF output using the specified flatness tolerance. |
| DrawPath | Draws a path in the PDF context using the specified draw mode. |
| DrawPolygon | Draws a filled and/or stroked polygon in the PDF context. |
| DrawPolyline | Draws an open polyline in the PDF context. |
| DrawRectangle | Draws a rectangle in the PDF context using all four sides. |
| DrawRoundRectangle | Draws a rounded rectangle in the PDF context. |
| GetMatrix | Returns the current transformation matrix applied to the PDF graphics context. |
| ResetTextAngle | Restores the PDF coordinate space after a text rotation applied by SetTextAngle. |
| RestoreState | Restores a previously saved graphics state. |
| SaveState | Saves the current graphics state and returns a state object that can be passed to RestoreState. |
| SetFill | Applies a fill definition to the PDF graphics context. |
| SetFillColor | Sets the solid fill color in the PDF context. |
| SetFillKind | Sets the fill rendering mode in the PDF context. |
| SetFont | Applies a complete font definition to the PDF context. |
| SetFontColor | Sets the text color in the PDF context. |
| SetFontName | Sets the font family name in the PDF context. |
| SetFontSize | Sets the font size in points in the PDF context. |
| SetFontStyles | Sets the font style flags (bold, italic, etc.) in the PDF context. |
| SetMatrix | Applies a transformation matrix to the PDF graphics context. |
| SetStroke | Applies a stroke definition to the PDF graphics context. |
| SetStrokeColor | Sets the stroke color in the PDF context. |
| SetStrokeKind | Sets the stroke rendering mode in the PDF context. |
| SetStrokeWidth | Sets the stroke line width in the PDF context. |
| SetTextAngle | Applies a text rotation to the PDF coordinate space and returns the adjusted drawing rectangle. |