PdfDrawingSurface Class |
Namespace: Atalasoft.PdfDoc.Generating.Rendering
The PdfDrawingSurface type exposes the following members.
Name | Description | |
---|---|---|
PdfDrawingSurface | Initializes a new instance of the PdfDrawingSurface class |
Name | Description | |
---|---|---|
AddPath(IEnumerablePdfPathOperation) |
Adds a set of path operations to the current path. Path should start with a Move operation.
| |
AddPath(IEnumerablePdfPathOperation, PdfPoint) |
First applies a translation transform then adds a set of path operations to the current path. Path should start with a Move operation.
The translation remains in place after the addition.
| |
AddPath(IEnumerablePdfPathOperation, PdfTransform) |
First applies a transform then adds a set of path operations to the current path. Path should start with a Move operation.
The transform remains in place after the addition.
| |
AddRect(PdfBounds) |
Adds the a closed rectangle to the current path.
| |
AddRect(PdfBounds, PdfPoint) |
First applies a translation transform then adds the a closed rectangle to the current path.
The translation remains in place after the addition.
| |
AddRect(PdfBounds, PdfTransform) |
First applies a transform then adds the a closed rectangle to the current path.
The transform remains in place after the addition.
| |
ApplyTransformation |
Applies the transform to the drawing surface. The transform will be accumulated onto any existing transformation.
Previous transforms can be saved and restored via the GSave and GRestore methods in PdfPageRenderer.
| |
Begin |
Signal that drawing operations have begun.
| |
BeginMarkedContent |
Marks a stream of PDF content with the given tag. All calls to BeginMarkedContent(String)
must have a matching call to EndMarkedContent. The PDF spec does not allow nesting of
marked content.
| |
Clip(PdfFillMethod) |
Reduces the clipping area of the current drawing surface by intersecting the current path with the current clipping area.
Clipping is a strictly reductive process. To preserve previous clipping areas, use the GSave and GRestore methods in PdfPageRenderer.
| |
Clip(PdfFillMethod, Boolean) |
Reduces the clipping area of the current drawing surface by intersecting the current path with the current clipping area.
Clipping is a strictly reductive process. To preserve previous clipping areas, use the GSave and GRestore methods in PdfPageRenderer.
| |
End |
Signal that drawing on the drawing surface is complete.
| |
EndMarkedContent |
Deontes the end of a stream of PDF content marked via BeginMarkedContent(String).
| |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
Fill |
Paints the current path using the specified fill method and color then clears the current path.
| |
FillAndStroke |
Paints then strokes the current path using the specified parameters, then clears the current path.
| |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
PlaceImage(String, String, PdfBounds) |
Places the image on the drawing surface within the bounds provided.
| |
PlaceImage(String, String, PdfPoint) |
Places the image on the drawing surface at the given location. The image will be placed such that each pixel is
1 PDF page unit square.
| |
PlaceImage(String, String, PdfTransform) |
Places the image on the drawing surface within the bounds and transformed by the matrix provided.
| |
PlaceTemplate(String, PdfBounds) |
Places the template on the drawing surface within the bounds provided.
| |
PlaceTemplate(String, PdfPoint) |
Places the template on the drawing surface at the given location. The template will be placed such that each pixel is
1 PDF page unit square.
| |
PlaceTemplate(String, PdfTransform) |
Places the template on the drawing surface within the bounds and transformed by the matrix provided.
| |
Stroke |
Strokes the current path in the specified style and color then clears the current path.
| |
ToString | Returns a string that represents the current object. (Inherited from Object.) |