Class CanvasRenderer
Inheritance
System.Object
CanvasRenderer
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Assembly: Aurigma.DesignAtoms.dll
Syntax
public class CanvasRenderer : ICanvasRenderer
Constructors
CanvasRenderer(IConfiguration, IColorManagement)
Declaration
public CanvasRenderer(IConfiguration configuration, IColorManagement colorManagement)
Parameters
Methods
GetBleedBox(RectangleF, Tuple<String, RectangleF>[])
Declaration
public static RectangleF GetBleedBox(RectangleF defaultBox, Tuple<string, RectangleF>[] pdfBoxes)
Parameters
| Type |
Name |
Description |
| System.Drawing.RectangleF |
defaultBox |
|
| System.Tuple<System.String, System.Drawing.RectangleF>[] |
pdfBoxes |
|
Returns
| Type |
Description |
| System.Drawing.RectangleF |
|
GetCropBox(RectangleF, Tuple<String, RectangleF>[])
Declaration
public static RectangleF GetCropBox(RectangleF defaultBox, Tuple<string, RectangleF>[] pdfBoxes)
Parameters
| Type |
Name |
Description |
| System.Drawing.RectangleF |
defaultBox |
|
| System.Tuple<System.String, System.Drawing.RectangleF>[] |
pdfBoxes |
|
Returns
| Type |
Description |
| System.Drawing.RectangleF |
|
GetDefaultBox(RectangleF, Boolean)
Declaration
public static RectangleF GetDefaultBox(RectangleF bounds, bool swapSides)
Parameters
| Type |
Name |
Description |
| System.Drawing.RectangleF |
bounds |
|
| System.Boolean |
swapSides |
|
Returns
| Type |
Description |
| System.Drawing.RectangleF |
|
GetTrimBox(RectangleF, Tuple<String, RectangleF>[])
Declaration
public static RectangleF GetTrimBox(RectangleF defaultBox, Tuple<string, RectangleF>[] pdfBoxes)
Parameters
| Type |
Name |
Description |
| System.Drawing.RectangleF |
defaultBox |
|
| System.Tuple<System.String, System.Drawing.RectangleF>[] |
pdfBoxes |
|
Returns
| Type |
Description |
| System.Drawing.RectangleF |
|
Render(RenderingContext, ICanvas, Single, Color, Nullable<ColorSpace>, IRenderingColorSettings, IColorProfilesProvider, Nullable<Boolean>, Nullable<RectangleF>, Boolean, Boolean, WorkspaceTransformParams)
Declaration
public virtual Bitmap Render(RenderingContext renderingContext, ICanvas canvas, float dpi, Color backgroundColor, ColorSpace? destinationColorSpace, IRenderingColorSettings colorSettings, IColorProfilesProvider profilesProvider, bool? pdfRenderKeepOriginalColors, RectangleF? bounds = null, bool isPreview = false, bool isSingleColorTargetContainer = false, WorkspaceTransformParams workspaceTransformParams = null)
Parameters
Returns
| Type |
Description |
| Aurigma.GraphicsMill.Bitmap |
|
Render(RenderingContext, PipelineElement, ICanvas, Single, Color, Nullable<ColorSpace>, IRenderingColorSettings, IColorProfilesProvider, Nullable<Boolean>, Nullable<RectangleF>, Boolean, Boolean, WorkspaceTransformParams, Tuple<String, RectangleF>[], Boolean)
Declaration
public void Render(RenderingContext renderingContext, PipelineElement writer, ICanvas canvas, float dpi, Color backgroundColor, ColorSpace? destinationColorSpace, IRenderingColorSettings colorSettings, IColorProfilesProvider profilesProvider, bool? pdfRenderKeepOriginalColors, RectangleF? bounds = null, bool isPreview = false, bool isSingleColorTargetContainer = false, WorkspaceTransformParams workspaceTransformParams = null, Tuple<string, RectangleF>[] pdfBoxes = null, bool isPdfRenderDeviceProfileEnabled = false)
Parameters
| Type |
Name |
Description |
| RenderingContext |
renderingContext |
|
| Aurigma.GraphicsMill.PipelineElement |
writer |
|
| ICanvas |
canvas |
|
| System.Single |
dpi |
|
| Aurigma.GraphicsMill.Color |
backgroundColor |
|
| System.Nullable<ColorSpace> |
destinationColorSpace |
|
| IRenderingColorSettings |
colorSettings |
|
| IColorProfilesProvider |
profilesProvider |
|
| System.Nullable<System.Boolean> |
pdfRenderKeepOriginalColors |
|
| System.Nullable<System.Drawing.RectangleF> |
bounds |
|
| System.Boolean |
isPreview |
|
| System.Boolean |
isSingleColorTargetContainer |
|
| WorkspaceTransformParams |
workspaceTransformParams |
|
| System.Tuple<System.String, System.Drawing.RectangleF>[] |
pdfBoxes |
|
| System.Boolean |
isPdfRenderDeviceProfileEnabled |
|
Implements