C# Класс Praeclarum.Graphics.SvgGraphics

Наследование: IGraphics
Показать файл Открыть проект

Открытые методы

Метод Описание
BeginDrawing ( ) : void
BeginEntity ( object entity ) : void
BeginLines ( bool rounded ) : void
Clear ( Color clearColor ) : 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
SvgGraphics ( Stream s, RectangleF viewBox ) : System
SvgGraphics ( TextWriter tw, Rectangle viewBox ) : System
SvgGraphics ( TextWriter tw, RectangleF viewBox ) : System
Translate ( float dx, float dy ) : void
WriteArc ( float cx, float cy, float radius, float startAngle, float endAngle, float w, string stroke, string strokeOp, string fill ) : void

Приватные методы

Метод Описание
AddGradient ( Gradient g, RectangleF bounds ) : string
FormatColor ( Color c ) : string
Write ( string s ) : void
WriteLine ( string s ) : void

Описание методов

BeginDrawing() публичный метод

public BeginDrawing ( ) : void
Результат void

BeginEntity() публичный метод

public BeginEntity ( object entity ) : void
entity object
Результат void

BeginLines() публичный метод

public BeginLines ( bool rounded ) : void
rounded bool
Результат void

Clear() публичный метод

public Clear ( Color clearColor ) : void
clearColor Color
Результат void

DrawArc() публичный метод

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
Результат void

DrawImage() публичный метод

public DrawImage ( IImage img, float x, float y, float width, float height ) : void
img IImage
x float
y float
width float
height float
Результат void

DrawLine() публичный метод

public DrawLine ( float sx, float sy, float ex, float ey, float w ) : void
sx float
sy float
ex float
ey float
w float
Результат void

DrawOval() публичный метод

public DrawOval ( float x, float y, float width, float height, float w ) : void
x float
y float
width float
height float
w float
Результат void

DrawPolygon() публичный метод

public DrawPolygon ( Polygon poly, float w ) : void
poly Polygon
w float
Результат void

DrawRect() публичный метод

public DrawRect ( float x, float y, float width, float height, float w ) : void
x float
y float
width float
height float
w float
Результат void

DrawRoundedRect() публичный метод

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
Результат void

DrawString() публичный метод

public DrawString ( string s, float x, float y ) : void
s string
x float
y float
Результат void

DrawString() публичный метод

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
Результат void

EndDrawing() публичный метод

public EndDrawing ( ) : void
Результат void

EndLines() публичный метод

public EndLines ( ) : void
Результат void

FillArc() публичный метод

public FillArc ( float cx, float cy, float radius, float startAngle, float endAngle ) : void
cx float
cy float
radius float
startAngle float
endAngle float
Результат void

FillOval() публичный метод

public FillOval ( float x, float y, float width, float height ) : void
x float
y float
width float
height float
Результат void

FillPolygon() публичный метод

public FillPolygon ( Polygon poly ) : void
poly Polygon
Результат void

FillRect() публичный метод

public FillRect ( float x, float y, float width, float height ) : void
x float
y float
width float
height float
Результат void

FillRoundedRect() публичный метод

public FillRoundedRect ( float x, float y, float width, float height, float radius ) : void
x float
y float
width float
height float
radius float
Результат void

GetFontMetrics() публичный метод

public GetFontMetrics ( ) : IFontMetrics
Результат IFontMetrics

ImageFromFile() публичный метод

public ImageFromFile ( string filename ) : IImage
filename string
Результат IImage

RestoreState() публичный метод

public RestoreState ( ) : void
Результат void

SaveState() публичный метод

public SaveState ( ) : void
Результат void

Scale() публичный метод

public Scale ( float sx, float sy ) : void
sx float
sy float
Результат void

SetClippingRect() публичный метод

public SetClippingRect ( float x, float y, float width, float height ) : void
x float
y float
width float
height float
Результат void

SetColor() публичный метод

public SetColor ( Color c ) : void
c Color
Результат void

SetFont() публичный метод

public SetFont ( Font f ) : void
f Font
Результат void

SetGradient() публичный метод

public SetGradient ( Gradient g ) : void
g Gradient
Результат void

SvgGraphics() публичный метод

public SvgGraphics ( Stream s, RectangleF viewBox ) : System
s Stream
viewBox RectangleF
Результат System

SvgGraphics() публичный метод

public SvgGraphics ( TextWriter tw, Rectangle viewBox ) : System
tw System.IO.TextWriter
viewBox Rectangle
Результат System

SvgGraphics() публичный метод

public SvgGraphics ( TextWriter tw, RectangleF viewBox ) : System
tw System.IO.TextWriter
viewBox RectangleF
Результат System

Translate() публичный метод

public Translate ( float dx, float dy ) : void
dx float
dy float
Результат void

WriteArc() публичный метод

public WriteArc ( float cx, float cy, float radius, float startAngle, float endAngle, float w, string stroke, string strokeOp, string fill ) : void
cx float
cy float
radius float
startAngle float
endAngle float
w float
stroke string
strokeOp string
fill string
Результат void