[]
        
(Showing Draft Content)

C1.Win.Document.Util.C1GdiGraphics

C1GdiGraphics Class

Represents the graphics properties and methods.

Inheritance
C1Graphics
C1GdiGraphics
Namespace: C1.Win.Document.Util
Assembly: C1.Win.Document.10.dll
Syntax
public class C1GdiGraphics : C1Graphics, IDisposable, IC1DXTextLayoutOwner
Public Class C1GdiGraphics
    Inherits C1Graphics
    Implements IDisposable, IC1DXTextLayoutOwner

Constructors

Name Description
C1GdiGraphics(Graphics)

Initializes a new instance of the C1GdiGraphics class.

C1GdiGraphics(Graphics, Factory)

Initializes a new instance of the C1GdiGraphics class.

Properties

Name Description
DpiX

Gets the horizontal resolution of the context.

DpiY

Gets the vertical resolution of the context.

Graphics

Gets the System.Drawing.Graphics.

Transform

Replace this with actual implementation.

Methods

Name Description
CreateClipRegion(IPath)

Creates clip region for specified graphics path. Note! The clip region should NOT dispose passed graphics path, it is managed by the outer code.

CreateClipRegion(Rect)

Creates clip region for specified bounds.

CreatePath()

Creates graphics path.

CreateTextLayout()

Creates and initializes the C1.Document.Util.C1TextLayout object which can be used to render or measure text on the graphics.

Dispose(bool)
DrawGlyphRun(double, double, int, IntPtr, IntPtr, IntPtr, IntPtr, Color, IC1TextRangeBase, C1TextLayout, string)
DrawRtf(object, string, int, int, Rect, bool, Color)
FillEllipse(Color, Rect)
FillPath(Color, IPath)
FillRectangle(Color, Rect)
GetSmoothingMode()
InternalCreateImage(IImage)
InternalCreateImage(GcBitmap)
InternalDrawEllipse(Rect, Color, double, PenStyle)
InternalDrawImage(INativeImage, Rect)
InternalDrawLine(double, double, double, double, Color, double, PenStyle)
InternalDrawPath(IPath, Color, double, PenStyle)
InternalDrawRectangle(Rect, Color, double, PenStyle)
InternalFillEllipse(C1Brush, Rect)
InternalFillPath(C1Brush, IPath)
InternalFillRectangle(C1Brush, Rect)
InternalRemoveClip(IClipRegion)
InternalSetClip(IClipRegion)
SetSmoothingMode(SmoothingMode)