C# 클래스 GDIGeometryRenderer, NewTOAPIA

A bit about drawing with GDI32. There are several parameters that determine exactly what's going to get drawn on the screen RasterOp Pen Brush Background Color Foreground Line Drawing X X Curve Drawing Framing
상속: IRenderGDI
파일 보기 프로젝트 열기: Wiladams/NewTOAPIA 1 사용 예제들

공개 메소드들

메소드 설명
AlphaBlend ( int x, int y, int width, int height, IntPtr srchDC, int srcX, int srcY, int srcWidth, int srcHeight, byte alpha ) : bool
BeginPath ( ) : bool
BitBlt ( int x, int y, int nWidth, int nHeight, IntPtr hSrcDC, int xSrc, int ySrc, TernaryRasterOps dwRop ) : bool
BitBlt ( int x, int y, PixelBuffer, bitmap ) : void
BlendPixel ( Point aPoint, uint colorref, byte alpha ) : bool
CreateBitmap ( int width, int height ) : PixelBuffer,
CreateBrush ( int aStyle, int hatch, uint colorref, System.Guid uniqueID ) : Brush,
CreatePen ( int aStyle, int width, uint color, System.Guid uniqueID ) : Pen,
DrawBitmap ( PixelBuffer, img, Point origin ) : void

DrawImage, will draw the supplied image graphic on the screen. It will use the Image's frame and size to determine where to display it.

DrawBitmap ( PixelBuffer, img, Rectangle, srcRect, Rectangle, dstRect ) : void
DrawEllipse ( EllipseG, aEllipse, Pen, aPen, Brush, aBrush ) : void
DrawLine ( LineG, aLine, Pen, pen ) : void
DrawLine ( Point startPoint, Point endPoint ) : void
DrawLine ( int x1, int y1, int x2, int y2 ) : void
DrawPath ( ) : bool
DrawPolygon ( Point points ) : void
DrawPolygon ( Point points, Pen, aPen, Brush, aBrush ) : void
DrawPolygon ( PolygonG, poly, Pen, aPen, Brush, aBrush ) : void
DrawRectangle ( Rectangle, aRect, Pen, aPen, Brush, aBrush ) : void
DrawString ( int x, int y, string aString ) : void
Ellipse ( int left, int top, int right, int bottom ) : void
EndPath ( ) : bool
FillEllipse ( EllipseG, aEllipse, Brush, aBrush ) : void
FillPath ( ) : bool
FillPolygon ( PolygonG, poly, Brush, aBrush ) : void
FillRectangle ( Rectangle, aRect, Brush, aBrush ) : void
Flush ( ) : void
FrameEllipse ( EllipseG, aEllipse, Pen, aPen ) : void
FramePath ( ) : bool
FramePolygon ( PolygonG, poly, Pen, aPen ) : void
FrameRectangle ( Rectangle, aRect, Pen, pen ) : void
GDIGeometryRenderer ( GDIDeviceContext devContext ) : System
GetPixel ( int x, int y ) : uint
GradientFill ( TRIVERTEX pVertex, GRADIENT_RECT pMesh, uint dwMode ) : void
GradientFill ( TRIVERTEX pVertex, GRADIENT_TRIANGLE pMesh, uint dwMode ) : void
LineTo ( Point toPoint ) : void
LineTo ( int x, int y ) : void
MeasureCharacter ( char c, int &width, int &height ) : void
MoveTo ( Point aPoint ) : void
MoveTo ( int x, int y ) : void
OffsetWindowOrigin ( int x, int y ) : void
PlgBlt ( Point lpPoint, IntPtr hdcSrc, int srcX, int srcY, int width, int height, IntPtr hbmMask, int xMask, int yMask ) : bool
PolyBezier ( Point points ) : void
PolyDraw ( Point apt, byte aj ) : void
PolyLine ( Point points ) : void
Polygon ( Point points ) : void
Rectangle ( Rectangle, aRect ) : void
Rectangle ( int left, int top, int right, int bottom ) : void

Draw the frame of a rectangle using a pen. Leave the interior alone.

ResetClip ( ) : void
RestoreState ( ) : void
RestoreState ( int relative ) : void
RoundRect ( int left, int top, int right, int bottom, int width, int height ) : void
SaveState ( ) : void
SelectObject ( Brush, aBrush ) : void
SelectObject ( Font, aFont ) : void
SelectObject ( IntPtr objectHandle ) : void
SelectObject ( Pen, aPen ) : void
SelectStockObject ( int objectIndex ) : void
SelectUniqueObject ( System.Guid objectID ) : void
SetBkColor ( uint colorref ) : void
SetBkMode ( int bkMode ) : void
SetClip ( Rectangle, clipRect ) : void
SetClip ( Region, clipRegion ) : void
SetDefaultBrushColor ( uint colorref ) : void
SetDefaultPenColor ( uint colorref ) : void
SetMappingMode ( MappingModes aMode ) : void
SetPathAsClipRegion ( ) : bool
SetPen ( Pen, aPen ) : void
SetPixel ( int x, int y, uint colorref ) : void
SetPolyFillMode ( int fillMode ) : void
SetTextColor ( uint colorref ) : void
SetViewportExtent ( int width, int height ) : void
SetViewportOrigin ( int x, int y ) : void
SetWindowExtent ( int width, int height ) : Size,
SetWindowOrigin ( int x, int y ) : void
StretchBlt ( int x, int y, int width, int height, IntPtr srchDC, int srcX, int srcY, int srcWidth, int srcHeight, TernaryRasterOps dwRop ) : bool
TranslateTransform ( int dx, int dy ) : bool
UseDefaultBrush ( ) : void
UseDefaultPen ( ) : void

비공개 메소드들

메소드 설명
GetWorldTransform ( ) : XFORM
SetWorldTransform ( XFORM aTransform ) : bool

메소드 상세

AlphaBlend() 공개 메소드

public AlphaBlend ( int x, int y, int width, int height, IntPtr srchDC, int srcX, int srcY, int srcWidth, int srcHeight, byte alpha ) : bool
x int
y int
width int
height int
srchDC IntPtr
srcX int
srcY int
srcWidth int
srcHeight int
alpha byte
리턴 bool

BeginPath() 공개 메소드

public BeginPath ( ) : bool
리턴 bool

BitBlt() 공개 메소드

public BitBlt ( int x, int y, int nWidth, int nHeight, IntPtr hSrcDC, int xSrc, int ySrc, TernaryRasterOps dwRop ) : bool
x int
y int
nWidth int
nHeight int
hSrcDC IntPtr
xSrc int
ySrc int
dwRop TernaryRasterOps
리턴 bool

BitBlt() 공개 메소드

public BitBlt ( int x, int y, PixelBuffer, bitmap ) : void
x int
y int
bitmap PixelBuffer,
리턴 void

BlendPixel() 공개 메소드

public BlendPixel ( Point aPoint, uint colorref, byte alpha ) : bool
aPoint Point
colorref uint
alpha byte
리턴 bool

CreateBitmap() 공개 메소드

public CreateBitmap ( int width, int height ) : PixelBuffer,
width int
height int
리턴 PixelBuffer,

CreateBrush() 공개 메소드

public CreateBrush ( int aStyle, int hatch, uint colorref, System.Guid uniqueID ) : Brush,
aStyle int
hatch int
colorref uint
uniqueID System.Guid
리턴 Brush,

CreatePen() 공개 메소드

public CreatePen ( int aStyle, int width, uint color, System.Guid uniqueID ) : Pen,
aStyle int
width int
color uint
uniqueID System.Guid
리턴 Pen,

DrawBitmap() 공개 메소드

DrawImage, will draw the supplied image graphic on the screen. It will use the Image's frame and size to determine where to display it.
public DrawBitmap ( PixelBuffer, img, Point origin ) : void
img PixelBuffer,
origin Point
리턴 void

DrawBitmap() 공개 메소드

public DrawBitmap ( PixelBuffer, img, Rectangle, srcRect, Rectangle, dstRect ) : void
img PixelBuffer,
srcRect Rectangle,
dstRect Rectangle,
리턴 void

DrawEllipse() 공개 메소드

public DrawEllipse ( EllipseG, aEllipse, Pen, aPen, Brush, aBrush ) : void
aEllipse EllipseG,
aPen Pen,
aBrush Brush,
리턴 void

DrawLine() 공개 메소드

public DrawLine ( LineG, aLine, Pen, pen ) : void
aLine LineG,
pen Pen,
리턴 void

DrawLine() 공개 메소드

public DrawLine ( Point startPoint, Point endPoint ) : void
startPoint Point
endPoint Point
리턴 void

DrawLine() 공개 메소드

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

DrawPath() 공개 메소드

public DrawPath ( ) : bool
리턴 bool

DrawPolygon() 공개 메소드

public DrawPolygon ( Point points ) : void
points Point
리턴 void

DrawPolygon() 공개 메소드

public DrawPolygon ( Point points, Pen, aPen, Brush, aBrush ) : void
points Point
aPen Pen,
aBrush Brush,
리턴 void

DrawPolygon() 공개 메소드

public DrawPolygon ( PolygonG, poly, Pen, aPen, Brush, aBrush ) : void
poly PolygonG,
aPen Pen,
aBrush Brush,
리턴 void

DrawRectangle() 공개 메소드

public DrawRectangle ( Rectangle, aRect, Pen, aPen, Brush, aBrush ) : void
aRect Rectangle,
aPen Pen,
aBrush Brush,
리턴 void

DrawString() 공개 메소드

public DrawString ( int x, int y, string aString ) : void
x int
y int
aString string
리턴 void

Ellipse() 공개 메소드

public Ellipse ( int left, int top, int right, int bottom ) : void
left int
top int
right int
bottom int
리턴 void

EndPath() 공개 메소드

public EndPath ( ) : bool
리턴 bool

FillEllipse() 공개 메소드

public FillEllipse ( EllipseG, aEllipse, Brush, aBrush ) : void
aEllipse EllipseG,
aBrush Brush,
리턴 void

FillPath() 공개 메소드

public FillPath ( ) : bool
리턴 bool

FillPolygon() 공개 메소드

public FillPolygon ( PolygonG, poly, Brush, aBrush ) : void
poly PolygonG,
aBrush Brush,
리턴 void

FillRectangle() 공개 메소드

public FillRectangle ( Rectangle, aRect, Brush, aBrush ) : void
aRect Rectangle,
aBrush Brush,
리턴 void

Flush() 공개 메소드

public Flush ( ) : void
리턴 void

FrameEllipse() 공개 메소드

public FrameEllipse ( EllipseG, aEllipse, Pen, aPen ) : void
aEllipse EllipseG,
aPen Pen,
리턴 void

FramePath() 공개 메소드

public FramePath ( ) : bool
리턴 bool

FramePolygon() 공개 메소드

public FramePolygon ( PolygonG, poly, Pen, aPen ) : void
poly PolygonG,
aPen Pen,
리턴 void

FrameRectangle() 공개 메소드

public FrameRectangle ( Rectangle, aRect, Pen, pen ) : void
aRect Rectangle,
pen Pen,
리턴 void

GDIGeometryRenderer() 공개 메소드

public GDIGeometryRenderer ( GDIDeviceContext devContext ) : System
devContext GDIDeviceContext
리턴 System

GetPixel() 공개 메소드

public GetPixel ( int x, int y ) : uint
x int
y int
리턴 uint

GradientFill() 공개 메소드

public GradientFill ( TRIVERTEX pVertex, GRADIENT_RECT pMesh, uint dwMode ) : void
pVertex TRIVERTEX
pMesh TOAPI.Types.GRADIENT_RECT
dwMode uint
리턴 void

GradientFill() 공개 메소드

public GradientFill ( TRIVERTEX pVertex, GRADIENT_TRIANGLE pMesh, uint dwMode ) : void
pVertex TRIVERTEX
pMesh TOAPI.Types.GRADIENT_TRIANGLE
dwMode uint
리턴 void

LineTo() 공개 메소드

public LineTo ( Point toPoint ) : void
toPoint Point
리턴 void

LineTo() 공개 메소드

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

MeasureCharacter() 공개 메소드

public MeasureCharacter ( char c, int &width, int &height ) : void
c char
width int
height int
리턴 void

MoveTo() 공개 메소드

public MoveTo ( Point aPoint ) : void
aPoint Point
리턴 void

MoveTo() 공개 메소드

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

OffsetWindowOrigin() 공개 메소드

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

PlgBlt() 공개 메소드

public PlgBlt ( Point lpPoint, IntPtr hdcSrc, int srcX, int srcY, int width, int height, IntPtr hbmMask, int xMask, int yMask ) : bool
lpPoint Point
hdcSrc IntPtr
srcX int
srcY int
width int
height int
hbmMask IntPtr
xMask int
yMask int
리턴 bool

PolyBezier() 공개 메소드

public PolyBezier ( Point points ) : void
points Point
리턴 void

PolyDraw() 공개 메소드

public PolyDraw ( Point apt, byte aj ) : void
apt Point
aj byte
리턴 void

PolyLine() 공개 메소드

public PolyLine ( Point points ) : void
points Point
리턴 void

Polygon() 공개 메소드

public Polygon ( Point points ) : void
points Point
리턴 void

Rectangle() 공개 메소드

public Rectangle ( Rectangle, aRect ) : void
aRect Rectangle,
리턴 void

Rectangle() 공개 메소드

Draw the frame of a rectangle using a pen. Leave the interior alone.
public Rectangle ( int left, int top, int right, int bottom ) : void
left int
top int
right int
bottom int
리턴 void

ResetClip() 공개 메소드

public ResetClip ( ) : void
리턴 void

RestoreState() 공개 메소드

public RestoreState ( ) : void
리턴 void

RestoreState() 공개 메소드

public RestoreState ( int relative ) : void
relative int
리턴 void

RoundRect() 공개 메소드

public RoundRect ( int left, int top, int right, int bottom, int width, int height ) : void
left int
top int
right int
bottom int
width int
height int
리턴 void

SaveState() 공개 메소드

public SaveState ( ) : void
리턴 void

SelectObject() 공개 메소드

public SelectObject ( Brush, aBrush ) : void
aBrush Brush,
리턴 void

SelectObject() 공개 메소드

public SelectObject ( Font, aFont ) : void
aFont Font,
리턴 void

SelectObject() 공개 메소드

public SelectObject ( IntPtr objectHandle ) : void
objectHandle IntPtr
리턴 void

SelectObject() 공개 메소드

public SelectObject ( Pen, aPen ) : void
aPen Pen,
리턴 void

SelectStockObject() 공개 메소드

public SelectStockObject ( int objectIndex ) : void
objectIndex int
리턴 void

SelectUniqueObject() 공개 메소드

public SelectUniqueObject ( System.Guid objectID ) : void
objectID System.Guid
리턴 void

SetBkColor() 공개 메소드

public SetBkColor ( uint colorref ) : void
colorref uint
리턴 void

SetBkMode() 공개 메소드

public SetBkMode ( int bkMode ) : void
bkMode int
리턴 void

SetClip() 공개 메소드

public SetClip ( Rectangle, clipRect ) : void
clipRect Rectangle,
리턴 void

SetClip() 공개 메소드

public SetClip ( Region, clipRegion ) : void
clipRegion Region,
리턴 void

SetDefaultBrushColor() 공개 메소드

public SetDefaultBrushColor ( uint colorref ) : void
colorref uint
리턴 void

SetDefaultPenColor() 공개 메소드

public SetDefaultPenColor ( uint colorref ) : void
colorref uint
리턴 void

SetMappingMode() 공개 메소드

public SetMappingMode ( MappingModes aMode ) : void
aMode MappingModes
리턴 void

SetPathAsClipRegion() 공개 메소드

public SetPathAsClipRegion ( ) : bool
리턴 bool

SetPen() 공개 메소드

public SetPen ( Pen, aPen ) : void
aPen Pen,
리턴 void

SetPixel() 공개 메소드

public SetPixel ( int x, int y, uint colorref ) : void
x int
y int
colorref uint
리턴 void

SetPolyFillMode() 공개 메소드

public SetPolyFillMode ( int fillMode ) : void
fillMode int
리턴 void

SetTextColor() 공개 메소드

public SetTextColor ( uint colorref ) : void
colorref uint
리턴 void

SetViewportExtent() 공개 메소드

public SetViewportExtent ( int width, int height ) : void
width int
height int
리턴 void

SetViewportOrigin() 공개 메소드

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

SetWindowExtent() 공개 메소드

public SetWindowExtent ( int width, int height ) : Size,
width int
height int
리턴 Size,

SetWindowOrigin() 공개 메소드

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

StretchBlt() 공개 메소드

public StretchBlt ( int x, int y, int width, int height, IntPtr srchDC, int srcX, int srcY, int srcWidth, int srcHeight, TernaryRasterOps dwRop ) : bool
x int
y int
width int
height int
srchDC IntPtr
srcX int
srcY int
srcWidth int
srcHeight int
dwRop TernaryRasterOps
리턴 bool

TranslateTransform() 공개 메소드

public TranslateTransform ( int dx, int dy ) : bool
dx int
dy int
리턴 bool

UseDefaultBrush() 공개 메소드

public UseDefaultBrush ( ) : void
리턴 void

UseDefaultPen() 공개 메소드

public UseDefaultPen ( ) : void
리턴 void