[]
Implements a Direct2D drawing surface.
To create an instance of this class, use the CreateGraphics(Color?) method.
public class GcD2DBitmapGraphics : GcDXGraphics, IDisposable
Public Class GcD2DBitmapGraphics
Inherits GcDXGraphics
Implements IDisposable
Name | Description |
---|---|
Bitmap | The owning GcD2DBitmap object. |
Name | Description |
---|---|
Features | For internal use. Gets the features supported by this graphics. |
SurfaceResolution | Gets the resolution of the underlying drawing surface (pixels per inch). |
Name | Description |
---|---|
AfterDrawAction() | Called after any draw action on the underlying render target. |
BeforeDrawAction() | Called before any draw action on the underlying render target. |
Composite(IGcTransparencyGroup, Rectangle, Point, float?) | For internal use. Composites this GcGraphics and the GrapeCity.Documents.Drawing.IGcTransparencyGroup created with the CreateTransparencyGroup(Rectangle, bool, bool, bool) method. |
CreateTransparencyGroup(Rectangle, bool, bool, bool) | For internal use. Creates a GrapeCity.Documents.Drawing.IGcTransparencyGroup compatible with this graphics. This group can be used later for:
|
CreateTransparencyMask(IGcTransparencyGroup, TransparencyMaskType, Rectangle, IGcTransparencyMaskFilter) | For internal use. Creates a transparency mask from a GrapeCity.Documents.Drawing.IGcTransparencyGroup, this mask can be specified for this graphics using SetTransparencyMask(object) method. Note! If the transparency mask supports IDisposable interface it will be automatically disposed after usage. |
Dispose(bool) | Performs cleanup operations on managed and unmanaged resources. |
GetBlendMode() | For internal use. Returns the current blend mode. |
InternalCreateClipRegion(IPath) | For internal use. |
InternalCreateClipRegion(RectangleF) | For internal use. |
IsBlendModeSupported(BlendMode) | Indicates whether this graphics implementation supports a specified blend mode. GcD2DBitmapGraphics supports all blend modes, so this method always returns true. |
PopTransparencyLayer() | Stops redirecting drawing operations to the transparency layer that was created by the last PushTransparencyLayer(RectangleF?, float) call. |
PushTransparencyLayer(RectangleF?, float) | Adds a transparency layer to the current graphics. That layer receives all subsequent drawing operations until PopTransparencyLayer() is called. |
SetBlendMode(BlendMode) | For internal use. Sets the current blend mode. |
SetTransparencyMask(object) | For internal use.
Sets a transparency mask for subsequent drawing operations, |