C# Class Praeclarum.Graphics.WmfGraphics

Inheritance: IGraphics
Afficher le fichier Open project: praeclarum/Praeclarum

Méthodes publiques

Méthode Description
BeginDrawing ( ) : void
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
EndDrawing ( ) : 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
WmfGraphics ( BinaryWriter tw, RectangleF viewBox ) : System
WmfGraphics ( Stream s, Rectangle viewBox ) : System
WmfGraphics ( Stream s, RectangleF viewBox ) : System

Private Methods

Méthode Description
EndRecord ( ) : void
SelectBrushRecord ( ) : void
SelectNullBrush ( ) : void
SelectNullPen ( ) : void
SelectObjectRecord ( int objectIndex ) : void
SelectPenRecord ( float lineWidth ) : void
StartRecord ( System.Function function ) : void
WriteRecordCoord ( float x, float y ) : void

Method Details

BeginDrawing() public méthode

public BeginDrawing ( ) : void
Résultat void

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 c ) : void
c Color
Résultat void

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

EndDrawing() public méthode

public EndDrawing ( ) : void
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

WmfGraphics() public méthode

public WmfGraphics ( BinaryWriter tw, RectangleF viewBox ) : System
tw System.IO.BinaryWriter
viewBox RectangleF
Résultat System

WmfGraphics() public méthode

public WmfGraphics ( Stream s, Rectangle viewBox ) : System
s Stream
viewBox Rectangle
Résultat System

WmfGraphics() public méthode

public WmfGraphics ( Stream s, RectangleF viewBox ) : System
s Stream
viewBox RectangleF
Résultat System