Skip to main content

Class TextureContainerRenderer

Namespace: Aurigma.DesignAtoms.Rendering.CanvasRenderers
Assembly: Aurigma.DesignAtoms.dll
Syntax
public class TextureContainerRenderer : ICanvasRenderer

Inheritance: System.Object -> TextureContainerRenderer

Implements

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

Constructors

TextureContainerRenderer

public TextureContainerRenderer(IConfiguration configuration, IColorManagement colorManagement, Func<Bitmap> getTextureBitmap = null)

Methods

Render

public Bitmap Render(RenderingContext renderingContext, ICanvas canvas, float dpi, Color backgroundColor, ColorSpace? destinationColorSpace, IRenderingColorSettings colorSettings, IColorProfilesProvider profilesProvider, bool? pdfRenderKeepOriginalColors, Path renderingPath = null, bool isPreview = false, bool isSingleColorTargetContainer = false, WorkspaceTransformParams workspaceTransformParams = null)
Parameters
TypeNameDescription
Aurigma.DesignAtoms.Canvas.RenderingContextrenderingContext
Aurigma.DesignAtoms.Canvas.ICanvascanvas
System.Singledpi
Aurigma.GraphicsMill.ColorbackgroundColor
System.Nullable<Aurigma.DesignAtoms.Model.Color.ColorSpace>destinationColorSpace
Aurigma.DesignAtoms.ColorManagement.IRenderingColorSettingscolorSettings
Aurigma.DesignAtoms.ColorManagement.IColorProfilesProviderprofilesProvider
System.Nullable<System.Boolean>pdfRenderKeepOriginalColors
Aurigma.GraphicsMill.AdvancedDrawing.PathrenderingPath
System.BooleanisPreview
System.BooleanisSingleColorTargetContainer
Aurigma.DesignAtoms.Rendering.WorkspaceTransformParamsworkspaceTransformParams
Returns

Aurigma.GraphicsMill.Bitmap

Render

public void Render(RenderingContext renderingContext, PipelineElement writer, ICanvas canvas, float dpi, Color backgroundColor, ColorSpace? destinationColorSpace, IRenderingColorSettings colorSettings, IColorProfilesProvider profilesProvider, bool? pdfRenderKeepOriginalColors, Path renderingPath = null, bool isPreview = false, bool isSingleColorTargetContainer = false, WorkspaceTransformParams workspaceTransformParams = null, Tuple<string, RectangleF>[] pdfBoxes = null, bool isPdfRenderDeviceProfileEnabled = false)
Parameters
TypeNameDescription
Aurigma.DesignAtoms.Canvas.RenderingContextrenderingContext
Aurigma.GraphicsMill.PipelineElementwriter
Aurigma.DesignAtoms.Canvas.ICanvascanvas
System.Singledpi
Aurigma.GraphicsMill.ColorbackgroundColor
System.Nullable<Aurigma.DesignAtoms.Model.Color.ColorSpace>destinationColorSpace
Aurigma.DesignAtoms.ColorManagement.IRenderingColorSettingscolorSettings
Aurigma.DesignAtoms.ColorManagement.IColorProfilesProviderprofilesProvider
System.Nullable<System.Boolean>pdfRenderKeepOriginalColors
Aurigma.GraphicsMill.AdvancedDrawing.PathrenderingPath
System.BooleanisPreview
System.BooleanisSingleColorTargetContainer
Aurigma.DesignAtoms.Rendering.WorkspaceTransformParamsworkspaceTransformParams
System.Tuple<System.String,System.Drawing.RectangleF>[]pdfBoxes
System.BooleanisPdfRenderDeviceProfileEnabled

ProcessBitmap

public Bitmap ProcessBitmap(Bitmap bitmap, float resizeMultiplier)
Parameters
TypeNameDescription
Aurigma.GraphicsMill.Bitmapbitmap
System.SingleresizeMultiplier
Returns

Aurigma.GraphicsMill.Bitmap

Was this page helpful?