C# Class Alsing.Drawing.GDI.GDISurface

Inheritance: GDIObject
Afficher le fichier Open project: vchelaru/FlatRedBall Class Usage Examples

Protected Properties

Свойство Type Description
_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

Свойство Type Description

Méthodes publiques

Méthode Description
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

Méthodes protégées

Méthode Description
Destroy ( ) : void
Init ( int width, int height, IntPtr hdc ) : void

Method Details

Clear() public méthode

public Clear ( Color color ) : void
color Color
Résultat void

Clear() public méthode

public Clear ( GDIBrush brush ) : void
brush GDIBrush
Résultat void

CreateGraphics() public méthode

public CreateGraphics ( ) : Graphics
Résultat System.Drawing.Graphics

Destroy() protected méthode

protected Destroy ( ) : void
Résultat void

DrawFocusRect() public méthode

public DrawFocusRect ( int x, int y, int width, int height ) : void
x int
y int
width int
height int
Résultat void

DrawLine() public méthode

public DrawLine ( Color color, Point p1, Point p2 ) : void
color Color
p1 Point
p2 Point
Résultat void

DrawLine() public méthode

public DrawLine ( GDIPen pen, Point p1, Point p2 ) : void
pen GDIPen
p1 Point
p2 Point
Résultat void

DrawRect() public méthode

public DrawRect ( Color color, int left, int top, int width, int height ) : void
color Color
left int
top int
width int
height int
Résultat void

DrawRect() public méthode

public DrawRect ( GDIPen pen, int left, int top, int width, int height ) : void
pen GDIPen
left int
top int
width int
height int
Résultat void

DrawString() public méthode

public DrawString ( string Text, int x, int y, int width, int height ) : void
Text string
x int
y int
width int
height int
Résultat void

DrawTabbedString() public méthode

public DrawTabbedString ( string Text, int x, int y, int taborigin, int tabsize ) : Size
Text string
x int
y int
taborigin int
tabsize int
Résultat System.Drawing.Size

FillRect() public méthode

public FillRect ( Color color, int x, int y, int width, int height ) : void
color Color
x int
y int
width int
height int
Résultat void

FillRect() public méthode

public FillRect ( GDIBrush brush, int x, int y, int width, int height ) : void
brush GDIBrush
x int
y int
width int
height int
Résultat void

Flush() public méthode

public Flush ( ) : void
Résultat void

GDISurface() public méthode

public GDISurface ( IntPtr hDC ) : System
hDC System.IntPtr
Résultat System

GDISurface() public méthode

public GDISurface ( int width, int height, Control CompatibleControl, bool BindControl ) : System
width int
height int
CompatibleControl System.Windows.Forms.Control
BindControl bool
Résultat System

GDISurface() public méthode

public GDISurface ( int width, int height, GDISurface surface ) : System
width int
height int
surface GDISurface
Résultat System

GDISurface() public méthode

public GDISurface ( int width, int height, IntPtr hdc ) : System
width int
height int
hdc System.IntPtr
Résultat System

Init() protected méthode

protected Init ( int width, int height, IntPtr hdc ) : void
width int
height int
hdc System.IntPtr
Résultat void

InvertRect() public méthode

public InvertRect ( int x, int y, int width, int height ) : void
x int
y int
width int
height int
Résultat void

MeasureString() public méthode

public MeasureString ( string Text ) : Size
Text string
Résultat System.Drawing.Size

MeasureTabbedString() public méthode

public MeasureTabbedString ( string Text, int tabsize ) : Size
Text string
tabsize int
Résultat System.Drawing.Size

RenderTo() public méthode

public RenderTo ( GDISurface target, int x, int y ) : void
target GDISurface
x int
y int
Résultat void

RenderTo() public méthode

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
Résultat void

RenderTo() public méthode

public RenderTo ( IntPtr hdc, int x, int y ) : void
hdc System.IntPtr
x int
y int
Résultat void

RenderToControl() public méthode

public RenderToControl ( int x, int y ) : void
x int
y int
Résultat void

SetBrushOrg() public méthode

public SetBrushOrg ( int x, int y ) : void
x int
y int
Résultat void

Property Details

_OldBmp protected_oe property

protected IntPtr,System _OldBmp
Résultat System.IntPtr

_OldBrush protected_oe property

protected IntPtr,System _OldBrush
Résultat System.IntPtr

_OldFont protected_oe property

protected IntPtr,System _OldFont
Résultat System.IntPtr

_OldPen protected_oe property

protected IntPtr,System _OldPen
Résultat System.IntPtr

mHeight protected_oe property

protected int mHeight
Résultat int

mTabSize protected_oe property

protected int mTabSize
Résultat int

mWidth protected_oe property

protected int mWidth
Résultat int

mhBMP protected_oe property

protected IntPtr,System mhBMP
Résultat System.IntPtr

mhDC protected_oe property

protected IntPtr,System mhDC
Résultat System.IntPtr