C# 클래스 PixelFarm.Drawing.Canvas

파일 보기 프로젝트 열기: prepare/HTML-Renderer 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
dbug_canvasCount int
debug_canvas_id int
debug_releaseCount int
debug_resetCount int

공개 메소드들

메소드 설명
ClearSurface ( Color c ) : void
CloseCanvas ( ) : void
DrawImage ( Image image, RectangleF dest ) : void
DrawImage ( Image image, RectangleF dest, RectangleF src ) : void
DrawImages ( Image image, RectangleF destAndSrcPairs ) : void
DrawLine ( float x1, float y1, float x2, float y2 ) : void
DrawPath ( GraphicsPath gfxPath ) : void
DrawRectangle ( Color color, float left, float top, float width, float height ) : void
DrawText ( char buffer, Rectangle logicalTextBox, int textAlignment ) : void
DrawText ( char buffer, int x, int y ) : void
DrawText ( char buffer, int startAt, int len, Rectangle logicalTextBox, int textAlignment ) : void
FillPath ( Brush brush, GraphicsPath gfxPath ) : void
FillPath ( Color color, GraphicsPath gfxPath ) : void
FillPolygon ( Brush brush, PointF points ) : void
FillPolygon ( Color color, PointF points ) : void
FillRectangle ( Brush brush, float left, float top, float width, float height ) : void
FillRectangle ( Color color, float left, float top, float width, float height ) : void
Invalidate ( Rectangle rect ) : void
OffsetCanvasOrigin ( int dx, int dy ) : void
OffsetCanvasOriginX ( int dx ) : void
OffsetCanvasOriginY ( int dy ) : void
PopClipAreaRect ( ) : void
PushClipAreaRect ( int width, int height, Rectangle &updateArea ) : bool
RenderTo ( System destHdc, int sourceX, int sourceY, Rectangle destArea ) : void
ResetInvalidateArea ( ) : void
SetCanvasOrigin ( int x, int y ) : void
SetClipRect ( Rectangle clip, CombineMode combineMode = CombineMode.Replace ) : void
dbug_DrawCrossRect ( Color color, Rectangle rect ) : void
dbug_DrawRuler ( int x ) : void

메소드 상세

ClearSurface() 공개 추상적인 메소드

public abstract ClearSurface ( Color c ) : void
c Color
리턴 void

CloseCanvas() 공개 추상적인 메소드

public abstract CloseCanvas ( ) : void
리턴 void

DrawImage() 공개 추상적인 메소드

public abstract DrawImage ( Image image, RectangleF dest ) : void
image Image
dest RectangleF
리턴 void

DrawImage() 공개 추상적인 메소드

public abstract DrawImage ( Image image, RectangleF dest, RectangleF src ) : void
image Image
dest RectangleF
src RectangleF
리턴 void

DrawImages() 공개 추상적인 메소드

public abstract DrawImages ( Image image, RectangleF destAndSrcPairs ) : void
image Image
destAndSrcPairs RectangleF
리턴 void

DrawLine() 공개 추상적인 메소드

public abstract DrawLine ( float x1, float y1, float x2, float y2 ) : void
x1 float
y1 float
x2 float
y2 float
리턴 void

DrawPath() 공개 추상적인 메소드

public abstract DrawPath ( GraphicsPath gfxPath ) : void
gfxPath GraphicsPath
리턴 void

DrawRectangle() 공개 추상적인 메소드

public abstract DrawRectangle ( Color color, float left, float top, float width, float height ) : void
color Color
left float
top float
width float
height float
리턴 void

DrawText() 공개 추상적인 메소드

public abstract DrawText ( char buffer, Rectangle logicalTextBox, int textAlignment ) : void
buffer char
logicalTextBox Rectangle
textAlignment int
리턴 void

DrawText() 공개 추상적인 메소드

public abstract DrawText ( char buffer, int x, int y ) : void
buffer char
x int
y int
리턴 void

DrawText() 공개 추상적인 메소드

public abstract DrawText ( char buffer, int startAt, int len, Rectangle logicalTextBox, int textAlignment ) : void
buffer char
startAt int
len int
logicalTextBox Rectangle
textAlignment int
리턴 void

FillPath() 공개 추상적인 메소드

public abstract FillPath ( Brush brush, GraphicsPath gfxPath ) : void
brush Brush
gfxPath GraphicsPath
리턴 void

FillPath() 공개 추상적인 메소드

public abstract FillPath ( Color color, GraphicsPath gfxPath ) : void
color Color
gfxPath GraphicsPath
리턴 void

FillPolygon() 공개 추상적인 메소드

public abstract FillPolygon ( Brush brush, PointF points ) : void
brush Brush
points PointF
리턴 void

FillPolygon() 공개 추상적인 메소드

public abstract FillPolygon ( Color color, PointF points ) : void
color Color
points PointF
리턴 void

FillRectangle() 공개 추상적인 메소드

public abstract FillRectangle ( Brush brush, float left, float top, float width, float height ) : void
brush Brush
left float
top float
width float
height float
리턴 void

FillRectangle() 공개 추상적인 메소드

public abstract FillRectangle ( Color color, float left, float top, float width, float height ) : void
color Color
left float
top float
width float
height float
리턴 void

Invalidate() 공개 추상적인 메소드

public abstract Invalidate ( Rectangle rect ) : void
rect Rectangle
리턴 void

OffsetCanvasOrigin() 공개 메소드

public OffsetCanvasOrigin ( int dx, int dy ) : void
dx int
dy int
리턴 void

OffsetCanvasOriginX() 공개 메소드

public OffsetCanvasOriginX ( int dx ) : void
dx int
리턴 void

OffsetCanvasOriginY() 공개 메소드

public OffsetCanvasOriginY ( int dy ) : void
dy int
리턴 void

PopClipAreaRect() 공개 추상적인 메소드

public abstract PopClipAreaRect ( ) : void
리턴 void

PushClipAreaRect() 공개 추상적인 메소드

public abstract PushClipAreaRect ( int width, int height, Rectangle &updateArea ) : bool
width int
height int
updateArea Rectangle
리턴 bool

RenderTo() 공개 추상적인 메소드

public abstract RenderTo ( System destHdc, int sourceX, int sourceY, Rectangle destArea ) : void
destHdc System
sourceX int
sourceY int
destArea Rectangle
리턴 void

ResetInvalidateArea() 공개 추상적인 메소드

public abstract ResetInvalidateArea ( ) : void
리턴 void

SetCanvasOrigin() 공개 추상적인 메소드

public abstract SetCanvasOrigin ( int x, int y ) : void
x int
y int
리턴 void

SetClipRect() 공개 추상적인 메소드

public abstract SetClipRect ( Rectangle clip, CombineMode combineMode = CombineMode.Replace ) : void
clip Rectangle
combineMode CombineMode
리턴 void

dbug_DrawCrossRect() 공개 추상적인 메소드

public abstract dbug_DrawCrossRect ( Color color, Rectangle rect ) : void
color Color
rect Rectangle
리턴 void

dbug_DrawRuler() 공개 추상적인 메소드

public abstract dbug_DrawRuler ( int x ) : void
x int
리턴 void

프로퍼티 상세

dbug_canvasCount 공개적으로 정적으로 프로퍼티

public static int dbug_canvasCount
리턴 int

debug_canvas_id 공개적으로 프로퍼티

public int debug_canvas_id
리턴 int

debug_releaseCount 공개적으로 프로퍼티

public int debug_releaseCount
리턴 int

debug_resetCount 공개적으로 프로퍼티

public int debug_resetCount
리턴 int