Class PaintToGDI
- Namespace
- CADability.Forms
- Assembly
- CADability.Forms.dll
public class PaintToGDI : IDisposable, IPaintTo3D
- Inheritance
-
PaintToGDI
- Implements
- Derived
- Inherited Members
Constructors
PaintToGDI()
protected PaintToGDI()
PaintToGDI(Projection, Graphics)
public PaintToGDI(Projection projection, Graphics graphics)
Parameters
projectionProjectiongraphicsGraphics
Fields
graphics
protected Graphics graphics
Field Value
graphicsPath
protected GraphicsPath graphicsPath
Field Value
projection
protected Projection projection
Field Value
Properties
Projection
Gets or sets the projection
public Projection Projection { get; set; }
Property Value
ThinLinesOnly
public bool ThinLinesOnly { get; set; }
Property Value
Methods
Dispose()
public virtual void Dispose()
Fit(BoundingRect, bool)
Fits the provided rectangle to the drawing area
public void Fit(BoundingRect fitTo, bool distort)
Parameters
fitToBoundingRectRectangle in the projected world coordinate system
distortboolDistort the projection if different aspect ratio
SetCenter(GeoPoint2D)
Sets the center of the 2D area
public void SetCenter(GeoPoint2D center)
Parameters
centerGeoPoint2D
SetScaling(double)
public void SetScaling(double scalingFactor)
Parameters
scalingFactordouble