[]
        
(Showing Draft Content)

GrapeCity.Documents.Imaging.GcBitmapGraphics

GcBitmapGraphics Class

Implements a drawing surface for GcBitmap.

Inheritance
GcBitmapGraphics
Implements
Namespace: GrapeCity.Documents.Imaging
Assembly: DS.Documents.Imaging.dll
Syntax
public class GcBitmapGraphics : GcGraphics, IDisposable
Public Class GcBitmapGraphics
    Inherits GcGraphics
    Implements IDisposable

Properties

Name Description
Bitmap

Gets the source GcBitmap.

Height

Gets the height of the image, in DIPs.

Renderer

Gets the BitmapRenderer that is used to draw on the GcBitmap.

Resolution

Gets the resolution of the current graphics (always 96 DPI for GcBitmapGraphics).

SurfaceResolution

Gets the resolution of the underlying drawing surface (pixels per inch).

Transform

Gets or sets the transformation matrix of the current graphics.

Width

Gets the width of the image, in DIPs.

Methods

Name Description
CreateTransparencyMask(IGcTransparencyGroup, TransparencyMaskType, Rectangle, IGcTransparencyMaskFilter)

For internal use.

Dispose(bool)

Performs cleanup operations on managed and unmanaged resources.

GetBlendMode()

For internal use.

GetGlyphPathCache()

For internal use. Can be overridden in derived class and should return an GrapeCity.Documents.Drawing.IGlyphPathCache object to cache glyphs' paths during rendering.

GetInterpolationMode()

For internal use.

InternalCreateClipRegion(IPath)

For internal use.

InternalCreateClipRegion(RectangleF)

For internal use.

InternalCreatePath()

For internal use.

InternalDrawEllipse(RectangleF, Pen)

For internal use.

InternalDrawImage(RectangleF, IImage, float)

For internal use.

InternalDrawLine(PointF, PointF, Pen)

For internal use.

InternalDrawLines(PointF[], Pen)

For internal use.

InternalDrawPath(IPath, Pen)

For internal use.

InternalDrawPolygon(PointF[], Pen)

For internal use.

InternalDrawRectangle(RectangleF, Pen)

For internal use.

InternalDrawRoundRect(RectangleF, float, float, Pen)

For internal use.

InternalDrawTextLayout(TextLayout, PointF)

For internal use.

InternalDrawTextLayoutAsPath(TextLayout, PointF)

For internal use.

InternalFillEllipse(RectangleF, Brush, RectangleF?, Matrix3x2?)

For internal use.

InternalFillEllipse(RectangleF, Color)

For internal use.

InternalFillPath(IPath, Brush, RectangleF?, Matrix3x2?)

For internal use.

InternalFillPath(IPath, Color)

For internal use.

InternalFillPolygon(PointF[], Brush, FillMode, RectangleF?, Matrix3x2?)

For internal use.

InternalFillPolygon(PointF[], Color, FillMode)

For internal use.

InternalFillRectangle(RectangleF, Brush, RectangleF?, Matrix3x2?)

For internal use.

InternalFillRectangle(RectangleF, Color)

For internal use.

InternalFillRoundRect(RectangleF, float, float, Brush, RectangleF?, Matrix3x2?)

For internal use.

InternalFillRoundRect(RectangleF, float, float, Color)

For internal use.

InternalRemoveClip(IClipRegion)

For internal use.

InternalSetClip(IClipRegion)

For internal use.

IsBlendModeSupported(BlendMode)

Indicates whether this graphics implementation supports a specified blend mode.

GcBitmapGraphics supports all blend modes, so this method always returns true.

IsInterpolationModeSupported(InterpolationMode)

Indicates whether this graphics implementation supports a specified interpolation mode.

GcBitmapGraphics supports all interpolation 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 GcBitmapGraphics so that it receives all subsequent drawing operations until PopTransparencyLayer() is called.

SetBlendMode(BlendMode)

For internal use.

SetInterpolationMode(InterpolationMode)

For internal use.

SetTransparencyMask(object)

For internal use.