C# Class NewTOAPIA.Drawing.GDIPlusRenderer

Inheritance: IGraphPort
Exibir arquivo Open project: Wiladams/NewTOAPIA

Public Methods

Method Description
AlphaBlend ( int x, int y, int width, int height, GDIPixmap bitmap, int srcX, int srcY, int srcWidth, int srcHeight, byte alpha ) : void
BitBlt ( int x, int y, GDIDIBSection bitmap ) : void
DrawBeziers ( GDIPen aPen, Point points ) : void
DrawEllipse ( GDIPen aPen, Rectangle rect ) : void
DrawGradientRectangle ( GradientRect aGradient ) : void
DrawImage ( GDIPixmap bitmap, Point destinationParallelogram, Rectangle srcRect, GraphicsUnit units ) : void
DrawLine ( GDIPen aPen, Point startPoint, Point endPoint ) : void
DrawLines ( GDIPen aPen, Point points ) : void
DrawPath ( GDIPen aPen, GPath aPath ) : void
DrawRectangle ( GDIPen aPen, Rectangle rect ) : void

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

DrawRectangles ( GDIPen aPen, Rectangle rects ) : void
DrawRoundRect ( GDIPen aPen, Rectangle rect, int xRadius, int yRadius ) : void
DrawString ( int x, int y, string aString ) : void
FillEllipse ( GDIBrush aBrush, Rectangle rect ) : void
FillPath ( GDIBrush aBrush, GPath aPath ) : void
FillRectangle ( GDIBrush aBrush, Rectangle rect ) : void
Flush ( ) : void
GDIPlusRenderer ( Graphics devContext ) : System
GetPixel ( int x, int y ) : uint
MoveTo ( int x, int y ) : void
PixBlt ( IPixelArray bitmap, int x, int y ) : void
PixmapShardBlt ( IPixelArray bitmap, Rectangle srcRect, Rectangle dstRect ) : void
Polygon ( System points ) : void
ResetClip ( ) : void
ResetState ( ) : void
RestoreState ( int toState ) : void
RotateTransform ( float angle, int x, int y ) : void
SaveState ( ) : void
ScaleBitmap ( GDIPixmap aBitmap, Rectangle aFrame ) : void
ScaleTransform ( float scaleX, float scaleY ) : void
SelectObject ( IntPtr objectHandle ) : IntPtr
SelectObject ( GDIBrush aBrush ) : void
SelectObject ( GDIFont aFont ) : void
SelectObject ( GDIPen aPen ) : void
SelectObject ( IUniqueGDIObject aObject ) : void
SelectStockObject ( int objectIndex ) : void
SelectUniqueObject ( System.Guid objectID ) : void
SetBkColor ( uint colorref ) : void
SetBkMode ( int bkMode ) : void
SetBrush ( GDIBrush aBrush ) : void
SetClipRectangle ( Rectangle clipRect ) : void
SetFont ( GDIFont aFont ) : void
SetMappingMode ( MappingModes aMode ) : void
SetPen ( IPen aPen ) : void
SetPixel ( int x, int y, Color colorref ) : void
SetPolyFillMode ( PolygonFillMode fillMode ) : void
SetROP2 ( BinaryRasterOps rasOp ) : void
SetTextColor ( uint colorref ) : void
SetWorldTransform ( Transform2D aTransform ) : void
TranslateTransform ( int dx, int dy ) : void

Method Details

AlphaBlend() public method

public AlphaBlend ( int x, int y, int width, int height, GDIPixmap bitmap, int srcX, int srcY, int srcWidth, int srcHeight, byte alpha ) : void
x int
y int
width int
height int
bitmap GDIPixmap
srcX int
srcY int
srcWidth int
srcHeight int
alpha byte
return void

BitBlt() public method

public BitBlt ( int x, int y, GDIDIBSection bitmap ) : void
x int
y int
bitmap GDIDIBSection
return void

DrawBeziers() public method

public DrawBeziers ( GDIPen aPen, Point points ) : void
aPen GDIPen
points Point
return void

DrawEllipse() public method

public DrawEllipse ( GDIPen aPen, Rectangle rect ) : void
aPen GDIPen
rect System.Drawing.Rectangle
return void

DrawGradientRectangle() public method

public DrawGradientRectangle ( GradientRect aGradient ) : void
aGradient GradientRect
return void

DrawImage() public method

public DrawImage ( GDIPixmap bitmap, Point destinationParallelogram, Rectangle srcRect, GraphicsUnit units ) : void
bitmap GDIPixmap
destinationParallelogram Point
srcRect System.Drawing.Rectangle
units GraphicsUnit
return void

DrawLine() public method

public DrawLine ( GDIPen aPen, Point startPoint, Point endPoint ) : void
aPen GDIPen
startPoint Point
endPoint Point
return void

DrawLines() public method

public DrawLines ( GDIPen aPen, Point points ) : void
aPen GDIPen
points Point
return void

DrawPath() public method

public DrawPath ( GDIPen aPen, GPath aPath ) : void
aPen GDIPen
aPath GPath
return void

DrawRectangle() public method

Draw the frame of a rectangle using a pen. Leave the interior alone.
public DrawRectangle ( GDIPen aPen, Rectangle rect ) : void
aPen GDIPen
rect System.Drawing.Rectangle
return void

DrawRectangles() public method

public DrawRectangles ( GDIPen aPen, Rectangle rects ) : void
aPen GDIPen
rects System.Drawing.Rectangle
return void

DrawRoundRect() public method

public DrawRoundRect ( GDIPen aPen, Rectangle rect, int xRadius, int yRadius ) : void
aPen GDIPen
rect System.Drawing.Rectangle
xRadius int
yRadius int
return void

DrawString() public method

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

FillEllipse() public method

public FillEllipse ( GDIBrush aBrush, Rectangle rect ) : void
aBrush GDIBrush
rect System.Drawing.Rectangle
return void

FillPath() public method

public FillPath ( GDIBrush aBrush, GPath aPath ) : void
aBrush GDIBrush
aPath GPath
return void

FillRectangle() public method

public FillRectangle ( GDIBrush aBrush, Rectangle rect ) : void
aBrush GDIBrush
rect System.Drawing.Rectangle
return void

Flush() public method

public Flush ( ) : void
return void

GDIPlusRenderer() public method

public GDIPlusRenderer ( Graphics devContext ) : System
devContext System.Drawing.Graphics
return System

GetPixel() public method

public GetPixel ( int x, int y ) : uint
x int
y int
return uint

MoveTo() public method

public MoveTo ( int x, int y ) : void
x int
y int
return void

PixBlt() public method

public PixBlt ( IPixelArray bitmap, int x, int y ) : void
bitmap IPixelArray
x int
y int
return void

PixmapShardBlt() public method

public PixmapShardBlt ( IPixelArray bitmap, Rectangle srcRect, Rectangle dstRect ) : void
bitmap IPixelArray
srcRect System.Drawing.Rectangle
dstRect System.Drawing.Rectangle
return void

Polygon() public method

public Polygon ( System points ) : void
points System
return void

ResetClip() public method

public ResetClip ( ) : void
return void

ResetState() public method

public ResetState ( ) : void
return void

RestoreState() public method

public RestoreState ( int toState ) : void
toState int
return void

RotateTransform() public method

public RotateTransform ( float angle, int x, int y ) : void
angle float
x int
y int
return void

SaveState() public method

public SaveState ( ) : void
return void

ScaleBitmap() public method

public ScaleBitmap ( GDIPixmap aBitmap, Rectangle aFrame ) : void
aBitmap GDIPixmap
aFrame System.Drawing.Rectangle
return void

ScaleTransform() public method

public ScaleTransform ( float scaleX, float scaleY ) : void
scaleX float
scaleY float
return void

SelectObject() public method

public SelectObject ( IntPtr objectHandle ) : IntPtr
objectHandle System.IntPtr
return System.IntPtr

SelectObject() public method

public SelectObject ( GDIBrush aBrush ) : void
aBrush GDIBrush
return void

SelectObject() public method

public SelectObject ( GDIFont aFont ) : void
aFont GDIFont
return void

SelectObject() public method

public SelectObject ( GDIPen aPen ) : void
aPen GDIPen
return void

SelectObject() public method

public SelectObject ( IUniqueGDIObject aObject ) : void
aObject IUniqueGDIObject
return void

SelectStockObject() public method

public SelectStockObject ( int objectIndex ) : void
objectIndex int
return void

SelectUniqueObject() public method

public SelectUniqueObject ( System.Guid objectID ) : void
objectID System.Guid
return void

SetBkColor() public method

public SetBkColor ( uint colorref ) : void
colorref uint
return void

SetBkMode() public method

public SetBkMode ( int bkMode ) : void
bkMode int
return void

SetBrush() public method

public SetBrush ( GDIBrush aBrush ) : void
aBrush GDIBrush
return void

SetClipRectangle() public method

public SetClipRectangle ( Rectangle clipRect ) : void
clipRect System.Drawing.Rectangle
return void

SetFont() public method

public SetFont ( GDIFont aFont ) : void
aFont GDIFont
return void

SetMappingMode() public method

public SetMappingMode ( MappingModes aMode ) : void
aMode MappingModes
return void

SetPen() public method

public SetPen ( IPen aPen ) : void
aPen IPen
return void

SetPixel() public method

public SetPixel ( int x, int y, Color colorref ) : void
x int
y int
colorref Color
return void

SetPolyFillMode() public method

public SetPolyFillMode ( PolygonFillMode fillMode ) : void
fillMode PolygonFillMode
return void

SetROP2() public method

public SetROP2 ( BinaryRasterOps rasOp ) : void
rasOp BinaryRasterOps
return void

SetTextColor() public method

public SetTextColor ( uint colorref ) : void
colorref uint
return void

SetWorldTransform() public method

public SetWorldTransform ( Transform2D aTransform ) : void
aTransform Transform2D
return void

TranslateTransform() public method

public TranslateTransform ( int dx, int dy ) : void
dx int
dy int
return void