C# Class PixelFarm.DrawingGL.CanvasGL2d

Afficher le fichier Open project: prepare/HTML-Renderer Class Usage Examples

Méthodes publiques

Méthode Description
AttachFrameBuffer ( FrameBuffer frameBuffer ) : void
Clear ( PixelFarm c ) : void
ClearColorBuffer ( ) : void
CreateFrameBuffer ( int w, int h ) : FrameBuffer
DetachFrameBuffer ( bool updateTextureResult = true ) : void
DisableClipRect ( ) : void
Dispose ( ) : void
DrawFrameBuffer ( FrameBuffer frameBuffer, float x, float y ) : void
DrawGfxPath ( Drawing color, InternalGraphicsPath igpth ) : void
DrawImage ( GLBitmap bmp, Drawing srcRect, float x, float y, float w, float h ) : void
DrawImage ( GLBitmap bmp, float x, float y ) : void
DrawImage ( GLBitmap bmp, float x, float y, float w, float h ) : void
DrawImage ( GLBitmapReference bmp, float x, float y ) : void
DrawImageWithBlurX ( GLBitmap bmp, float x, float y ) : void
DrawImageWithBlurY ( GLBitmap bmp, float x, float y ) : void
DrawImageWithConv3x3 ( GLBitmap bmp, float kernel3x3, float x, float y ) : void
DrawImageWithMsdf ( GLBitmap bmp, float x, float y ) : void
DrawImageWithMsdf ( GLBitmap bmp, float x, float y, float scale ) : void
DrawImageWithSdf ( GLBitmap bmp, float x, float y, float scale ) : void
DrawImageWithSubPixelRenderingMsdf ( GLBitmap bmp, float x, float y ) : void
DrawImageWithSubPixelRenderingMsdf ( GLBitmap bmp, float x, float y, float scale ) : void
DrawImageWithWhiteTransparent ( GLBitmap bmp, float x, float y ) : void
DrawLine ( float x1, float y1, float x2, float y2 ) : void
DrawRect ( float x, float y, float w, float h ) : void
DrawRenderVx ( Drawing color, Drawing renderVx ) : void
DrawSubImage ( GLBitmap bmp, PixelFarm &r, float targetLeft, float targetTop ) : void
DrawSubImage ( GLBitmap bmp, float srcLeft, float srcTop, float srcW, float srcH, float targetLeft, float targetTop ) : void
DrawSubImageWithMsdf ( GLBitmap bmp, PixelFarm &r, float targetLeft, float targetTop ) : void
DrawSubImageWithMsdf ( GLBitmap bmp, PixelFarm &r, float targetLeft, float targetTop, float scale ) : void
DrawSubImageWithMsdf ( GLBitmap bmp, float coords, float scale ) : void
EnableClipRect ( ) : void
FillGfxPath ( Drawing color, InternalGraphicsPath igpth ) : void
FillRenderVx ( Drawing brush, Drawing renderVx ) : void
FillTriangleFan ( Drawing color, float coords, int n ) : void
FillTriangleStrip ( Drawing color, float coords, int n ) : void
SetCanvasOrigin ( int x, int y ) : void
SetClipRect ( int x, int y, int w, int h ) : void

Private Methods

Méthode Description
CanvasGL2d ( int canvasW, int canvasH ) : System
CreatePolyLineRectCoords ( float x, float y, float w, float h ) : float[]

Method Details

AttachFrameBuffer() public méthode

public AttachFrameBuffer ( FrameBuffer frameBuffer ) : void
frameBuffer FrameBuffer
Résultat void

Clear() public méthode

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

ClearColorBuffer() public méthode

public ClearColorBuffer ( ) : void
Résultat void

CreateFrameBuffer() public méthode

public CreateFrameBuffer ( int w, int h ) : FrameBuffer
w int
h int
Résultat FrameBuffer

DetachFrameBuffer() public méthode

public DetachFrameBuffer ( bool updateTextureResult = true ) : void
updateTextureResult bool
Résultat void

DisableClipRect() public méthode

public DisableClipRect ( ) : void
Résultat void

Dispose() public méthode

public Dispose ( ) : void
Résultat void

DrawFrameBuffer() public méthode

public DrawFrameBuffer ( FrameBuffer frameBuffer, float x, float y ) : void
frameBuffer FrameBuffer
x float
y float
Résultat void

DrawGfxPath() public méthode

public DrawGfxPath ( Drawing color, InternalGraphicsPath igpth ) : void
color Drawing
igpth InternalGraphicsPath
Résultat void

DrawImage() public méthode

public DrawImage ( GLBitmap bmp, Drawing srcRect, float x, float y, float w, float h ) : void
bmp GLBitmap
srcRect Drawing
x float
y float
w float
h float
Résultat void

DrawImage() public méthode

public DrawImage ( GLBitmap bmp, float x, float y ) : void
bmp GLBitmap
x float
y float
Résultat void

DrawImage() public méthode

public DrawImage ( GLBitmap bmp, float x, float y, float w, float h ) : void
bmp GLBitmap
x float
y float
w float
h float
Résultat void

DrawImage() public méthode

public DrawImage ( GLBitmapReference bmp, float x, float y ) : void
bmp GLBitmapReference
x float
y float
Résultat void

DrawImageWithBlurX() public méthode

public DrawImageWithBlurX ( GLBitmap bmp, float x, float y ) : void
bmp GLBitmap
x float
y float
Résultat void

DrawImageWithBlurY() public méthode

public DrawImageWithBlurY ( GLBitmap bmp, float x, float y ) : void
bmp GLBitmap
x float
y float
Résultat void

DrawImageWithConv3x3() public méthode

public DrawImageWithConv3x3 ( GLBitmap bmp, float kernel3x3, float x, float y ) : void
bmp GLBitmap
kernel3x3 float
x float
y float
Résultat void

DrawImageWithMsdf() public méthode

public DrawImageWithMsdf ( GLBitmap bmp, float x, float y ) : void
bmp GLBitmap
x float
y float
Résultat void

DrawImageWithMsdf() public méthode

public DrawImageWithMsdf ( GLBitmap bmp, float x, float y, float scale ) : void
bmp GLBitmap
x float
y float
scale float
Résultat void

DrawImageWithSdf() public méthode

public DrawImageWithSdf ( GLBitmap bmp, float x, float y, float scale ) : void
bmp GLBitmap
x float
y float
scale float
Résultat void

DrawImageWithSubPixelRenderingMsdf() public méthode

public DrawImageWithSubPixelRenderingMsdf ( GLBitmap bmp, float x, float y ) : void
bmp GLBitmap
x float
y float
Résultat void

DrawImageWithSubPixelRenderingMsdf() public méthode

public DrawImageWithSubPixelRenderingMsdf ( GLBitmap bmp, float x, float y, float scale ) : void
bmp GLBitmap
x float
y float
scale float
Résultat void

DrawImageWithWhiteTransparent() public méthode

public DrawImageWithWhiteTransparent ( GLBitmap bmp, float x, float y ) : void
bmp GLBitmap
x float
y float
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

DrawRect() public méthode

public DrawRect ( float x, float y, float w, float h ) : void
x float
y float
w float
h float
Résultat void

DrawRenderVx() public méthode

public DrawRenderVx ( Drawing color, Drawing renderVx ) : void
color Drawing
renderVx Drawing
Résultat void

DrawSubImage() public méthode

public DrawSubImage ( GLBitmap bmp, PixelFarm &r, float targetLeft, float targetTop ) : void
bmp GLBitmap
r PixelFarm
targetLeft float
targetTop float
Résultat void

DrawSubImage() public méthode

public DrawSubImage ( GLBitmap bmp, float srcLeft, float srcTop, float srcW, float srcH, float targetLeft, float targetTop ) : void
bmp GLBitmap
srcLeft float
srcTop float
srcW float
srcH float
targetLeft float
targetTop float
Résultat void

DrawSubImageWithMsdf() public méthode

public DrawSubImageWithMsdf ( GLBitmap bmp, PixelFarm &r, float targetLeft, float targetTop ) : void
bmp GLBitmap
r PixelFarm
targetLeft float
targetTop float
Résultat void

DrawSubImageWithMsdf() public méthode

public DrawSubImageWithMsdf ( GLBitmap bmp, PixelFarm &r, float targetLeft, float targetTop, float scale ) : void
bmp GLBitmap
r PixelFarm
targetLeft float
targetTop float
scale float
Résultat void

DrawSubImageWithMsdf() public méthode

public DrawSubImageWithMsdf ( GLBitmap bmp, float coords, float scale ) : void
bmp GLBitmap
coords float
scale float
Résultat void

EnableClipRect() public méthode

public EnableClipRect ( ) : void
Résultat void

FillGfxPath() public méthode

public FillGfxPath ( Drawing color, InternalGraphicsPath igpth ) : void
color Drawing
igpth InternalGraphicsPath
Résultat void

FillRenderVx() public méthode

public FillRenderVx ( Drawing brush, Drawing renderVx ) : void
brush Drawing
renderVx Drawing
Résultat void

FillTriangleFan() public méthode

public FillTriangleFan ( Drawing color, float coords, int n ) : void
color Drawing
coords float
n int
Résultat void

FillTriangleStrip() public méthode

public FillTriangleStrip ( Drawing color, float coords, int n ) : void
color Drawing
coords float
n int
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 ( int x, int y, int w, int h ) : void
x int
y int
w int
h int
Résultat void