Class PrintToGDI
Inheritance
System.Object
PrintToGDI
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Assembly: CADability.dll
Syntax
public class PrintToGDI : IPaintTo3D, QuadTree<IPrintItemImpl>.IIterateQuadTreeLists
Constructors
|
Improve this Doc
View Source
PrintToGDI(GDI2DView)
Declaration
public PrintToGDI(GDI2DView gdiView)
Parameters
|
Improve this Doc
View Source
PrintToGDI(LayoutView)
Declaration
public PrintToGDI(LayoutView layoutView)
Parameters
|
Improve this Doc
View Source
PrintToGDI(Bitmap)
Declaration
public PrintToGDI(Bitmap bitmap)
Parameters
| Type |
Name |
Description |
| System.Drawing.Bitmap |
bitmap |
|
Properties
|
Improve this Doc
View Source
DontRecalcTriangulation
Declaration
public bool DontRecalcTriangulation { get; set; }
Property Value
| Type |
Description |
| System.Boolean |
|
|
Improve this Doc
View Source
LineWidthFactor
Declaration
public double LineWidthFactor { get; set; }
Property Value
| Type |
Description |
| System.Double |
|
Methods
|
Improve this Doc
View Source
OnPrintPage(Object, PrintPageEventArgs)
Declaration
public void OnPrintPage(object sender, PrintPageEventArgs e)
Parameters
| Type |
Name |
Description |
| System.Object |
sender |
|
| System.Drawing.Printing.PrintPageEventArgs |
e |
|
|
Improve this Doc
View Source
PrintSinglePage(Project, String, Boolean, PrintDocument)
Declaration
public static void PrintSinglePage(Project pr, string nameOfView, bool print2D, PrintDocument pd)
Parameters
| Type |
Name |
Description |
| Project |
pr |
|
| System.String |
nameOfView |
|
| System.Boolean |
print2D |
|
| System.Drawing.Printing.PrintDocument |
pd |
|
|
Improve this Doc
View Source
PrintToBitmap(Model, Projection, Layer[], Boolean, Boolean)
Declaration
public void PrintToBitmap(Model model, Projection pr, Layer[] visibleLayers, bool shading, bool curvesOnly)
Parameters
| Type |
Name |
Description |
| Model |
model |
|
| Projection |
pr |
|
| Layer[] |
visibleLayers |
|
| System.Boolean |
shading |
|
| System.Boolean |
curvesOnly |
|
Explicit Interface Implementations
|
Improve this Doc
View Source
IPaintTo3D.Arc(GeoPoint, GeoVector, GeoVector, Double, Double)
Declaration
void IPaintTo3D.Arc(GeoPoint center, GeoVector majorAxis, GeoVector minorAxis, double startParameter, double sweepParameter)
Parameters
| Type |
Name |
Description |
| GeoPoint |
center |
|
| GeoVector |
majorAxis |
|
| GeoVector |
minorAxis |
|
| System.Double |
startParameter |
|
| System.Double |
sweepParameter |
|
|
Improve this Doc
View Source
IPaintTo3D.AvoidColor(Color)
Declaration
void IPaintTo3D.AvoidColor(Color color)
Parameters
| Type |
Name |
Description |
| System.Drawing.Color |
color |
|
|
Improve this Doc
View Source
IPaintTo3D.Blending(Boolean)
Declaration
void IPaintTo3D.Blending(bool on)
Parameters
| Type |
Name |
Description |
| System.Boolean |
on |
|
|
Improve this Doc
View Source
IPaintTo3D.Capabilities
Declaration
PaintCapabilities IPaintTo3D.Capabilities { get; }
Returns
|
Improve this Doc
View Source
IPaintTo3D.Clear(Color)
Declaration
void IPaintTo3D.Clear(Color background)
Parameters
| Type |
Name |
Description |
| System.Drawing.Color |
background |
|
|
Improve this Doc
View Source
Declaration
void IPaintTo3D.CloseFigure()
|
Improve this Doc
View Source
IPaintTo3D.CloseList()
Declaration
IPaintTo3DList IPaintTo3D.CloseList()
Returns
|
Improve this Doc
View Source
IPaintTo3D.ClosePath(Color)
Declaration
void IPaintTo3D.ClosePath(Color color)
Parameters
| Type |
Name |
Description |
| System.Drawing.Color |
color |
|
|
Improve this Doc
View Source
IPaintTo3D.DelayAll
Declaration
bool IPaintTo3D.DelayAll { get; set; }
Returns
| Type |
Description |
| System.Boolean |
|
|
Improve this Doc
View Source
IPaintTo3D.DelayText
Declaration
bool IPaintTo3D.DelayText { get; set; }
Returns
| Type |
Description |
| System.Boolean |
|
|
Improve this Doc
View Source
IPaintTo3D.DisplayBitmap(GeoPoint, Bitmap)
Declaration
void IPaintTo3D.DisplayBitmap(GeoPoint p, Bitmap bitmap)
Parameters
| Type |
Name |
Description |
| GeoPoint |
p |
|
| System.Drawing.Bitmap |
bitmap |
|
|
Improve this Doc
View Source
IPaintTo3D.DisplayIcon(GeoPoint, Bitmap)
Declaration
void IPaintTo3D.DisplayIcon(GeoPoint p, Bitmap icon)
Parameters
| Type |
Name |
Description |
| GeoPoint |
p |
|
| System.Drawing.Bitmap |
icon |
|
|
Improve this Doc
View Source
IPaintTo3D.Dispose()
Declaration
void IPaintTo3D.Dispose()
|
Improve this Doc
View Source
IPaintTo3D.DontRecalcTriangulation
Declaration
bool IPaintTo3D.DontRecalcTriangulation { get; set; }
Returns
| Type |
Description |
| System.Boolean |
|
|
Improve this Doc
View Source
IPaintTo3D.FacesBehindEdgesOffset
Declaration
IDisposable IPaintTo3D.FacesBehindEdgesOffset { get; }
Returns
| Type |
Description |
| System.IDisposable |
|
|
Improve this Doc
View Source
IPaintTo3D.FilledPolyline(GeoPoint[])
Declaration
void IPaintTo3D.FilledPolyline(GeoPoint[] points)
Parameters
|
Improve this Doc
View Source
IPaintTo3D.FillRect2D(PointF, PointF)
Declaration
void IPaintTo3D.FillRect2D(PointF p1, PointF p2)
Parameters
| Type |
Name |
Description |
| System.Drawing.PointF |
p1 |
|
| System.Drawing.PointF |
p2 |
|
|
Improve this Doc
View Source
IPaintTo3D.FinishPaint()
Declaration
void IPaintTo3D.FinishPaint()
|
Improve this Doc
View Source
IPaintTo3D.FreeUnusedLists()
Declaration
void IPaintTo3D.FreeUnusedLists()
|
Improve this Doc
View Source
IPaintTo3D.IsBitmap
Declaration
bool IPaintTo3D.IsBitmap { get; }
Returns
| Type |
Description |
| System.Boolean |
|
|
Improve this Doc
View Source
IPaintTo3D.Line2D(PointF, PointF)
Declaration
void IPaintTo3D.Line2D(PointF p1, PointF p2)
Parameters
| Type |
Name |
Description |
| System.Drawing.PointF |
p1 |
|
| System.Drawing.PointF |
p2 |
|
|
Improve this Doc
View Source
IPaintTo3D.Line2D(Int32, Int32, Int32, Int32)
Declaration
void IPaintTo3D.Line2D(int sx, int sy, int ex, int ey)
Parameters
| Type |
Name |
Description |
| System.Int32 |
sx |
|
| System.Int32 |
sy |
|
| System.Int32 |
ex |
|
| System.Int32 |
ey |
|
|
Improve this Doc
View Source
IPaintTo3D.List(IPaintTo3DList)
Declaration
void IPaintTo3D.List(IPaintTo3DList paintThisList)
Parameters
|
Improve this Doc
View Source
IPaintTo3D.MakeCurrent()
Declaration
void IPaintTo3D.MakeCurrent()
|
Improve this Doc
View Source
IPaintTo3D.MakeList(List<IPaintTo3DList>)
Declaration
IPaintTo3DList IPaintTo3D.MakeList(List<IPaintTo3DList> sublists)
Parameters
| Type |
Name |
Description |
| System.Collections.Generic.List<IPaintTo3DList> |
sublists |
|
Returns
|
Improve this Doc
View Source
IPaintTo3D.Nurbs(GeoPoint[], Double[], Double[], Int32)
Declaration
void IPaintTo3D.Nurbs(GeoPoint[] poles, double[] weights, double[] knots, int degree)
Parameters
| Type |
Name |
Description |
| GeoPoint[] |
poles |
|
| System.Double[] |
weights |
|
| System.Double[] |
knots |
|
| System.Int32 |
degree |
|
|
Improve this Doc
View Source
IPaintTo3D.OpenList()
Declaration
void IPaintTo3D.OpenList()
|
Improve this Doc
View Source
IPaintTo3D.OpenPath()
Declaration
void IPaintTo3D.OpenPath()
|
Improve this Doc
View Source
IPaintTo3D.PaintEdges
Declaration
bool IPaintTo3D.PaintEdges { get; }
Returns
| Type |
Description |
| System.Boolean |
|
|
Improve this Doc
View Source
IPaintTo3D.PaintFaces(PaintTo3D.PaintMode)
Declaration
void IPaintTo3D.PaintFaces(PaintTo3D.PaintMode paintMode)
Parameters
|
Improve this Doc
View Source
IPaintTo3D.PaintSurfaceEdges
Declaration
bool IPaintTo3D.PaintSurfaceEdges { get; set; }
Returns
| Type |
Description |
| System.Boolean |
|
|
Improve this Doc
View Source
IPaintTo3D.PaintSurfaces
Declaration
bool IPaintTo3D.PaintSurfaces { get; }
Returns
| Type |
Description |
| System.Boolean |
|
|
Improve this Doc
View Source
IPaintTo3D.PixelToWorld
Declaration
double IPaintTo3D.PixelToWorld { get; }
Returns
| Type |
Description |
| System.Double |
|
|
Improve this Doc
View Source
IPaintTo3D.Point2D(Int32, Int32)
Declaration
void IPaintTo3D.Point2D(int x, int y)
Parameters
| Type |
Name |
Description |
| System.Int32 |
x |
|
| System.Int32 |
y |
|
|
Improve this Doc
View Source
IPaintTo3D.Points(GeoPoint[], Single, PointSymbol)
Declaration
void IPaintTo3D.Points(GeoPoint[] points, float size, PointSymbol pointSymbol)
Parameters
|
Improve this Doc
View Source
IPaintTo3D.Polyline(GeoPoint[])
Declaration
void IPaintTo3D.Polyline(GeoPoint[] points)
Parameters
|
Improve this Doc
View Source
IPaintTo3D.PopModOp()
Declaration
void IPaintTo3D.PopModOp()
|
Improve this Doc
View Source
IPaintTo3D.PopState()
Declaration
void IPaintTo3D.PopState()
|
Improve this Doc
View Source
IPaintTo3D.Precision
Declaration
double IPaintTo3D.Precision { get; set; }
Returns
| Type |
Description |
| System.Double |
|
|
Improve this Doc
View Source
IPaintTo3D.PrepareBitmap(Bitmap)
Declaration
void IPaintTo3D.PrepareBitmap(Bitmap bitmap)
Parameters
| Type |
Name |
Description |
| System.Drawing.Bitmap |
bitmap |
|
|
Improve this Doc
View Source
IPaintTo3D.PrepareBitmap(Bitmap, Int32, Int32)
Declaration
void IPaintTo3D.PrepareBitmap(Bitmap bitmap, int xoffset, int yoffset)
Parameters
| Type |
Name |
Description |
| System.Drawing.Bitmap |
bitmap |
|
| System.Int32 |
xoffset |
|
| System.Int32 |
yoffset |
|
|
Improve this Doc
View Source
IPaintTo3D.PrepareIcon(Bitmap)
Declaration
void IPaintTo3D.PrepareIcon(Bitmap icon)
Parameters
| Type |
Name |
Description |
| System.Drawing.Bitmap |
icon |
|
|
Improve this Doc
View Source
IPaintTo3D.PreparePointSymbol(PointSymbol)
Declaration
void IPaintTo3D.PreparePointSymbol(PointSymbol pointSymbol)
Parameters
|
Improve this Doc
View Source
IPaintTo3D.PrepareText(String, String, FontStyle)
Declaration
void IPaintTo3D.PrepareText(string fontName, string textString, FontStyle fontStyle)
Parameters
| Type |
Name |
Description |
| System.String |
fontName |
|
| System.String |
textString |
|
| System.Drawing.FontStyle |
fontStyle |
|
|
Improve this Doc
View Source
IPaintTo3D.PushMultModOp(ModOp)
Declaration
void IPaintTo3D.PushMultModOp(ModOp insertion)
Parameters
| Type |
Name |
Description |
| ModOp |
insertion |
|
|
Improve this Doc
View Source
IPaintTo3D.PushState()
Declaration
void IPaintTo3D.PushState()
|
Improve this Doc
View Source
IPaintTo3D.RectangularBitmap(Bitmap, GeoPoint, GeoVector, GeoVector)
Declaration
void IPaintTo3D.RectangularBitmap(Bitmap bitmap, GeoPoint location, GeoVector directionWidth, GeoVector directionHeight)
Parameters
|
Improve this Doc
View Source
IPaintTo3D.Resize(Int32, Int32)
Declaration
void IPaintTo3D.Resize(int width, int height)
Parameters
| Type |
Name |
Description |
| System.Int32 |
width |
|
| System.Int32 |
height |
|
|
Improve this Doc
View Source
IPaintTo3D.SelectColor
Declaration
Color IPaintTo3D.SelectColor { get; set; }
Returns
| Type |
Description |
| System.Drawing.Color |
|
|
Improve this Doc
View Source
IPaintTo3D.SelectedList(IPaintTo3DList, Int32)
Declaration
void IPaintTo3D.SelectedList(IPaintTo3DList paintThisList, int wobbleRadius)
Parameters
| Type |
Name |
Description |
| IPaintTo3DList |
paintThisList |
|
| System.Int32 |
wobbleRadius |
|
|
Improve this Doc
View Source
IPaintTo3D.SelectMode
Declaration
bool IPaintTo3D.SelectMode { get; set; }
Returns
| Type |
Description |
| System.Boolean |
|
|
Improve this Doc
View Source
IPaintTo3D.SetClip(Rectangle)
Declaration
void IPaintTo3D.SetClip(Rectangle clipRectangle)
Parameters
| Type |
Name |
Description |
| System.Drawing.Rectangle |
clipRectangle |
|
|
Improve this Doc
View Source
IPaintTo3D.SetColor(Color)
Declaration
void IPaintTo3D.SetColor(Color color)
Parameters
| Type |
Name |
Description |
| System.Drawing.Color |
color |
|
|
Improve this Doc
View Source
IPaintTo3D.SetLinePattern(LinePattern)
Declaration
void IPaintTo3D.SetLinePattern(LinePattern pattern)
Parameters
|
Improve this Doc
View Source
IPaintTo3D.SetLineWidth(LineWidth)
Declaration
void IPaintTo3D.SetLineWidth(LineWidth lineWidth)
Parameters
|
Improve this Doc
View Source
IPaintTo3D.SetProjection(Projection, BoundingCube)
Declaration
void IPaintTo3D.SetProjection(Projection projection, BoundingCube boundingCube)
Parameters
|
Improve this Doc
View Source
IPaintTo3D.Text(GeoVector, GeoVector, GeoPoint, String, String, FontStyle, Text.AlignMode, Text.LineAlignMode)
Declaration
void IPaintTo3D.Text(GeoVector lineDirection, GeoVector glyphDirection, GeoPoint location, string fontName, string textString, FontStyle fontStyle, Text.AlignMode alignment, Text.LineAlignMode lineAlignment)
Parameters
|
Improve this Doc
View Source
IPaintTo3D.Triangle(GeoPoint[], GeoVector[], Int32[])
Declaration
void IPaintTo3D.Triangle(GeoPoint[] vertex, GeoVector[] normals, int[] indextriples)
Parameters
| Type |
Name |
Description |
| GeoPoint[] |
vertex |
|
| GeoVector[] |
normals |
|
| System.Int32[] |
indextriples |
|
|
Improve this Doc
View Source
IPaintTo3D.TriangulateText
Declaration
bool IPaintTo3D.TriangulateText { get; }
Returns
| Type |
Description |
| System.Boolean |
|
|
Improve this Doc
View Source
IPaintTo3D.UseLineWidth
Declaration
bool IPaintTo3D.UseLineWidth { get; set; }
Returns
| Type |
Description |
| System.Boolean |
|
|
Improve this Doc
View Source
IPaintTo3D.UseZBuffer(Boolean)
Declaration
void IPaintTo3D.UseZBuffer(bool use)
Parameters
| Type |
Name |
Description |
| System.Boolean |
use |
|
|
Improve this Doc
View Source
QuadTree<IPrintItemImpl>.IIterateQuadTreeLists.Iterate(ref BoundingRect, HashSet<IPrintItemImpl>, Boolean)
Declaration
QuadTree<IPrintItemImpl>.IterateAction QuadTree<IPrintItemImpl>.IIterateQuadTreeLists.Iterate(ref BoundingRect rect, HashSet<IPrintItemImpl> objects, bool hasSubNodes)
Parameters
| Type |
Name |
Description |
| BoundingRect |
rect |
|
| System.Collections.Generic.HashSet<CADability.IPrintItemImpl> |
objects |
|
| System.Boolean |
hasSubNodes |
|
Returns
Implements