C# Класс Renderer.Dxf.DxfRenderer

netDxf dxf Core2D.Interfaces.IProjectExporter implementation.
Наследование: Core2D.Renderer.ShapeRenderer, Core2D.Interfaces.IProjectExporter
Показать файл Открыть проект Примеры использования класса

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

Метод Описание
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

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

Метод Описание
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

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

ClearCache() публичный Метод

public ClearCache ( bool isZooming ) : void
isZooming bool
Результат void

Create() публичный статический Метод

Creates a new DxfRenderer instance.
public static Create ( ) : Core2D.Renderer.ShapeRenderer
Результат Core2D.Renderer.ShapeRenderer

Draw() публичный Метод

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

DxfRenderer() публичный Метод

Initializes a new instance of the DxfRenderer class.
public DxfRenderer ( ) : System
Результат System

Fill() публичный Метод

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