C# Class CrossUI.Drawing.PixelAligningDrawingTarget

Inheritance: IGeometryFigures, IDrawingElements
Show file Open project: pragmatrix/CrossUI Class Usage Examples

Private Properties

Property Type Description
PixelAligningDrawingTarget System
canPixelAlign bool
pixelAlign Point
pixelAlign Point
pixelAlign Rectangle
pixelAlign Rectangle
toLogical Vector
toPixel Vector
transformChanged void

Public Methods

Method Description
Arc ( Rectangle rectangle, double start, double stop ) : void
Bezier ( CubicBezier bezier ) : void
Create ( IDrawingTarget target, System.Action disposer, DrawingState state, DrawingTransform transform ) : IDrawingTarget
Dispose ( ) : void
Ellipse ( Rectangle rectangle ) : void
Geometry ( IGeometry geometry ) : void
Line ( Point p1, Point p2 ) : void
Polygon ( ) : void
Rectangle ( Rectangle rectangle ) : void
RoundedRectangle ( Rectangle rectangle, Size cornerRadius ) : void
Text ( string text, Rectangle rectangle ) : void

Private Methods

Method Description
PixelAligningDrawingTarget ( IDrawingTarget target, DrawingState state, DrawingTransform transform ) : System
canPixelAlign ( Matrix m ) : bool
pixelAlign ( Point p ) : Point
pixelAlign ( double x, double y ) : Point
pixelAlign ( Rectangle r ) : Rectangle
pixelAlign ( double x, double y, double width, double height ) : Rectangle
toLogical ( Vector pixel ) : Vector
toPixel ( Vector logical ) : Vector
transformChanged ( ) : void

Method Details

Arc() public method

public Arc ( Rectangle rectangle, double start, double stop ) : void
rectangle Rectangle
start double
stop double
return void

Bezier() public method

public Bezier ( CubicBezier bezier ) : void
bezier CubicBezier
return void

Create() public static method

public static Create ( IDrawingTarget target, System.Action disposer, DrawingState state, DrawingTransform transform ) : IDrawingTarget
target IDrawingTarget
disposer System.Action
state DrawingState
transform DrawingTransform
return IDrawingTarget

Dispose() public method

public Dispose ( ) : void
return void

Ellipse() public method

public Ellipse ( Rectangle rectangle ) : void
rectangle Rectangle
return void

Geometry() public method

public Geometry ( IGeometry geometry ) : void
geometry IGeometry
return void

Line() public method

public Line ( Point p1, Point p2 ) : void
p1 Point
p2 Point
return void

Polygon() public method

public Polygon ( ) : void
return void

Rectangle() public method

public Rectangle ( Rectangle rectangle ) : void
rectangle Rectangle
return void

RoundedRectangle() public method

public RoundedRectangle ( Rectangle rectangle, Size cornerRadius ) : void
rectangle Rectangle
cornerRadius Size
return void

Text() public method

public Text ( string text, Rectangle rectangle ) : void
text string
rectangle Rectangle
return void