C# 클래스 PixelFarm.DrawingGL.CanvasGL2d

파일 보기 프로젝트 열기: prepare/HTML-Renderer 1 사용 예제들

공개 메소드들

메소드 설명
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

비공개 메소드들

메소드 설명
CanvasGL2d ( int canvasW, int canvasH ) : System
CreatePolyLineRectCoords ( float x, float y, float w, float h ) : float[]

메소드 상세

AttachFrameBuffer() 공개 메소드

public AttachFrameBuffer ( FrameBuffer frameBuffer ) : void
frameBuffer FrameBuffer
리턴 void

Clear() 공개 메소드

public Clear ( PixelFarm c ) : void
c PixelFarm
리턴 void

ClearColorBuffer() 공개 메소드

public ClearColorBuffer ( ) : void
리턴 void

CreateFrameBuffer() 공개 메소드

public CreateFrameBuffer ( int w, int h ) : FrameBuffer
w int
h int
리턴 FrameBuffer

DetachFrameBuffer() 공개 메소드

public DetachFrameBuffer ( bool updateTextureResult = true ) : void
updateTextureResult bool
리턴 void

DisableClipRect() 공개 메소드

public DisableClipRect ( ) : void
리턴 void

Dispose() 공개 메소드

public Dispose ( ) : void
리턴 void

DrawFrameBuffer() 공개 메소드

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

DrawGfxPath() 공개 메소드

public DrawGfxPath ( Drawing color, InternalGraphicsPath igpth ) : void
color Drawing
igpth InternalGraphicsPath
리턴 void

DrawImage() 공개 메소드

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
리턴 void

DrawImage() 공개 메소드

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

DrawImage() 공개 메소드

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

DrawImage() 공개 메소드

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

DrawImageWithBlurX() 공개 메소드

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

DrawImageWithBlurY() 공개 메소드

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

DrawImageWithConv3x3() 공개 메소드

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

DrawImageWithMsdf() 공개 메소드

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

DrawImageWithMsdf() 공개 메소드

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

DrawImageWithSdf() 공개 메소드

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

DrawImageWithSubPixelRenderingMsdf() 공개 메소드

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

DrawImageWithSubPixelRenderingMsdf() 공개 메소드

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

DrawImageWithWhiteTransparent() 공개 메소드

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

DrawLine() 공개 메소드

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

DrawRect() 공개 메소드

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

DrawRenderVx() 공개 메소드

public DrawRenderVx ( Drawing color, Drawing renderVx ) : void
color Drawing
renderVx Drawing
리턴 void

DrawSubImage() 공개 메소드

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

DrawSubImage() 공개 메소드

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
리턴 void

DrawSubImageWithMsdf() 공개 메소드

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

DrawSubImageWithMsdf() 공개 메소드

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

DrawSubImageWithMsdf() 공개 메소드

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

EnableClipRect() 공개 메소드

public EnableClipRect ( ) : void
리턴 void

FillGfxPath() 공개 메소드

public FillGfxPath ( Drawing color, InternalGraphicsPath igpth ) : void
color Drawing
igpth InternalGraphicsPath
리턴 void

FillRenderVx() 공개 메소드

public FillRenderVx ( Drawing brush, Drawing renderVx ) : void
brush Drawing
renderVx Drawing
리턴 void

FillTriangleFan() 공개 메소드

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

FillTriangleStrip() 공개 메소드

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

SetCanvasOrigin() 공개 메소드

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

SetClipRect() 공개 메소드

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