C# Class Praeclarum.Graphics.CoreGraphicsGraphics

Inheritance: IGraphics
Afficher le fichier Open project: praeclarum/Praeclarum Class Usage Examples

Méthodes publiques

Méthode Description
BeginEntity ( object entity ) : void
BeginLines ( bool rounded ) : void
Clear ( Color color ) : void
CoreGraphicsGraphics ( CGContext c, bool highQuality ) : System
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
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

Private Methods

Méthode Description
CoreGraphicsGraphics ( ) : System
FillPath ( ) : void
FillPathWithGradient ( ) : void
SelectFont ( ) : void

Method Details

BeginEntity() public méthode

public BeginEntity ( object entity ) : void
entity object
Résultat void

BeginLines() public méthode

public BeginLines ( bool rounded ) : void
rounded bool
Résultat void

Clear() public méthode

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

CoreGraphicsGraphics() public méthode

public CoreGraphicsGraphics ( CGContext c, bool highQuality ) : System
c CGContext
highQuality bool
Résultat System

DrawArc() public méthode

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

DrawImage() public méthode

public DrawImage ( IImage img, float x, float y, float width, float height ) : void
img IImage
x float
y float
width float
height float
Résultat void

DrawLine() public méthode

public DrawLine ( float sx, float sy, float ex, float ey, float w ) : void
sx float
sy float
ex float
ey float
w float
Résultat void

DrawOval() public méthode

public DrawOval ( float x, float y, float width, float height, float w ) : void
x float
y float
width float
height float
w float
Résultat void

DrawPolygon() public méthode

public DrawPolygon ( Polygon poly, float w ) : void
poly Polygon
w float
Résultat void

DrawRect() public méthode

public DrawRect ( float x, float y, float width, float height, float w ) : void
x float
y float
width float
height float
w float
Résultat void

DrawRoundedRect() public méthode

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

DrawString() public méthode

public DrawString ( string s, float x, float y ) : void
s string
x float
y float
Résultat void

DrawString() public méthode

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

EndLines() public méthode

public EndLines ( ) : void
Résultat void

FillArc() public méthode

public FillArc ( float cx, float cy, float radius, float startAngle, float endAngle ) : void
cx float
cy float
radius float
startAngle float
endAngle float
Résultat void

FillOval() public méthode

public FillOval ( float x, float y, float width, float height ) : void
x float
y float
width float
height float
Résultat void

FillPolygon() public méthode

public FillPolygon ( Polygon poly ) : void
poly Polygon
Résultat void

FillRect() public méthode

public FillRect ( float x, float y, float width, float height ) : void
x float
y float
width float
height float
Résultat void

FillRoundedRect() public méthode

public FillRoundedRect ( float x, float y, float width, float height, float radius ) : void
x float
y float
width float
height float
radius float
Résultat void

GetFontMetrics() public méthode

public GetFontMetrics ( ) : IFontMetrics
Résultat IFontMetrics

ImageFromFile() public méthode

public ImageFromFile ( string filename ) : IImage
filename string
Résultat IImage

RestoreState() public méthode

public RestoreState ( ) : void
Résultat void

SaveState() public méthode

public SaveState ( ) : void
Résultat void

Scale() public méthode

public Scale ( float sx, float sy ) : void
sx float
sy float
Résultat void

SetClippingRect() public méthode

public SetClippingRect ( float x, float y, float width, float height ) : void
x float
y float
width float
height float
Résultat void

SetColor() public méthode

public SetColor ( Color c ) : void
c Color
Résultat void

SetFont() public méthode

public SetFont ( Font f ) : void
f Font
Résultat void

SetGradient() public méthode

public SetGradient ( Gradient g ) : void
g Gradient
Résultat void

Translate() public méthode

public Translate ( float dx, float dy ) : void
dx float
dy float
Résultat void