C# Class PixelFarm.Drawing.GLES2.MyGLCanvas

Afficher le fichier Open project: prepare/HTML-Renderer

Private Properties

Свойство Type Description
ClearPreviousStoredValues void
IDisposable void
MyGLCanvas System
ReleaseUnManagedResource void

Méthodes publiques

Méthode Description
ClearSurface ( PixelFarm c ) : void
CloseCanvas ( ) : void
DrawImage ( System.Image image, RectangleF destRect ) : void

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

DrawImage ( System.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 ( System.Image image, RectangleF destAndSrcPairs ) : void
DrawLine ( float x1, float y1, float x2, float y2 ) : void
DrawPath ( GraphicsPath gfxPath ) : void
DrawRectangle ( System.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 ( System.Color color, GraphicsPath gfxPath ) : void
FillPolygon ( Brush brush, PointF points ) : void
FillPolygon ( System.Color color, PointF points ) : void
FillRectangle ( Brush brush, float left, float top, float width, float height ) : void
FillRectangle ( System.Color color, float left, float top, float width, float height ) : void
Invalidate ( Rectangle rect ) : void
PopClipAreaRect ( ) : void
PushClipAreaRect ( int width, int height, Rectangle &updateArea ) : bool
RenderTo ( IntPtr destHdc, int sourceX, int sourceY, Rectangle destArea ) : void
ResetInvalidateArea ( ) : void
SetCanvasOrigin ( int x, int y ) : void
SetClipRect ( Rectangle rect, CombineMode combineMode = CombineMode.Replace ) : void
ToString ( ) : string
dbug_DrawCrossRect ( System.Color color, Rectangle rect ) : void
dbug_DrawRuler ( int x ) : void

Private Methods

Méthode Description
ClearPreviousStoredValues ( ) : void
IDisposable ( ) : void

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

MyGLCanvas ( CanvasGL2d canvasGL2d, int left, int top, int width, int height ) : System
ReleaseUnManagedResource ( ) : void

Method Details

ClearSurface() public méthode

public ClearSurface ( PixelFarm c ) : void
c PixelFarm
Résultat void

CloseCanvas() public méthode

public CloseCanvas ( ) : void
Résultat void

DrawImage() public méthode

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

DrawImage() public méthode

Draws the specified portion of the specified T:System.Drawing.Image at the specified location and with the specified size.
is null.
public DrawImage ( System.Image image, RectangleF destRect, RectangleF srcRect ) : void
image System.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.
Résultat void

DrawImages() public méthode

public DrawImages ( System.Image image, RectangleF destAndSrcPairs ) : void
image System.Image
destAndSrcPairs RectangleF
Résultat void

DrawLine() public méthode

public DrawLine ( float x1, float y1, float x2, float y2 ) : void
x1 float
y1 float
x2 float
y2 float
Résultat void

DrawPath() public méthode

public DrawPath ( GraphicsPath gfxPath ) : void
gfxPath GraphicsPath
Résultat void

DrawRectangle() public méthode

public DrawRectangle ( System.Color color, float left, float top, float width, float height ) : void
color System.Color
left float
top float
width float
height float
Résultat void

DrawText() public méthode

public DrawText ( char buffer, Rectangle logicalTextBox, int textAlignment ) : void
buffer char
logicalTextBox Rectangle
textAlignment int
Résultat void

DrawText() public méthode

public DrawText ( char buffer, int x, int y ) : void
buffer char
x int
y int
Résultat void

DrawText() public méthode

public DrawText ( char str, int startAt, int len, Rectangle logicalTextBox, int textAlignment ) : void
str char
startAt int
len int
logicalTextBox Rectangle
textAlignment int
Résultat void

FillPath() public méthode

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.
Résultat void

FillPath() public méthode

public FillPath ( System.Color color, GraphicsPath gfxPath ) : void
color System.Color
gfxPath GraphicsPath
Résultat void

FillPolygon() public méthode

public FillPolygon ( Brush brush, PointF points ) : void
brush Brush
points PointF
Résultat void

FillPolygon() public méthode

public FillPolygon ( System.Color color, PointF points ) : void
color System.Color
points PointF
Résultat void

FillRectangle() public méthode

public FillRectangle ( Brush brush, float left, float top, float width, float height ) : void
brush Brush
left float
top float
width float
height float
Résultat void

FillRectangle() public méthode

public FillRectangle ( System.Color color, float left, float top, float width, float height ) : void
color System.Color
left float
top float
width float
height float
Résultat void

Invalidate() public méthode

public Invalidate ( Rectangle rect ) : void
rect Rectangle
Résultat void

PopClipAreaRect() public méthode

public PopClipAreaRect ( ) : void
Résultat void

PushClipAreaRect() public méthode

public PushClipAreaRect ( int width, int height, Rectangle &updateArea ) : bool
width int
height int
updateArea Rectangle
Résultat bool

RenderTo() public méthode

public RenderTo ( IntPtr destHdc, int sourceX, int sourceY, Rectangle destArea ) : void
destHdc System.IntPtr
sourceX int
sourceY int
destArea Rectangle
Résultat void

ResetInvalidateArea() public méthode

public ResetInvalidateArea ( ) : void
Résultat void

SetCanvasOrigin() public méthode

public SetCanvasOrigin ( int x, int y ) : void
x int
y int
Résultat void

SetClipRect() public méthode

public SetClipRect ( Rectangle rect, CombineMode combineMode = CombineMode.Replace ) : void
rect Rectangle
combineMode CombineMode
Résultat void

ToString() public méthode

public ToString ( ) : string
Résultat string

dbug_DrawCrossRect() public méthode

public dbug_DrawCrossRect ( System.Color color, Rectangle rect ) : void
color System.Color
rect Rectangle
Résultat void

dbug_DrawRuler() public méthode

public dbug_DrawRuler ( int x ) : void
x int
Résultat void