Class DXFGraphicsRenderer
Inheritance
System.Object
DXFGraphicsRenderer
Implements
FastReport.IGraphics
Assembly: FastReport.dll
Syntax
public class DXFGraphicsRenderer : object, IGraphics, IDisposable
Constructors
DXFGraphicsRenderer(DxfDocument, DxfFillMode, Single)
Declaration
public DXFGraphicsRenderer(DxfDocument dxfDocument, DxfFillMode fillMode, float barcodesGap)
Parameters
Methods
Dispose()
Declaration
DrawEllipse(Pen, Single, Single, Single, Single)
Declaration
public void DrawEllipse(Pen pen, float left, float top, float width, float height)
Parameters
| Type |
Name |
Description |
| Pen |
pen |
|
| System.Single |
left |
|
| System.Single |
top |
|
| System.Single |
width |
|
| System.Single |
height |
|
DrawLine(Pen, Single, Single, Single, Single)
Declaration
public void DrawLine(Pen pen, float x1, float y1, float x2, float y2)
Parameters
| Type |
Name |
Description |
| Pen |
pen |
|
| System.Single |
x1 |
|
| System.Single |
y1 |
|
| System.Single |
x2 |
|
| System.Single |
y2 |
|
DrawString(String, Font, Brush, RectangleF)
Declaration
public void DrawString(string text, Font drawFont, Brush brush, RectangleF rectangleF)
Parameters
| Type |
Name |
Description |
| System.String |
text |
|
| Font |
drawFont |
|
| Brush |
brush |
|
| RectangleF |
rectangleF |
|
DrawString(String, Font, Brush, Single, Single)
Declaration
public void DrawString(string text, Font drawFont, Brush brush, float left, float top)
Parameters
| Type |
Name |
Description |
| System.String |
text |
|
| Font |
drawFont |
|
| Brush |
brush |
|
| System.Single |
left |
|
| System.Single |
top |
|
DrawString(String, Font, Brush, Single, Single, Single)
Declaration
public void DrawString(string text, Font drawFont, Brush brush, float left, float top, float baseLine)
Parameters
| Type |
Name |
Description |
| System.String |
text |
|
| Font |
drawFont |
|
| Brush |
brush |
|
| System.Single |
left |
|
| System.Single |
top |
|
| System.Single |
baseLine |
|
FillPath(Brush, GraphicsPath)
Declaration
public void FillPath(Brush brush, GraphicsPath path)
Parameters
| Type |
Name |
Description |
| Brush |
brush |
|
| GraphicsPath |
path |
|
FillPolygon(Brush, PointF[])
Declaration
public void FillPolygon(Brush brush, PointF[] points)
Parameters
| Type |
Name |
Description |
| Brush |
brush |
|
| PointF[] |
points |
|
FillRectangle(Brush, Single, Single, Single, Single)
Declaration
public void FillRectangle(Brush brush, float left, float top, float width, float height)
Parameters
| Type |
Name |
Description |
| Brush |
brush |
|
| System.Single |
left |
|
| System.Single |
top |
|
| System.Single |
width |
|
| System.Single |
height |
|
MeasureString(String, Font)
Declaration
public SizeF MeasureString(string text, Font drawFont)
Parameters
| Type |
Name |
Description |
| System.String |
text |
|
| Font |
drawFont |
|
Returns
Restore(IGraphicsState)
Declaration
public void Restore(IGraphicsState state)
Parameters
| Type |
Name |
Description |
| FastReport.IGraphicsState |
state |
|
Declaration
public void RotateTransform(float angle)
Parameters
| Type |
Name |
Description |
| System.Single |
angle |
|
RotateVector(PointF[], Double, PointF)
Declaration
public static PointF[] RotateVector(PointF[] vector, double angle, PointF center)
Parameters
| Type |
Name |
Description |
| PointF[] |
vector |
|
| System.Double |
angle |
|
| PointF |
center |
|
Returns
| Type |
Description |
| PointF[] |
|
Save()
Declaration
public IGraphicsState Save()
Returns
| Type |
Description |
| FastReport.IGraphicsState |
|
Scale(Single, Single)
Declaration
public void Scale(float scaleX, float scaleY)
Parameters
| Type |
Name |
Description |
| System.Single |
scaleX |
|
| System.Single |
scaleY |
|
Declaration
public void TranslateTransform(float left, float top)
Parameters
| Type |
Name |
Description |
| System.Single |
left |
|
| System.Single |
top |
|
Explicit Interface Implementations
IGraphics.DpiX
Declaration
float IGraphics.DpiX { get; }
Returns
| Type |
Description |
| System.Single |
|
IGraphics.DpiY
Declaration
float IGraphics.DpiY { get; }
Returns
| Type |
Description |
| System.Single |
|
IGraphics.IsClipEmpty
Declaration
bool IGraphics.IsClipEmpty { get; }
Returns
| Type |
Description |
| System.Boolean |
|
IGraphics.ResetClip()
Declaration
void IGraphics.ResetClip()
Declaration
void IGraphics.ScaleTransform(float scaleX, float scaleY)
Parameters
| Type |
Name |
Description |
| System.Single |
scaleX |
|
| System.Single |
scaleY |
|
Implements
FastReport.IGraphics