C# 클래스 SharpVectors.Renderer.Gdi.GraphicsWrapper

Wraps a Graphics object since it's sealed
상속: IDisposable
파일 보기 프로젝트 열기: codebutler/savagesvg 1 사용 예제들

공개 메소드들

메소드 설명
BeginContainer ( ) : GraphicsContainerWrapper
Clear ( Color color ) : void
Dispose ( ) : void
DrawImage ( GraphicsNode grNode, Image image, Rectangle destRect, float srcX, float srcY, float srcWidth, float srcHeight, GraphicsUnit graphicsUnit, ImageAttributes imageAttributes ) : void
DrawPath ( GraphicsNode grNode, Pen pen, GraphicsPath path ) : void
EndContainer ( GraphicsContainerWrapper container ) : void
FillPath ( GraphicsNode grNode, Brush brush, GraphicsPath path ) : void
FromHdc ( IntPtr hdc, bool isStatic ) : GraphicsWrapper
FromImage ( Image image, bool isStatic ) : GraphicsWrapper
ResetClip ( ) : void
RotateTransform ( float angle ) : void
ScaleTransform ( float sx, float sy ) : void
SetClip ( GraphicsPath path ) : void
SetClip ( RectangleF rect ) : void
SetClip ( Region region, CombineMode combineMode ) : void
TranslateClip ( float x, float y ) : void
TranslateTransform ( float dx, float dy ) : void

비공개 메소드들

메소드 설명
GraphicsWrapper ( Image image, bool isStatic ) : System
GraphicsWrapper ( IntPtr hdc, bool isStatic ) : System

메소드 상세

BeginContainer() 공개 메소드

public BeginContainer ( ) : GraphicsContainerWrapper
리턴 GraphicsContainerWrapper

Clear() 공개 메소드

public Clear ( Color color ) : void
color Color
리턴 void

Dispose() 공개 메소드

public Dispose ( ) : void
리턴 void

DrawImage() 공개 메소드

public DrawImage ( GraphicsNode grNode, Image image, Rectangle destRect, float srcX, float srcY, float srcWidth, float srcHeight, GraphicsUnit graphicsUnit, ImageAttributes imageAttributes ) : void
grNode GraphicsNode
image Image
destRect System.Drawing.Rectangle
srcX float
srcY float
srcWidth float
srcHeight float
graphicsUnit GraphicsUnit
imageAttributes System.Drawing.Imaging.ImageAttributes
리턴 void

DrawPath() 공개 메소드

public DrawPath ( GraphicsNode grNode, Pen pen, GraphicsPath path ) : void
grNode GraphicsNode
pen System.Drawing.Pen
path System.Drawing.Drawing2D.GraphicsPath
리턴 void

EndContainer() 공개 메소드

public EndContainer ( GraphicsContainerWrapper container ) : void
container GraphicsContainerWrapper
리턴 void

FillPath() 공개 메소드

public FillPath ( GraphicsNode grNode, Brush brush, GraphicsPath path ) : void
grNode GraphicsNode
brush System.Drawing.Brush
path System.Drawing.Drawing2D.GraphicsPath
리턴 void

FromHdc() 공개 정적인 메소드

public static FromHdc ( IntPtr hdc, bool isStatic ) : GraphicsWrapper
hdc System.IntPtr
isStatic bool
리턴 GraphicsWrapper

FromImage() 공개 정적인 메소드

public static FromImage ( Image image, bool isStatic ) : GraphicsWrapper
image Image
isStatic bool
리턴 GraphicsWrapper

ResetClip() 공개 메소드

public ResetClip ( ) : void
리턴 void

RotateTransform() 공개 메소드

public RotateTransform ( float angle ) : void
angle float
리턴 void

ScaleTransform() 공개 메소드

public ScaleTransform ( float sx, float sy ) : void
sx float
sy float
리턴 void

SetClip() 공개 메소드

public SetClip ( GraphicsPath path ) : void
path System.Drawing.Drawing2D.GraphicsPath
리턴 void

SetClip() 공개 메소드

public SetClip ( RectangleF rect ) : void
rect System.Drawing.RectangleF
리턴 void

SetClip() 공개 메소드

public SetClip ( Region region, CombineMode combineMode ) : void
region System.Drawing.Region
combineMode CombineMode
리턴 void

TranslateClip() 공개 메소드

public TranslateClip ( float x, float y ) : void
x float
y float
리턴 void

TranslateTransform() 공개 메소드

public TranslateTransform ( float dx, float dy ) : void
dx float
dy float
리턴 void