C# Class Renderer.Dxf.DxfRenderer

netDxf dxf Core2D.Interfaces.IProjectExporter implementation.
Inheritance: Core2D.Renderer.ShapeRenderer, Core2D.Interfaces.IProjectExporter
Afficher le fichier Open project: Core2D/Core2D Class Usage Examples

Méthodes publiques

Méthode Description
ClearCache ( bool isZooming ) : void
Create ( ) : Core2D.Renderer.ShapeRenderer

Creates a new DxfRenderer instance.

Draw ( object dc, Core2D container, double dx, double dy, ImmutableArray db, Core2D r ) : void
DxfRenderer ( ) : System

Initializes a new instance of the DxfRenderer class.

Fill ( object dc, double x, double y, double width, double height, Core2D color ) : void

Private Methods

Méthode Description
Add ( netDxf.DxfDocument dxf, Core2D container ) : void
Core2D ( string path, Core2D container ) : void
CreateCubicSpline ( double p1x, double p1y, double p2x, double p2y, double p3x, double p3y, double p4x, double p4y ) : Spline
CreateEllipse ( double x, double y, double width, double height ) : Ellipse
CreateEllipticalArc ( Core2D arc, double dx, double dy ) : Ellipse
CreateHatchBoundsAndEntitiess ( Core2D pg, double dx, double dy, IList &bounds, ICollection &entities ) : void
CreateLine ( double x1, double y1, double x2, double y2 ) : System.Line
CreateQuadraticSpline ( double p1x, double p1y, double p2x, double p2y, double p3x, double p3y ) : Spline
DrawEllipseInternal ( netDxf.DxfDocument dxf, Layer layer, bool isFilled, bool isStroked, Core2D style, Core2D &rect ) : void
DrawGridInternal ( netDxf.DxfDocument dxf, Layer layer, Core2D style, double offsetX, double offsetY, double cellWidth, double cellHeight, Core2D &rect ) : void
DrawLineInternal ( netDxf.DxfDocument dxf, Layer layer, Core2D style, bool isStroked, double x1, double y1, double x2, double y2 ) : void
DrawRectangleInternal ( netDxf.DxfDocument dxf, Layer layer, bool isFilled, bool isStroked, Core2D style, Core2D &rect ) : void
FillEllipse ( netDxf.DxfDocument dxf, Layer layer, Ellipse dxfEllipse, Core2D color ) : void
FillRectangle ( netDxf.DxfDocument dxf, Layer layer, double x, double y, double width, double height, Core2D color ) : void
StrokeEllipse ( netDxf.DxfDocument dxf, Layer layer, Ellipse dxfEllipse, Core2D color, double thickness ) : void
StrokeRectangle ( netDxf.DxfDocument dxf, Layer layer, Core2D style, double x, double y, double width, double height ) : void
ToColor ( Core2D color ) : netDxf.AciColor
ToDxfX ( double x ) : double
ToDxfY ( double y ) : double
ToLineweight ( double thickness ) : Lineweight
ToTransparency ( Core2D color ) : short

Method Details

ClearCache() public méthode

public ClearCache ( bool isZooming ) : void
isZooming bool
Résultat void

Create() public static méthode

Creates a new DxfRenderer instance.
public static Create ( ) : Core2D.Renderer.ShapeRenderer
Résultat Core2D.Renderer.ShapeRenderer

Draw() public méthode

public Draw ( object dc, Core2D container, double dx, double dy, ImmutableArray db, Core2D r ) : void
dc object
container Core2D
dx double
dy double
db ImmutableArray
r Core2D
Résultat void

DxfRenderer() public méthode

Initializes a new instance of the DxfRenderer class.
public DxfRenderer ( ) : System
Résultat System

Fill() public méthode

public Fill ( object dc, double x, double y, double width, double height, Core2D color ) : void
dc object
x double
y double
width double
height double
color Core2D
Résultat void