C# 클래스 LayoutFarm.HtmlBoxes.PaintVisitor

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

공개 프로퍼티들

프로퍼티 타입 설명
dbugDrawWireFrame bool

Private Properties

프로퍼티 타입 설명
AddToLatePaintList void
ClearLatePaintItems void
EnterNewLatePaintContext void
ExitCurrentLatePaintContext void
GetLatePaintItem CssBox
PaintBorder void
PaintBorders void
PaintBorders void
PopLocalClipArea void
PushLocalClipArea bool

공개 메소드들

메소드 설명
Bind ( HtmlContainer htmlCont, Canvas canvas ) : void
DrawImage ( Image img, RectangleF r ) : void
DrawImage ( Image img, float x, float y, float w, float h ) : void
DrawLine ( float x1, float y1, float x2, float y2, Color strokeColor, float strokeW ) : void
DrawPath ( GraphicsPath path, Color strokeColor, float strokeW ) : void
DrawRectangle ( Color c, float x, float y, float w, float h ) : void
DrawText ( char str, int startAt, int len, PointF point, SizeF size ) : void
FillPath ( GraphicsPath path, Color fillColor ) : void
FillRectangle ( Color c, float x, float y, float w, float h ) : void
OffsetCanvasOrigin ( int dx, int dy ) : void
PaintVisitor ( ) : System
RequestImageAsync ( ImageBinder binder, CssImageRun imgRun, object requestFrom ) : void

async request for image

SetCanvasOrigin ( int x, int y ) : void
SetViewportSize ( float width, float height ) : void
UnBind ( ) : void
dbugDrawDiagonalBox ( Color color, RectangleF rect ) : void
dbugDrawDiagonalBox ( Color color, float x1, float y1, float x2, float y2 ) : void
dbugEnterNewContext ( CssBox box, PaintVisitorContextName contextName ) : void
dbugExitContext ( ) : void
dbugResetLogRecords ( ) : void

비공개 메소드들

메소드 설명
AddToLatePaintList ( CssBox box ) : void
ClearLatePaintItems ( ) : void
EnterNewLatePaintContext ( ) : void
ExitCurrentLatePaintContext ( ) : void
GetLatePaintItem ( int index ) : CssBox
PaintBorder ( CssBox box, CssSide border, Color solidColor, RectangleF rect ) : void
PaintBorders ( CssBox box, RectangleF rect ) : void
PaintBorders ( CssBox box, RectangleF stripArea, bool isFirstLine, bool isLastLine ) : void
PopLocalClipArea ( ) : void
PushLocalClipArea ( float w, float h ) : bool

push clip area relative to (0,0) of current CssBox

메소드 상세

Bind() 공개 메소드

public Bind ( HtmlContainer htmlCont, Canvas canvas ) : void
htmlCont HtmlContainer
canvas PixelFarm.Drawing.Canvas
리턴 void

DrawImage() 공개 메소드

public DrawImage ( Image img, RectangleF r ) : void
img Image
r PixelFarm.Drawing.RectangleF
리턴 void

DrawImage() 공개 메소드

public DrawImage ( Image img, float x, float y, float w, float h ) : void
img Image
x float
y float
w float
h float
리턴 void

DrawLine() 공개 메소드

public DrawLine ( float x1, float y1, float x2, float y2, Color strokeColor, float strokeW ) : void
x1 float
y1 float
x2 float
y2 float
strokeColor Color
strokeW float
리턴 void

DrawPath() 공개 메소드

public DrawPath ( GraphicsPath path, Color strokeColor, float strokeW ) : void
path PixelFarm.Drawing.GraphicsPath
strokeColor Color
strokeW float
리턴 void

DrawRectangle() 공개 메소드

public DrawRectangle ( Color c, float x, float y, float w, float h ) : void
c Color
x float
y float
w float
h float
리턴 void

DrawText() 공개 메소드

public DrawText ( char str, int startAt, int len, PointF point, SizeF size ) : void
str char
startAt int
len int
point PixelFarm.Drawing.PointF
size PixelFarm.Drawing.SizeF
리턴 void

FillPath() 공개 메소드

public FillPath ( GraphicsPath path, Color fillColor ) : void
path PixelFarm.Drawing.GraphicsPath
fillColor Color
리턴 void

FillRectangle() 공개 메소드

public FillRectangle ( Color c, float x, float y, float w, float h ) : void
c Color
x float
y float
w float
h float
리턴 void

OffsetCanvasOrigin() 공개 메소드

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

PaintVisitor() 공개 메소드

public PaintVisitor ( ) : System
리턴 System

RequestImageAsync() 공개 메소드

async request for image
public RequestImageAsync ( ImageBinder binder, CssImageRun imgRun, object requestFrom ) : void
binder ImageBinder
imgRun CssImageRun
requestFrom object
리턴 void

SetCanvasOrigin() 공개 메소드

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

SetViewportSize() 공개 메소드

public SetViewportSize ( float width, float height ) : void
width float
height float
리턴 void

UnBind() 공개 메소드

public UnBind ( ) : void
리턴 void

dbugDrawDiagonalBox() 공개 메소드

public dbugDrawDiagonalBox ( Color color, RectangleF rect ) : void
color Color
rect PixelFarm.Drawing.RectangleF
리턴 void

dbugDrawDiagonalBox() 공개 메소드

public dbugDrawDiagonalBox ( Color color, float x1, float y1, float x2, float y2 ) : void
color Color
x1 float
y1 float
x2 float
y2 float
리턴 void

dbugEnterNewContext() 공개 메소드

public dbugEnterNewContext ( CssBox box, PaintVisitorContextName contextName ) : void
box CssBox
contextName PaintVisitorContextName
리턴 void

dbugExitContext() 공개 메소드

public dbugExitContext ( ) : void
리턴 void

dbugResetLogRecords() 공개 메소드

public dbugResetLogRecords ( ) : void
리턴 void

프로퍼티 상세

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

turn on/off wire frame
public static bool dbugDrawWireFrame
리턴 bool