C# 클래스 PixelFarm.Drawing.WinGdi.MyGdiPlusCanvas

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

공개 프로퍼티들

프로퍼티 타입 설명
dbugDrawStringCount int

Private Properties

프로퍼티 타입 설명
ClearPreviousStoredValues void
ConvColor System.Drawing.Color
ConvPointFArray System.Drawing.PointF[]
CreateGraphicsFromNativeHdc void
IDisposable void
MyGdiPlusCanvas System
ReleaseUnManagedResource void
ResolveGraphicsPath System.Drawing.Drawing2D.GraphicsPath
ResolveInnerBmp System.Drawing.Bitmap

공개 메소드들

메소드 설명
ClearSurface ( PixelFarm c ) : void
CloseCanvas ( ) : void
DrawImage ( Image image, RectangleF destRect ) : void

Draws the specified T:System.Drawing.Image at the specified location and with the specified size.

DrawImage ( Image image, RectangleF destRect, RectangleF srcRect ) : void

Draws the specified portion of the specified T:System.Drawing.Image at the specified location and with the specified size.

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 str, int startAt, int len, Rectangle logicalTextBox, int textAlignment ) : void
FillPath ( Brush brush, GraphicsPath path ) : void

Fills the interior of a T:System.Drawing.Drawing2D.GraphicsPath.

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
IntersectsWith ( Rectangle clientRect ) : bool
Invalidate ( Rectangle rect ) : void
IsPageNumber ( int hPageNum, int vPageNum ) : bool
PopClipAreaRect ( ) : void
PushClipAreaRect ( int width, int height, Rectangle &updateArea ) : bool
RenderTo ( IntPtr destHdc, int sourceX, int sourceY, Rectangle destArea ) : void
Reset ( int hPageNum, int vPageNum, int newWidth, int newHeight ) : void
ResetInvalidateArea ( ) : void
Reuse ( int hPageNum, int vPageNum ) : void
SetCanvasOrigin ( int x, int y ) : void
SetClipRect ( Rectangle rect, CombineMode combineMode = CombineMode.Replace ) : void

Sets the clipping region of this T:System.Drawing.Graphics to the result of the specified operation combining the current clip region and the rectangle specified by a T:System.Drawing.RectangleF structure.

ToString ( ) : string
dbug_DrawCrossRect ( Color color, Rectangle rect ) : void
dbug_DrawRuler ( int x ) : void

비공개 메소드들

메소드 설명
ClearPreviousStoredValues ( ) : void
ConvColor ( Color c ) : System.Drawing.Color
ConvPointFArray ( PointF points ) : System.Drawing.PointF[]
CreateGraphicsFromNativeHdc ( int width, int height ) : void
IDisposable ( ) : void

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

MyGdiPlusCanvas ( int horizontalPageNum, int verticalPageNum, int left, int top, int width, int height ) : System
ReleaseUnManagedResource ( ) : void
ResolveGraphicsPath ( GraphicsPath path ) : System.Drawing.Drawing2D.GraphicsPath
ResolveInnerBmp ( Image image ) : System.Drawing.Bitmap

메소드 상세

ClearSurface() 공개 메소드

public ClearSurface ( PixelFarm c ) : void
c PixelFarm
리턴 void

CloseCanvas() 공개 메소드

public CloseCanvas ( ) : void
리턴 void

DrawImage() 공개 메소드

Draws the specified T:System.Drawing.Image at the specified location and with the specified size.
is null.
public DrawImage ( Image image, RectangleF destRect ) : void
image Image to draw.
destRect RectangleF structure that specifies the location and size of the drawn image.
리턴 void

DrawImage() 공개 메소드

Draws the specified portion of the specified T:System.Drawing.Image at the specified location and with the specified size.
is null.
public DrawImage ( Image image, RectangleF destRect, RectangleF srcRect ) : void
image Image to draw.
destRect RectangleF structure that specifies the location and size of the drawn image. The image is scaled to fit the rectangle.
srcRect RectangleF structure that specifies the portion of the object to draw.
리턴 void

DrawImages() 공개 메소드

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

DrawLine() 공개 메소드

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

DrawPath() 공개 메소드

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

DrawRectangle() 공개 메소드

public 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 DrawText ( char buffer, Rectangle logicalTextBox, int textAlignment ) : void
buffer char
logicalTextBox Rectangle
textAlignment int
리턴 void

DrawText() 공개 메소드

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

DrawText() 공개 메소드

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

FillPath() 공개 메소드

Fills the interior of a T:System.Drawing.Drawing2D.GraphicsPath.
is null.-or- is null.
public FillPath ( Brush brush, GraphicsPath path ) : void
brush Brush that determines the characteristics of the fill.
path GraphicsPath that represents the path to fill.
리턴 void

FillPath() 공개 메소드

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

FillPolygon() 공개 메소드

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

FillPolygon() 공개 메소드

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

FillRectangle() 공개 메소드

public 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 FillRectangle ( Color color, float left, float top, float width, float height ) : void
color Color
left float
top float
width float
height float
리턴 void

IntersectsWith() 공개 메소드

public IntersectsWith ( Rectangle clientRect ) : bool
clientRect Rectangle
리턴 bool

Invalidate() 공개 메소드

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

IsPageNumber() 공개 메소드

public IsPageNumber ( int hPageNum, int vPageNum ) : bool
hPageNum int
vPageNum int
리턴 bool

PopClipAreaRect() 공개 메소드

public PopClipAreaRect ( ) : void
리턴 void

PushClipAreaRect() 공개 메소드

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

RenderTo() 공개 메소드

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

Reset() 공개 메소드

public Reset ( int hPageNum, int vPageNum, int newWidth, int newHeight ) : void
hPageNum int
vPageNum int
newWidth int
newHeight int
리턴 void

ResetInvalidateArea() 공개 메소드

public ResetInvalidateArea ( ) : void
리턴 void

Reuse() 공개 메소드

public Reuse ( int hPageNum, int vPageNum ) : void
hPageNum int
vPageNum int
리턴 void

SetCanvasOrigin() 공개 메소드

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

SetClipRect() 공개 메소드

Sets the clipping region of this T:System.Drawing.Graphics to the result of the specified operation combining the current clip region and the rectangle specified by a T:System.Drawing.RectangleF structure.
public SetClipRect ( Rectangle rect, CombineMode combineMode = CombineMode.Replace ) : void
rect Rectangle structure to combine.
combineMode CombineMode Member of the enumeration that specifies the combining operation to use.
리턴 void

ToString() 공개 메소드

public ToString ( ) : string
리턴 string

dbug_DrawCrossRect() 공개 메소드

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

dbug_DrawRuler() 공개 메소드

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

프로퍼티 상세

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

public static int dbugDrawStringCount
리턴 int