C# 클래스 GraphicsImplementation.GLGraphics

상속: GraphicsBase
파일 보기 프로젝트 열기: filipkunc/GLGraphics 1 사용 예제들

공개 메소드들

메소드 설명
Clear ( Color color ) : void
Dispose ( ) : void
DrawImage ( Image image, Rectangle destRect, int srcX, int srcY, int srcWidth, int srcHeight, GraphicsUnit srcUnit, ImageAttributes imageAttr ) : void
DrawImage ( Image image, RectangleF rect ) : void
DrawLine ( Pen pen, Point pt1, Point pt2 ) : void
DrawLine ( Pen pen, PointF pt1, PointF pt2 ) : void
DrawLines ( Pen pen, Point points ) : void
DrawLines ( Pen pen, PointF points ) : void
DrawPath ( Pen pen, GraphicsPath path ) : void
DrawRectangle ( Pen pen, Rectangle rect ) : void
DrawRectangle ( Pen pen, float x, float y, float width, float height ) : void
FillPath ( Brush brush, GraphicsPath path ) : void
FillRectangle ( Brush brush, Rectangle rect ) : void
FillRectangle ( Brush brush, RectangleF rect ) : void
FillTextBackground_glReadPixels ( Bitmap textBackground, PointF textLocation, SizeF textSize ) : void
GLGraphics ( CanvasEventArgs e ) : System
RegisterHatchStylePattern ( HatchStyle hatchStyle, BitArray pattern_32x32 ) : void
ResetAllCaches ( ) : void
ResetClip ( ) : void
SetClip ( Rectangle rect ) : void
SetClip ( RectangleF rect ) : void

보호된 메소드들

메소드 설명
DrawStringImage ( Bitmap bitmap, PointF textLocation, SizeF textSize ) : void
SetTransform ( Matrix matrix ) : void

비공개 메소드들

메소드 설명
ClearTexturesIfNeeded ( ) : void
ColorsFromBrush ( Brush brush ) : Color[]
CreatePattern_LightDownwardDiagonal ( ) : BitArray
CreatePattern_LightUpwardDiagonal ( ) : BitArray
DrawTexture ( Image image, Action drawAction ) : void
GLGraphics ( ) : System
GetCachedHatchStylePattern ( HatchStyle hatchStyle ) : byte[]
GetCachedTexture ( Image image ) : GLTexture
GetCachedTexture ( TextureBrush textureBrush ) : GLTexture
GetCachedTexture ( object key, Size originalSize, Action draw ) : GLTexture
SetCanvasFromPen ( Pen pen ) : void
SetPatternFromBrush ( Brush brush ) : void

메소드 상세

Clear() 공개 메소드

public Clear ( Color color ) : void
color Color
리턴 void

Dispose() 공개 메소드

public Dispose ( ) : void
리턴 void

DrawImage() 공개 메소드

public DrawImage ( Image image, Rectangle destRect, int srcX, int srcY, int srcWidth, int srcHeight, GraphicsUnit srcUnit, ImageAttributes imageAttr ) : void
image Image
destRect System.Drawing.Rectangle
srcX int
srcY int
srcWidth int
srcHeight int
srcUnit GraphicsUnit
imageAttr System.Drawing.Imaging.ImageAttributes
리턴 void

DrawImage() 공개 메소드

public DrawImage ( Image image, RectangleF rect ) : void
image Image
rect System.Drawing.RectangleF
리턴 void

DrawLine() 공개 메소드

public DrawLine ( Pen pen, Point pt1, Point pt2 ) : void
pen System.Drawing.Pen
pt1 Point
pt2 Point
리턴 void

DrawLine() 공개 메소드

public DrawLine ( Pen pen, PointF pt1, PointF pt2 ) : void
pen System.Drawing.Pen
pt1 System.Drawing.PointF
pt2 System.Drawing.PointF
리턴 void

DrawLines() 공개 메소드

public DrawLines ( Pen pen, Point points ) : void
pen System.Drawing.Pen
points Point
리턴 void

DrawLines() 공개 메소드

public DrawLines ( Pen pen, PointF points ) : void
pen System.Drawing.Pen
points System.Drawing.PointF
리턴 void

DrawPath() 공개 메소드

public DrawPath ( Pen pen, GraphicsPath path ) : void
pen System.Drawing.Pen
path System.Drawing.Drawing2D.GraphicsPath
리턴 void

DrawRectangle() 공개 메소드

public DrawRectangle ( Pen pen, Rectangle rect ) : void
pen System.Drawing.Pen
rect System.Drawing.Rectangle
리턴 void

DrawRectangle() 공개 메소드

public DrawRectangle ( Pen pen, float x, float y, float width, float height ) : void
pen System.Drawing.Pen
x float
y float
width float
height float
리턴 void

DrawStringImage() 보호된 메소드

protected DrawStringImage ( Bitmap bitmap, PointF textLocation, SizeF textSize ) : void
bitmap System.Drawing.Bitmap
textLocation System.Drawing.PointF
textSize System.Drawing.SizeF
리턴 void

FillPath() 공개 메소드

public FillPath ( Brush brush, GraphicsPath path ) : void
brush System.Drawing.Brush
path System.Drawing.Drawing2D.GraphicsPath
리턴 void

FillRectangle() 공개 메소드

public FillRectangle ( Brush brush, Rectangle rect ) : void
brush System.Drawing.Brush
rect System.Drawing.Rectangle
리턴 void

FillRectangle() 공개 메소드

public FillRectangle ( Brush brush, RectangleF rect ) : void
brush System.Drawing.Brush
rect System.Drawing.RectangleF
리턴 void

FillTextBackground_glReadPixels() 공개 메소드

public FillTextBackground_glReadPixels ( Bitmap textBackground, PointF textLocation, SizeF textSize ) : void
textBackground System.Drawing.Bitmap
textLocation System.Drawing.PointF
textSize System.Drawing.SizeF
리턴 void

GLGraphics() 공개 메소드

public GLGraphics ( CanvasEventArgs e ) : System
e CanvasEventArgs
리턴 System

RegisterHatchStylePattern() 공개 정적인 메소드

public static RegisterHatchStylePattern ( HatchStyle hatchStyle, BitArray pattern_32x32 ) : void
hatchStyle HatchStyle
pattern_32x32 System.Collections.BitArray
리턴 void

ResetAllCaches() 공개 정적인 메소드

public static ResetAllCaches ( ) : void
리턴 void

ResetClip() 공개 메소드

public ResetClip ( ) : void
리턴 void

SetClip() 공개 메소드

public SetClip ( Rectangle rect ) : void
rect System.Drawing.Rectangle
리턴 void

SetClip() 공개 메소드

public SetClip ( RectangleF rect ) : void
rect System.Drawing.RectangleF
리턴 void

SetTransform() 보호된 메소드

protected SetTransform ( Matrix matrix ) : void
matrix Matrix
리턴 void