C# Class Praeclarum.Graphics.NullGraphics

Inheritance: IGraphics
ファイルを表示 Open project: praeclarum/Praeclarum

Public Methods

Method Description
BeginEntity ( object entity ) : void
BeginLines ( bool rounded ) : void
Clear ( Color c ) : void
DrawArc ( float cx, float cy, float radius, float startAngle, float endAngle, float w ) : void
DrawImage ( IImage img, float x, float y, float width, float height ) : void
DrawLine ( float sx, float sy, float ex, float ey, float w ) : void
DrawOval ( float x, float y, float width, float height, float w ) : void
DrawPolygon ( Polygon poly, float w ) : void
DrawRect ( float x, float y, float width, float height, float w ) : void
DrawRoundedRect ( float x, float y, float width, float height, float radius, float w ) : void
DrawString ( string s, float x, float y ) : void
DrawString ( string s, float x, float y, float width, float height, LineBreakMode lineBreak, TextAlignment align ) : void
EndLines ( ) : void
FillArc ( float cx, float cy, float radius, float startAngle, float endAngle ) : void
FillOval ( float x, float y, float width, float height ) : void
FillPolygon ( Polygon poly ) : void
FillRect ( float x, float y, float width, float height ) : void
FillRoundedRect ( float x, float y, float width, float height, float radius ) : void
GetFontMetrics ( ) : IFontMetrics
ImageFromFile ( string filename ) : IImage
NullGraphics ( ) : System
RestoreState ( ) : void
SaveState ( ) : void
Scale ( float sx, float sy ) : void
SetClippingRect ( float x, float y, float width, float height ) : void
SetColor ( Color c ) : void
SetFont ( Font f ) : void
SetGradient ( Gradient g ) : void
Translate ( float dx, float dy ) : void

Method Details

BeginEntity() public method

public BeginEntity ( object entity ) : void
entity object
return void

BeginLines() public method

public BeginLines ( bool rounded ) : void
rounded bool
return void

Clear() public method

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

DrawArc() public method

public DrawArc ( float cx, float cy, float radius, float startAngle, float endAngle, float w ) : void
cx float
cy float
radius float
startAngle float
endAngle float
w float
return void

DrawImage() public method

public DrawImage ( IImage img, float x, float y, float width, float height ) : void
img IImage
x float
y float
width float
height float
return void

DrawLine() public method

public DrawLine ( float sx, float sy, float ex, float ey, float w ) : void
sx float
sy float
ex float
ey float
w float
return void

DrawOval() public method

public DrawOval ( float x, float y, float width, float height, float w ) : void
x float
y float
width float
height float
w float
return void

DrawPolygon() public method

public DrawPolygon ( Polygon poly, float w ) : void
poly Polygon
w float
return void

DrawRect() public method

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

DrawRoundedRect() public method

public DrawRoundedRect ( float x, float y, float width, float height, float radius, float w ) : void
x float
y float
width float
height float
radius float
w float
return void

DrawString() public method

public DrawString ( string s, float x, float y ) : void
s string
x float
y float
return void

DrawString() public method

public DrawString ( string s, float x, float y, float width, float height, LineBreakMode lineBreak, TextAlignment align ) : void
s string
x float
y float
width float
height float
lineBreak LineBreakMode
align TextAlignment
return void

EndLines() public method

public EndLines ( ) : void
return void

FillArc() public method

public FillArc ( float cx, float cy, float radius, float startAngle, float endAngle ) : void
cx float
cy float
radius float
startAngle float
endAngle float
return void

FillOval() public method

public FillOval ( float x, float y, float width, float height ) : void
x float
y float
width float
height float
return void

FillPolygon() public method

public FillPolygon ( Polygon poly ) : void
poly Polygon
return void

FillRect() public method

public FillRect ( float x, float y, float width, float height ) : void
x float
y float
width float
height float
return void

FillRoundedRect() public method

public FillRoundedRect ( float x, float y, float width, float height, float radius ) : void
x float
y float
width float
height float
radius float
return void

GetFontMetrics() public method

public GetFontMetrics ( ) : IFontMetrics
return IFontMetrics

ImageFromFile() public method

public ImageFromFile ( string filename ) : IImage
filename string
return IImage

NullGraphics() public method

public NullGraphics ( ) : System
return System

RestoreState() public method

public RestoreState ( ) : void
return void

SaveState() public method

public SaveState ( ) : void
return void

Scale() public method

public Scale ( float sx, float sy ) : void
sx float
sy float
return void

SetClippingRect() public method

public SetClippingRect ( float x, float y, float width, float height ) : void
x float
y float
width float
height float
return void

SetColor() public method

public SetColor ( Color c ) : void
c Color
return void

SetFont() public method

public SetFont ( Font f ) : void
f Font
return void

SetGradient() public method

public SetGradient ( Gradient g ) : void
g Gradient
return void

Translate() public method

public Translate ( float dx, float dy ) : void
dx float
dy float
return void