C# 클래스 Alsing.Drawing.GDI.GDISurface

상속: GDIObject
파일 보기 프로젝트 열기: vchelaru/FlatRedBall 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
_OldBmp System.IntPtr
_OldBrush System.IntPtr
_OldFont System.IntPtr
_OldPen System.IntPtr
mHeight int
mTabSize int
mWidth int
mhBMP System.IntPtr
mhDC System.IntPtr

Private Properties

프로퍼티 타입 설명

공개 메소드들

메소드 설명
Clear ( Color color ) : void
Clear ( GDIBrush brush ) : void
CreateGraphics ( ) : Graphics
DrawFocusRect ( int x, int y, int width, int height ) : void
DrawLine ( Color color, Point p1, Point p2 ) : void
DrawLine ( GDIPen pen, Point p1, Point p2 ) : void
DrawRect ( Color color, int left, int top, int width, int height ) : void
DrawRect ( GDIPen pen, int left, int top, int width, int height ) : void
DrawString ( string Text, int x, int y, int width, int height ) : void
DrawTabbedString ( string Text, int x, int y, int taborigin, int tabsize ) : Size
FillRect ( Color color, int x, int y, int width, int height ) : void
FillRect ( GDIBrush brush, int x, int y, int width, int height ) : void
Flush ( ) : void
GDISurface ( IntPtr hDC ) : System
GDISurface ( int width, int height, Control CompatibleControl, bool BindControl ) : System
GDISurface ( int width, int height, GDISurface surface ) : System
GDISurface ( int width, int height, IntPtr hdc ) : System
InvertRect ( int x, int y, int width, int height ) : void
MeasureString ( string Text ) : Size
MeasureTabbedString ( string Text, int tabsize ) : Size
RenderTo ( GDISurface target, int x, int y ) : void
RenderTo ( GDISurface target, int SourceX, int SourceY, int Width, int Height, int DestX, int DestY ) : void
RenderTo ( IntPtr hdc, int x, int y ) : void
RenderToControl ( int x, int y ) : void
SetBrushOrg ( int x, int y ) : void

보호된 메소드들

메소드 설명
Destroy ( ) : void
Init ( int width, int height, IntPtr hdc ) : void

메소드 상세

Clear() 공개 메소드

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

Clear() 공개 메소드

public Clear ( GDIBrush brush ) : void
brush GDIBrush
리턴 void

CreateGraphics() 공개 메소드

public CreateGraphics ( ) : Graphics
리턴 System.Drawing.Graphics

Destroy() 보호된 메소드

protected Destroy ( ) : void
리턴 void

DrawFocusRect() 공개 메소드

public DrawFocusRect ( int x, int y, int width, int height ) : void
x int
y int
width int
height int
리턴 void

DrawLine() 공개 메소드

public DrawLine ( Color color, Point p1, Point p2 ) : void
color Color
p1 Point
p2 Point
리턴 void

DrawLine() 공개 메소드

public DrawLine ( GDIPen pen, Point p1, Point p2 ) : void
pen GDIPen
p1 Point
p2 Point
리턴 void

DrawRect() 공개 메소드

public DrawRect ( Color color, int left, int top, int width, int height ) : void
color Color
left int
top int
width int
height int
리턴 void

DrawRect() 공개 메소드

public DrawRect ( GDIPen pen, int left, int top, int width, int height ) : void
pen GDIPen
left int
top int
width int
height int
리턴 void

DrawString() 공개 메소드

public DrawString ( string Text, int x, int y, int width, int height ) : void
Text string
x int
y int
width int
height int
리턴 void

DrawTabbedString() 공개 메소드

public DrawTabbedString ( string Text, int x, int y, int taborigin, int tabsize ) : Size
Text string
x int
y int
taborigin int
tabsize int
리턴 System.Drawing.Size

FillRect() 공개 메소드

public FillRect ( Color color, int x, int y, int width, int height ) : void
color Color
x int
y int
width int
height int
리턴 void

FillRect() 공개 메소드

public FillRect ( GDIBrush brush, int x, int y, int width, int height ) : void
brush GDIBrush
x int
y int
width int
height int
리턴 void

Flush() 공개 메소드

public Flush ( ) : void
리턴 void

GDISurface() 공개 메소드

public GDISurface ( IntPtr hDC ) : System
hDC System.IntPtr
리턴 System

GDISurface() 공개 메소드

public GDISurface ( int width, int height, Control CompatibleControl, bool BindControl ) : System
width int
height int
CompatibleControl System.Windows.Forms.Control
BindControl bool
리턴 System

GDISurface() 공개 메소드

public GDISurface ( int width, int height, GDISurface surface ) : System
width int
height int
surface GDISurface
리턴 System

GDISurface() 공개 메소드

public GDISurface ( int width, int height, IntPtr hdc ) : System
width int
height int
hdc System.IntPtr
리턴 System

Init() 보호된 메소드

protected Init ( int width, int height, IntPtr hdc ) : void
width int
height int
hdc System.IntPtr
리턴 void

InvertRect() 공개 메소드

public InvertRect ( int x, int y, int width, int height ) : void
x int
y int
width int
height int
리턴 void

MeasureString() 공개 메소드

public MeasureString ( string Text ) : Size
Text string
리턴 System.Drawing.Size

MeasureTabbedString() 공개 메소드

public MeasureTabbedString ( string Text, int tabsize ) : Size
Text string
tabsize int
리턴 System.Drawing.Size

RenderTo() 공개 메소드

public RenderTo ( GDISurface target, int x, int y ) : void
target GDISurface
x int
y int
리턴 void

RenderTo() 공개 메소드

public RenderTo ( GDISurface target, int SourceX, int SourceY, int Width, int Height, int DestX, int DestY ) : void
target GDISurface
SourceX int
SourceY int
Width int
Height int
DestX int
DestY int
리턴 void

RenderTo() 공개 메소드

public RenderTo ( IntPtr hdc, int x, int y ) : void
hdc System.IntPtr
x int
y int
리턴 void

RenderToControl() 공개 메소드

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

SetBrushOrg() 공개 메소드

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

프로퍼티 상세

_OldBmp 보호되어 있는 프로퍼티

protected IntPtr,System _OldBmp
리턴 System.IntPtr

_OldBrush 보호되어 있는 프로퍼티

protected IntPtr,System _OldBrush
리턴 System.IntPtr

_OldFont 보호되어 있는 프로퍼티

protected IntPtr,System _OldFont
리턴 System.IntPtr

_OldPen 보호되어 있는 프로퍼티

protected IntPtr,System _OldPen
리턴 System.IntPtr

mHeight 보호되어 있는 프로퍼티

protected int mHeight
리턴 int

mTabSize 보호되어 있는 프로퍼티

protected int mTabSize
리턴 int

mWidth 보호되어 있는 프로퍼티

protected int mWidth
리턴 int

mhBMP 보호되어 있는 프로퍼티

protected IntPtr,System mhBMP
리턴 System.IntPtr

mhDC 보호되어 있는 프로퍼티

protected IntPtr,System mhDC
리턴 System.IntPtr