Interface ICanvasRenderer
Namespace: Aurigma.DesignAtoms.Rendering.CanvasRenderers
Assembly: Aurigma.DesignAtoms.dll
Syntax
public interface ICanvasRenderer
Methods
Render
Bitmap Render(RenderingContext renderingContext, ICanvas canvas, float dpi, Color backgroundColor, ColorSpace? destinationColorSpace, IRenderingColorSettings colorSettings, IColorProfilesProvider profilesProvider, bool? pdfRenderKeepOriginalColors, Path renderPath = null, bool isPreview = false, bool isSingleColorTargetContainer = false, WorkspaceTransformParams workspaceTransformParams = null)
Parameters
| Type | Name | Description |
|---|---|---|
| Aurigma.DesignAtoms.Canvas.RenderingContext | renderingContext | |
| Aurigma.DesignAtoms.Canvas.ICanvas | canvas | |
System.Single | dpi | |
Aurigma.GraphicsMill.Color | backgroundColor | |
System.Nullable<Aurigma.DesignAtoms.Model.Color.ColorSpace> | destinationColorSpace | |
| Aurigma.DesignAtoms.ColorManagement.IRenderingColorSettings | colorSettings | |
| Aurigma.DesignAtoms.ColorManagement.IColorProfilesProvider | profilesProvider | |
System.Nullable<System.Boolean> | pdfRenderKeepOriginalColors | |
Aurigma.GraphicsMill.AdvancedDrawing.Path | renderPath | |
System.Boolean | isPreview | |
System.Boolean | isSingleColorTargetContainer | |
| Aurigma.DesignAtoms.Rendering.WorkspaceTransformParams | workspaceTransformParams |
Returns
Aurigma.GraphicsMill.Bitmap
Render
void Render(RenderingContext renderingContext, PipelineElement writer, ICanvas canvas, float dpi, Color backgroundColor, ColorSpace? destinationColorSpace, IRenderingColorSettings colorSettings, IColorProfilesProvider profilesProvider, bool? pdfRenderKeepOriginalColors, Path bounds = null, bool isPreview = false, bool isSingleColorTargetContainer = false, WorkspaceTransformParams workspaceTransformParams = null, Tuple<string, RectangleF>[] pdfBoxes = null, bool isPdfRenderDeviceProfileEnabled = false)
Parameters
| Type | Name | Description |
|---|---|---|
| Aurigma.DesignAtoms.Canvas.RenderingContext | renderingContext | |
Aurigma.GraphicsMill.PipelineElement | writer | |
| Aurigma.DesignAtoms.Canvas.ICanvas | canvas | |
System.Single | dpi | |
Aurigma.GraphicsMill.Color | backgroundColor | |
System.Nullable<Aurigma.DesignAtoms.Model.Color.ColorSpace> | destinationColorSpace | |
| Aurigma.DesignAtoms.ColorManagement.IRenderingColorSettings | colorSettings | |
| Aurigma.DesignAtoms.ColorManagement.IColorProfilesProvider | profilesProvider | |
System.Nullable<System.Boolean> | pdfRenderKeepOriginalColors | |
Aurigma.GraphicsMill.AdvancedDrawing.Path | bounds | |
System.Boolean | isPreview | |
System.Boolean | isSingleColorTargetContainer | |
| Aurigma.DesignAtoms.Rendering.WorkspaceTransformParams | workspaceTransformParams | |
System.Tuple<System.String,System.Drawing.RectangleF>[] | pdfBoxes | |
System.Boolean | isPdfRenderDeviceProfileEnabled |