C# Class PixelFarm.DrawingGL.CanvasGL2d

Mostrar archivo Open project: prepare/HTML-Renderer Class Usage Examples

Public Methods

Method 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

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

Method Details

AttachFrameBuffer() public method

public AttachFrameBuffer ( FrameBuffer frameBuffer ) : void
frameBuffer FrameBuffer
return void

Clear() public method

public Clear ( PixelFarm c ) : void
c PixelFarm
return void

ClearColorBuffer() public method

public ClearColorBuffer ( ) : void
return void

CreateFrameBuffer() public method

public CreateFrameBuffer ( int w, int h ) : FrameBuffer
w int
h int
return FrameBuffer

DetachFrameBuffer() public method

public DetachFrameBuffer ( bool updateTextureResult = true ) : void
updateTextureResult bool
return void

DisableClipRect() public method

public DisableClipRect ( ) : void
return void

Dispose() public method

public Dispose ( ) : void
return void

DrawFrameBuffer() public method

public DrawFrameBuffer ( FrameBuffer frameBuffer, float x, float y ) : void
frameBuffer FrameBuffer
x float
y float
return void

DrawGfxPath() public method

public DrawGfxPath ( Drawing color, InternalGraphicsPath igpth ) : void
color Drawing
igpth InternalGraphicsPath
return void

DrawImage() public method

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
return void

DrawImage() public method

public DrawImage ( GLBitmap bmp, float x, float y ) : void
bmp GLBitmap
x float
y float
return void

DrawImage() public method

public DrawImage ( GLBitmap bmp, float x, float y, float w, float h ) : void
bmp GLBitmap
x float
y float
w float
h float
return void

DrawImage() public method

public DrawImage ( GLBitmapReference bmp, float x, float y ) : void
bmp GLBitmapReference
x float
y float
return void

DrawImageWithBlurX() public method

public DrawImageWithBlurX ( GLBitmap bmp, float x, float y ) : void
bmp GLBitmap
x float
y float
return void

DrawImageWithBlurY() public method

public DrawImageWithBlurY ( GLBitmap bmp, float x, float y ) : void
bmp GLBitmap
x float
y float
return void

DrawImageWithConv3x3() public method

public DrawImageWithConv3x3 ( GLBitmap bmp, float kernel3x3, float x, float y ) : void
bmp GLBitmap
kernel3x3 float
x float
y float
return void

DrawImageWithMsdf() public method

public DrawImageWithMsdf ( GLBitmap bmp, float x, float y ) : void
bmp GLBitmap
x float
y float
return void

DrawImageWithMsdf() public method

public DrawImageWithMsdf ( GLBitmap bmp, float x, float y, float scale ) : void
bmp GLBitmap
x float
y float
scale float
return void

DrawImageWithSdf() public method

public DrawImageWithSdf ( GLBitmap bmp, float x, float y, float scale ) : void
bmp GLBitmap
x float
y float
scale float
return void

DrawImageWithSubPixelRenderingMsdf() public method

public DrawImageWithSubPixelRenderingMsdf ( GLBitmap bmp, float x, float y ) : void
bmp GLBitmap
x float
y float
return void

DrawImageWithSubPixelRenderingMsdf() public method

public DrawImageWithSubPixelRenderingMsdf ( GLBitmap bmp, float x, float y, float scale ) : void
bmp GLBitmap
x float
y float
scale float
return void

DrawImageWithWhiteTransparent() public method

public DrawImageWithWhiteTransparent ( GLBitmap bmp, float x, float y ) : void
bmp GLBitmap
x float
y float
return void

DrawLine() public method

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

DrawRect() public method

public DrawRect ( float x, float y, float w, float h ) : void
x float
y float
w float
h float
return void

DrawRenderVx() public method

public DrawRenderVx ( Drawing color, Drawing renderVx ) : void
color Drawing
renderVx Drawing
return void

DrawSubImage() public method

public DrawSubImage ( GLBitmap bmp, PixelFarm &r, float targetLeft, float targetTop ) : void
bmp GLBitmap
r PixelFarm
targetLeft float
targetTop float
return void

DrawSubImage() public method

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
return void

DrawSubImageWithMsdf() public method

public DrawSubImageWithMsdf ( GLBitmap bmp, PixelFarm &r, float targetLeft, float targetTop ) : void
bmp GLBitmap
r PixelFarm
targetLeft float
targetTop float
return void

DrawSubImageWithMsdf() public method

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

DrawSubImageWithMsdf() public method

public DrawSubImageWithMsdf ( GLBitmap bmp, float coords, float scale ) : void
bmp GLBitmap
coords float
scale float
return void

EnableClipRect() public method

public EnableClipRect ( ) : void
return void

FillGfxPath() public method

public FillGfxPath ( Drawing color, InternalGraphicsPath igpth ) : void
color Drawing
igpth InternalGraphicsPath
return void

FillRenderVx() public method

public FillRenderVx ( Drawing brush, Drawing renderVx ) : void
brush Drawing
renderVx Drawing
return void

FillTriangleFan() public method

public FillTriangleFan ( Drawing color, float coords, int n ) : void
color Drawing
coords float
n int
return void

FillTriangleStrip() public method

public FillTriangleStrip ( Drawing color, float coords, int n ) : void
color Drawing
coords float
n int
return void

SetCanvasOrigin() public method

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

SetClipRect() public method

public SetClipRect ( int x, int y, int w, int h ) : void
x int
y int
w int
h int
return void