![]() |
KiCad PCB EDA Suite
|
#include <plotter_dxf.h>
Public Member Functions | |
DXF_PLOTTER () | |
virtual PLOT_FORMAT | GetPlotterType () const override |
Returns the effective plot engine in use. More... | |
virtual void | SetTextMode (PLOT_TEXT_MODE mode) override |
DXF handles NATIVE text emitting TEXT entities. More... | |
virtual bool | StartPlot () override |
Opens the DXF plot with a skeleton header. More... | |
virtual bool | EndPlot () override |
virtual void | SetCurrentLineWidth (int width, void *aData=NULL) override |
Set the line width for the next drawing. More... | |
virtual void | SetDash (PLOT_DASH_TYPE dashed) override |
virtual void | SetColor (COLOR4D color) override |
The DXF exporter handles 'colors' as layers... More... | |
virtual void | SetViewport (const wxPoint &aOffset, double aIusPerDecimil, double aScale, bool aMirror) override |
Set the scale/position for the DXF plot The DXF engine doesn't support line widths and mirroring. More... | |
virtual void | Rect (const wxPoint &p1, const wxPoint &p2, FILL_TYPE fill, int width=USE_DEFAULT_LINE_WIDTH) override |
DXF rectangle: fill not supported. More... | |
virtual void | Circle (const wxPoint &pos, int diametre, FILL_TYPE fill, int width=USE_DEFAULT_LINE_WIDTH) override |
DXF circle: full functionality; it even does 'fills' drawing a circle with a dual-arc polyline wide as the radius. More... | |
virtual void | PlotPoly (const std::vector< wxPoint > &aCornerList, FILL_TYPE aFill, int aWidth=USE_DEFAULT_LINE_WIDTH, void *aData=NULL) override |
DXF polygon: doesn't fill it but at least it close the filled ones DXF does not know thick outline. More... | |
virtual void | ThickSegment (const wxPoint &start, const wxPoint &end, int width, OUTLINE_MODE tracemode, void *aData) override |
virtual void | Arc (const wxPoint ¢re, double StAngle, double EndAngle, int rayon, FILL_TYPE fill, int width=USE_DEFAULT_LINE_WIDTH) override |
Generic fallback: arc rendered as a polyline. More... | |
virtual void | PenTo (const wxPoint &pos, char plume) override |
moveto/lineto primitive, moves the 'pen' to the specified direction More... | |
virtual void | FlashPadCircle (const wxPoint &pos, int diametre, OUTLINE_MODE trace_mode, void *aData) override |
DXF round pad: always done in sketch mode; it could be filled but it isn't pretty if other kinds of pad aren't... More... | |
virtual void | FlashPadOval (const wxPoint &pos, const wxSize &size, double orient, OUTLINE_MODE trace_mode, void *aData) override |
DXF oval pad: always done in sketch mode. More... | |
virtual void | FlashPadRect (const wxPoint &pos, const wxSize &size, double orient, OUTLINE_MODE trace_mode, void *aData) override |
DXF rectangular pad: alwayd done in sketch mode. More... | |
virtual void | FlashPadRoundRect (const wxPoint &aPadPos, const wxSize &aSize, int aCornerRadius, double aOrient, OUTLINE_MODE aTraceMode, void *aData) override |
virtual void | FlashPadCustom (const wxPoint &aPadPos, const wxSize &aSize, double aOrient, SHAPE_POLY_SET *aPolygons, OUTLINE_MODE aTraceMode, void *aData) override |
virtual void | FlashPadTrapez (const wxPoint &aPadPos, const wxPoint *aCorners, double aPadOrient, OUTLINE_MODE aTraceMode, void *aData) override |
DXF trapezoidal pad: only sketch mode is supported. More... | |
virtual void | FlashRegularPolygon (const wxPoint &aShapePos, int aDiameter, int aCornerCount, double aOrient, OUTLINE_MODE aTraceMode, void *aData) override |
Flash a regular polygon. More... | |
virtual void | Text (const wxPoint &aPos, const COLOR4D aColor, const wxString &aText, double aOrient, const wxSize &aSize, enum EDA_TEXT_HJUSTIFY_T aH_justify, enum EDA_TEXT_VJUSTIFY_T aV_justify, int aWidth, bool aItalic, bool aBold, bool aMultilineAllowed=false, void *aData=NULL) override |
Draws text with the plotter. More... | |
void | SetUnits (DXF_UNITS aUnit) |
Set the units to use for plotting the DXF file. More... | |
DXF_UNITS | GetUnits () const |
The units currently enabled for plotting. More... | |
double | GetUnitScaling () const |
Get the scale factor to apply to convert the device units to be in the currently set units. More... | |
unsigned int | GetMeasurementDirective () const |
Get the correct value for the $MEASUREMENT field given the current units. More... | |
virtual void | SetNegative (bool aNegative) |
virtual void | SetColorMode (bool aColorMode) |
Plot in B/W or color. More... | |
bool | GetColorMode () const |
void | SetRenderSettings (RENDER_SETTINGS *aSettings) |
RENDER_SETTINGS * | RenderSettings () |
virtual void | SetPageSettings (const PAGE_INFO &aPageSettings) |
PAGE_INFO & | PageSettings () |
virtual int | GetCurrentLineWidth () const |
virtual void | SetCreator (const wxString &aCreator) |
virtual void | SetTitle (const wxString &aTitle) |
void | AddLineToHeader (const wxString &aExtraString) |
Add a line to the list of free lines to print at the beginning of the file. More... | |
void | ClearHeaderLinesList () |
Remove all lines from the list of free lines to print at the beginning of the file. More... | |
virtual bool | OpenFile (const wxString &aFullFilename) |
Open or create the plot file aFullFilename. More... | |
double | GetIUsPerDecimil () const |
The IUs per decimil are an essential scaling factor when plotting; they are set and saved when establishing the viewport. More... | |
int | GetPlotterArcLowDef () const |
int | GetPlotterArcHighDef () const |
virtual void | BezierCurve (const wxPoint &aStart, const wxPoint &aControl1, const wxPoint &aControl2, const wxPoint &aEnd, int aTolerance, int aLineThickness=USE_DEFAULT_LINE_WIDTH) |
Generic fallback: Cubic Bezier curve rendered as a polyline In KiCad the bezier curves have 4 control points: start ctrl1 ctrl2 end. More... | |
void | MoveTo (const wxPoint &pos) |
void | LineTo (const wxPoint &pos) |
void | FinishTo (const wxPoint &pos) |
void | PenFinish () |
virtual void | PlotPoly (const SHAPE_LINE_CHAIN &aCornerList, FILL_TYPE aFill, int aWidth=USE_DEFAULT_LINE_WIDTH, void *aData=NULL) |
Draw a polygon ( filled or not ) More... | |
virtual void | PlotImage (const wxImage &aImage, const wxPoint &aPos, double aScaleFactor) |
Only PostScript plotters can plot bitmaps. More... | |
virtual void | ThickArc (const wxPoint ¢re, double StAngle, double EndAngle, int rayon, int width, OUTLINE_MODE tracemode, void *aData) |
virtual void | ThickRect (const wxPoint &p1, const wxPoint &p2, int width, OUTLINE_MODE tracemode, void *aData) |
virtual void | ThickCircle (const wxPoint &pos, int diametre, int width, OUTLINE_MODE tracemode, void *aData) |
virtual void | FilledCircle (const wxPoint &pos, int diametre, OUTLINE_MODE tracemode, void *aData) |
void | Marker (const wxPoint &position, int diametre, unsigned aShapeId) |
Draw a pattern shape number aShapeId, to coord position. More... | |
virtual void | SetLayerPolarity (bool aPositive) |
Set the current Gerber layer polarity to positive or negative by writing %LPD*% or %LPC*% to the Gerber file, respectively. More... | |
virtual void | SetGerberCoordinatesFormat (int aResolution, bool aUseInches=false) |
virtual void | SetSvgCoordinatesFormat (unsigned aResolution, bool aUseInches=false) |
virtual void | StartBlock (void *aData) |
calling this function allows one to define the beginning of a group of drawing items, for instance in SVG or Gerber format. More... | |
virtual void | EndBlock (void *aData) |
calling this function allows one to define the end of a group of drawing items for instance in SVG or Gerber format. More... | |
Static Public Member Functions | |
static wxString | GetDefaultFileExtension () |
Static Public Attributes | |
static const int | DO_NOT_SET_LINE_WIDTH = -2 |
static const int | USE_DEFAULT_LINE_WIDTH = -1 |
static const unsigned | MARKER_COUNT = 58 |
Draw a marker (used for the drill map) More... | |
Protected Member Functions | |
void | markerCircle (const wxPoint &pos, int radius) |
Plot a circle centered on the position. More... | |
void | markerHBar (const wxPoint &pos, int radius) |
Plot a - bar centered on the position. More... | |
void | markerSlash (const wxPoint &pos, int radius) |
Plot a / bar centered on the position. More... | |
void | markerBackSlash (const wxPoint &pos, int radius) |
Plot a \ bar centered on the position. More... | |
void | markerVBar (const wxPoint &pos, int radius) |
Plot a | bar centered on the position. More... | |
void | markerSquare (const wxPoint &position, int radius) |
Plot a square centered on the position. More... | |
void | markerLozenge (const wxPoint &position, int radius) |
Plot a lozenge centered on the position. More... | |
void | segmentAsOval (const wxPoint &start, const wxPoint &end, int width, OUTLINE_MODE tracemode) |
Convert a thick segment and plot it as an oval. More... | |
void | sketchOval (const wxPoint &pos, const wxSize &size, double orient, int width) |
virtual DPOINT | userToDeviceCoordinates (const wxPoint &aCoordinate) |
Modifies coordinates according to the orientation, scale factor, and offsets trace. More... | |
virtual DPOINT | userToDeviceSize (const wxSize &size) |
Modifies size according to the plotter scale factors (wxSize version, returns a DPOINT) More... | |
virtual double | userToDeviceSize (double size) const |
Modifies size according to the plotter scale factors (simple double version) More... | |
double | GetDotMarkLenIU () const |
double | GetDashMarkLenIU () const |
double | GetDashGapLenIU () const |
Protected Attributes | |
bool | m_textAsLines |
COLOR4D | m_currentColor |
PLOT_DASH_TYPE | m_currentLineType |
DXF_UNITS | m_plotUnits |
double | m_unitScalingFactor |
unsigned int | m_measurementDirective |
double | m_plotScale |
Plot scale - chosen by the user (even implicitly with 'fit in a4') More... | |
double | m_IUsPerDecimil |
double | m_iuPerDeviceUnit |
wxPoint | m_plotOffset |
bool | m_plotMirror |
bool | m_mirrorIsHorizontal |
bool | m_yaxisReversed |
FILE * | m_outputFile |
Output file. More... | |
bool | m_colorMode |
bool | m_negativeMode |
int | m_currentPenWidth |
char | m_penState |
wxPoint | m_penLastpos |
wxString | m_creator |
wxString | m_filename |
wxString | m_title |
PAGE_INFO | m_pageInfo |
wxSize | m_paperSize |
wxArrayString | m_headerExtraLines |
RENDER_SETTINGS * | m_renderSettings |
Definition at line 34 of file plotter_dxf.h.
|
inline |
Definition at line 37 of file plotter_dxf.h.
References BLACK, INCHES, m_currentColor, m_currentLineType, m_textAsLines, SetUnits(), and SOLID.
|
inlineinherited |
Add a line to the list of free lines to print at the beginning of the file.
aExtraString | is the string to print |
Definition at line 180 of file plotter.h.
References PLOTTER::m_headerExtraLines.
Referenced by AddGerberX2Attribute(), AddGerberX2Header(), GERBER_WRITER::createDrillFile(), and PLACEFILE_GERBER_WRITER::CreatePlaceFile().
|
overridevirtual |
Generic fallback: arc rendered as a polyline.
Reimplemented from PLOTTER.
Definition at line 650 of file DXF_plotter.cpp.
References getDXFColorName(), m_currentColor, PLOTTER::m_outputFile, TO_UTF8, PLOTTER::userToDeviceCoordinates(), PLOTTER::userToDeviceSize(), VECTOR2< T >::x, and VECTOR2< T >::y.
|
virtualinherited |
Generic fallback: Cubic Bezier curve rendered as a polyline In KiCad the bezier curves have 4 control points: start ctrl1 ctrl2 end.
Reimplemented in SVG_PLOTTER.
Definition at line 203 of file plotter.cpp.
References PLOTTER::FinishTo(), BEZIER_POLY::GetPoly(), PLOTTER::LineTo(), PLOTTER::MoveTo(), and PLOTTER::SetCurrentLineWidth().
Referenced by SVG_PLOTTER::BezierCurve(), BRDITEMS_PLOTTER::PlotFootprintGraphicItem(), and BRDITEMS_PLOTTER::PlotPcbShape().
|
overridevirtual |
DXF circle: full functionality; it even does 'fills' drawing a circle with a dual-arc polyline wide as the radius.
I could use this trick to do other filled primitives
Implements PLOTTER.
Definition at line 444 of file DXF_plotter.cpp.
References FILLED_SHAPE, getDXFColorName(), m_currentColor, PLOTTER::m_outputFile, NO_FILL, TO_UTF8, PLOTTER::userToDeviceCoordinates(), PLOTTER::userToDeviceSize(), VECTOR2< T >::x, and VECTOR2< T >::y.
Referenced by FlashPadCircle().
|
inlineinherited |
Remove all lines from the list of free lines to print at the beginning of the file.
Definition at line 188 of file plotter.h.
References PLOTTER::m_headerExtraLines.
Referenced by StartPlotBoard().
|
inlinevirtualinherited |
calling this function allows one to define the end of a group of drawing items for instance in SVG or Gerber format.
the group is started by StartBlock()
aData | can define any parameter for most of plotters: do nothing |
Reimplemented in SVG_PLOTTER, and GERBER_PLOTTER.
Definition at line 484 of file plotter.h.
Referenced by SCH_COMPONENT::Plot(), BRDITEMS_PLOTTER::PlotFilledAreas(), and PlotStandardLayer().
|
overridevirtual |
Implements PLOTTER.
Definition at line 391 of file DXF_plotter.cpp.
References PLOTTER::m_outputFile, and NULL.
Referenced by DIALOG_PLOT_SCHEMATIC::PlotOneSheetDXF().
|
virtualinherited |
Reimplemented in GERBER_PLOTTER.
Definition at line 584 of file plotter.cpp.
References PLOTTER::Circle(), FILLED, FILLED_SHAPE, NO_FILL, and PLOTTER::SetCurrentLineWidth().
Referenced by BRDITEMS_PLOTTER::PlotFootprintGraphicItem(), and BRDITEMS_PLOTTER::PlotPcbShape().
|
inlineinherited |
Definition at line 267 of file plotter.h.
References PLOTTER::PenTo().
Referenced by PLOTTER::Arc(), PLOTTER::BezierCurve(), FlashPadCustom(), FlashPadRect(), FlashPadRoundRect(), FlashPadTrapez(), PLOTTER::markerBackSlash(), PLOTTER::markerHBar(), PLOTTER::markerSlash(), PLOTTER::markerVBar(), SCH_BUS_ENTRY_BASE::Plot(), SCH_NO_CONNECT::Plot(), SCH_LINE::Plot(), SCH_SHEET::Plot(), PlotDrawingSheet(), GERBER_PLOTTER::PlotPoly(), LIB_PIN::PlotSymbol(), Rect(), PLOTTER::sketchOval(), GERBER_PLOTTER::ThickSegment(), ThickSegment(), HPGL_PLOTTER::ThickSegment(), and PLOTTER::ThickSegment().
|
overridevirtual |
DXF round pad: always done in sketch mode; it could be filled but it isn't pretty if other kinds of pad aren't...
Implements PLOTTER.
Definition at line 703 of file DXF_plotter.cpp.
References Circle(), PLOTTER::m_outputFile, and NO_FILL.
|
overridevirtual |
aPadPos | Position of the shape |
aSize | = size of round reference pad |
aPadOrient | = pad rotation, used only with aperture macros (Gerber plotter) |
aPolygons | the shape as polygon set |
aTraceMode | FILLED or SKETCH |
aData | an auxiliary info (mainly for gerber format attributes) |
Implements PLOTTER.
Definition at line 797 of file DXF_plotter.cpp.
References SHAPE_LINE_CHAIN::CPoint(), PLOTTER::FinishTo(), PLOTTER::LineTo(), PLOTTER::MoveTo(), SHAPE_POLY_SET::Outline(), SHAPE_POLY_SET::OutlineCount(), SHAPE_LINE_CHAIN::PointCount(), VECTOR2< T >::x, and VECTOR2< T >::y.
|
overridevirtual |
DXF oval pad: always done in sketch mode.
Implements PLOTTER.
Definition at line 681 of file DXF_plotter.cpp.
References AddAngles(), PLOTTER::m_outputFile, and PLOTTER::sketchOval().
|
overridevirtual |
DXF rectangular pad: alwayd done in sketch mode.
Implements PLOTTER.
Definition at line 714 of file DXF_plotter.cpp.
References PLOTTER::FinishTo(), PLOTTER::LineTo(), PLOTTER::m_outputFile, PLOTTER::MoveTo(), and RotatePoint().
|
overridevirtual |
aPadPos | Position of the shape (center of the rectangle |
aSize | = size of rounded rect |
aCornerRadius | Radius of the rounded corners |
aOrient | The rotation of the shape |
aTraceMode | FILLED or SKETCH |
aData | an auxiliary info (mainly for gerber format attributes) |
Implements PLOTTER.
Definition at line 778 of file DXF_plotter.cpp.
References SHAPE_LINE_CHAIN::CPoint(), ERROR_INSIDE, PLOTTER::FinishTo(), PLOTTER::GetPlotterArcHighDef(), PLOTTER::LineTo(), PLOTTER::MoveTo(), SHAPE_POLY_SET::Outline(), SHAPE_LINE_CHAIN::PointCount(), TransformRoundChamferedRectToPolygon(), VECTOR2< T >::x, and VECTOR2< T >::y.
|
overridevirtual |
DXF trapezoidal pad: only sketch mode is supported.
Implements PLOTTER.
Definition at line 818 of file DXF_plotter.cpp.
References PLOTTER::FinishTo(), PLOTTER::LineTo(), PLOTTER::m_outputFile, PLOTTER::MoveTo(), and RotatePoint().
|
overridevirtual |
Flash a regular polygon.
Useful only in Gerber files to flash a regular polygon
aShapePos | is the center of the circle containing the polygon |
aRadius | is the radius of the circle containing the polygon |
aCornerCount | is the number of vertices |
aOrient | is the polygon rotation in degrees |
aData | is a auxiliary parameter used (if needed) to handle extra info specific to the plotter |
Implements PLOTTER.
Definition at line 840 of file DXF_plotter.cpp.
|
inlineinherited |
Definition at line 152 of file plotter.h.
References PLOTTER::m_colorMode.
Referenced by PLOT_CONTROLLER::GetColorMode(), LIB_TEXT::Plot(), LIB_FIELD::Plot(), LIB_PART::Plot(), SCH_SHEET::Plot(), PlotDrawingSheet(), LIB_PART::PlotLibFields(), DIALOG_PLOT_SCHEMATIC::PlotOneSheetDXF(), DIALOG_PLOT_SCHEMATIC::plotOneSheetPDF(), DIALOG_PLOT_SCHEMATIC::plotOneSheetPS(), DIALOG_PLOT_SCHEMATIC::plotOneSheetSVG(), and StartPlot().
|
inlinevirtualinherited |
Definition at line 166 of file plotter.h.
References PLOTTER::m_currentPenWidth.
Referenced by GERBER_PLOTTER::FlashPadChamferRoundRect(), PSLIKE_PLOTTER::FlashPadCircle(), PSLIKE_PLOTTER::FlashPadCustom(), GERBER_PLOTTER::FlashPadCustom(), PSLIKE_PLOTTER::FlashPadRect(), GERBER_PLOTTER::FlashPadRect(), PSLIKE_PLOTTER::FlashPadRoundRect(), GERBER_PLOTTER::FlashPadRoundRect(), PSLIKE_PLOTTER::FlashPadTrapez(), GERBER_PLOTTER::FlashPadTrapez(), GERBER_PLOTTER::FlashRegularPolygon(), PLOTTER::GetDashGapLenIU(), PLOTTER::GetDashMarkLenIU(), PLOTTER::GetDotMarkLenIU(), PLOTTER::markerCircle(), PLOTTER::markerLozenge(), PLOTTER::markerSquare(), PS_PLOTTER::SetCurrentLineWidth(), and SVG_PLOTTER::setSVGPlotStyle().
|
protectedinherited |
Definition at line 151 of file plotter.cpp.
References DASH_GAP_LEN, PLOTTER::GetCurrentLineWidth(), and PLOTTER::userToDeviceSize().
Referenced by PS_PLOTTER::SetDash(), PDF_PLOTTER::SetDash(), and SVG_PLOTTER::setSVGPlotStyle().
|
protectedinherited |
Definition at line 145 of file plotter.cpp.
References DASH_MARK_LEN, PLOTTER::GetCurrentLineWidth(), and PLOTTER::userToDeviceSize().
Referenced by PS_PLOTTER::SetDash(), PDF_PLOTTER::SetDash(), and SVG_PLOTTER::setSVGPlotStyle().
|
inlinestatic |
Definition at line 50 of file plotter_dxf.h.
Referenced by DIALOG_PLOT_SCHEMATIC::CreateDXFFile(), and GetDefaultPlotExtension().
|
protectedinherited |
Definition at line 139 of file plotter.cpp.
References DOT_MARK_LEN, PLOTTER::GetCurrentLineWidth(), and PLOTTER::userToDeviceSize().
Referenced by PS_PLOTTER::SetDash(), PDF_PLOTTER::SetDash(), and SVG_PLOTTER::setSVGPlotStyle().
|
inlineinherited |
The IUs per decimil are an essential scaling factor when plotting; they are set and saved when establishing the viewport.
Here they can be get back again
Definition at line 220 of file plotter.h.
References PLOTTER::m_IUsPerDecimil.
Referenced by PlotDrawingSheet().
|
inline |
Get the correct value for the $MEASUREMENT field given the current units.
Definition at line 155 of file plotter_dxf.h.
References m_measurementDirective.
Referenced by StartPlot().
|
inlineinherited |
Definition at line 223 of file plotter.h.
References PLOTTER::m_IUsPerDecimil.
Referenced by GERBER_PLOTTER::FlashPadChamferRoundRect(), PSLIKE_PLOTTER::FlashPadRoundRect(), FlashPadRoundRect(), HPGL_PLOTTER::FlashPadRoundRect(), GERBER_PLOTTER::FlashPadRoundRect(), PlotPoly(), and ThickSegment().
|
inlineinherited |
|
inlineoverridevirtual |
Returns the effective plot engine in use.
It's not very OO but for now is required since some things are only done with some output devices (like drill marks, emitted only for postscript
Implements PLOTTER.
Definition at line 45 of file plotter_dxf.h.
References DXF.
|
inline |
The units currently enabled for plotting.
Definition at line 134 of file plotter_dxf.h.
References m_plotUnits.
|
inline |
Get the scale factor to apply to convert the device units to be in the currently set units.
Definition at line 145 of file plotter_dxf.h.
References m_unitScalingFactor.
Referenced by SetViewport().
|
inlineinherited |
Definition at line 262 of file plotter.h.
References PLOTTER::PenTo().
Referenced by PLOTTER::Arc(), PLOTTER::BezierCurve(), FlashPadCustom(), FlashPadRect(), FlashPadRoundRect(), FlashPadTrapez(), SCH_SHEET::Plot(), GERBER_PLOTTER::plotArc(), PlotPoly(), HPGL_PLOTTER::PlotPoly(), GERBER_PLOTTER::PlotPoly(), GERBER_PLOTTER::plotRoundRectAsRegion(), LIB_PIN::PlotSymbol(), and Rect().
|
inherited |
Draw a pattern shape number aShapeId, to coord position.
Diameter diameter = (coord table) hole AShapeId = index (used to generate forms characters)
Definition at line 331 of file plotter.cpp.
References PLOTTER::MARKER_COUNT, PLOTTER::markerBackSlash(), PLOTTER::markerCircle(), PLOTTER::markerHBar(), PLOTTER::markerLozenge(), PLOTTER::markerSlash(), PLOTTER::markerSquare(), and PLOTTER::markerVBar().
Referenced by GENDRILL_WRITER_BASE::genDrillMapFile(), and GENDRILL_WRITER_BASE::plotDrillMarks().
|
protectedinherited |
Plot a \ bar centered on the position.
Building block for markers
Definition at line 317 of file plotter.cpp.
References PLOTTER::FinishTo(), and PLOTTER::MoveTo().
Referenced by PLOTTER::Marker().
|
protectedinherited |
Plot a circle centered on the position.
Building block for markers
Definition at line 273 of file plotter.cpp.
References PLOTTER::Circle(), PLOTTER::GetCurrentLineWidth(), and NO_FILL.
Referenced by PLOTTER::Marker().
|
protectedinherited |
Plot a - bar centered on the position.
Building block for markers
Definition at line 303 of file plotter.cpp.
References PLOTTER::FinishTo(), and PLOTTER::MoveTo().
Referenced by PLOTTER::Marker().
|
protectedinherited |
Plot a lozenge centered on the position.
Building block for markers
Definition at line 279 of file plotter.cpp.
References PLOTTER::GetCurrentLineWidth(), NO_FILL, and PLOTTER::PlotPoly().
Referenced by PLOTTER::Marker().
|
protectedinherited |
Plot a / bar centered on the position.
Building block for markers
Definition at line 310 of file plotter.cpp.
References PLOTTER::FinishTo(), and PLOTTER::MoveTo().
Referenced by PLOTTER::Marker().
|
protectedinherited |
Plot a square centered on the position.
Building block for markers
Definition at line 248 of file plotter.cpp.
References PLOTTER::GetCurrentLineWidth(), KiROUND(), NO_FILL, and PLOTTER::PlotPoly().
Referenced by PLOTTER::Marker().
|
protectedinherited |
Plot a | bar centered on the position.
Building block for markers
Definition at line 324 of file plotter.cpp.
References PLOTTER::FinishTo(), and PLOTTER::MoveTo().
Referenced by PLOTTER::Marker().
|
inlineinherited |
Definition at line 257 of file plotter.h.
References PLOTTER::PenTo().
Referenced by PLOTTER::Arc(), PLOTTER::BezierCurve(), HPGL_PLOTTER::Circle(), HPGL_PLOTTER::FlashPadCircle(), FlashPadCustom(), FlashPadRect(), FlashPadRoundRect(), FlashPadTrapez(), PLOTTER::markerBackSlash(), PLOTTER::markerHBar(), PLOTTER::markerSlash(), PLOTTER::markerVBar(), SCH_BUS_ENTRY_BASE::Plot(), SCH_NO_CONNECT::Plot(), SCH_LINE::Plot(), SCH_SHEET::Plot(), GERBER_PLOTTER::plotArc(), PlotDrawingSheet(), PlotPoly(), HPGL_PLOTTER::PlotPoly(), GERBER_PLOTTER::PlotPoly(), GERBER_PLOTTER::plotRoundRectAsRegion(), LIB_PIN::PlotSymbol(), Rect(), HPGL_PLOTTER::Rect(), PLOTTER::sketchOval(), GERBER_PLOTTER::ThickSegment(), ThickSegment(), HPGL_PLOTTER::ThickSegment(), and PLOTTER::ThickSegment().
|
virtualinherited |
Open or create the plot file aFullFilename.
aFullFilename | = the full file name of the file to create |
Virtual because some plotters use ascii files, some others binary files (PDF) The base class open the file in text mode
Reimplemented in PDF_PLOTTER.
Definition at line 76 of file plotter.cpp.
References PLOTTER::m_filename, PLOTTER::m_outputFile, and NULL.
Referenced by GERBER_WRITER::createDrillFile(), PLACEFILE_GERBER_WRITER::CreatePlaceFile(), GENDRILL_WRITER_BASE::genDrillMapFile(), DIALOG_PLOT_SCHEMATIC::Plot_1_Page_HPGL(), DIALOG_PLOT_SCHEMATIC::PlotOneSheetDXF(), DIALOG_PLOT_SCHEMATIC::plotOneSheetPS(), DIALOG_PLOT_SCHEMATIC::plotOneSheetSVG(), StartPlotBoard(), and SYMBOL_EDIT_FRAME::SVGPlotSymbol().
|
inlineinherited |
Definition at line 158 of file plotter.h.
References PLOTTER::m_pageInfo.
Referenced by DIALOG_PLOT_SCHEMATIC::plotOneSheetPDF(), DIALOG_PLOT_SCHEMATIC::plotOneSheetPS(), and DIALOG_PLOT_SCHEMATIC::plotOneSheetSVG().
|
inlineinherited |
Definition at line 273 of file plotter.h.
References PLOTTER::PenTo().
Referenced by HPGL_PLOTTER::Circle(), HPGL_PLOTTER::FlashPadCircle(), PlotPoly(), HPGL_PLOTTER::PlotPoly(), GERBER_PLOTTER::PlotPoly(), and HPGL_PLOTTER::Rect().
|
overridevirtual |
moveto/lineto primitive, moves the 'pen' to the specified direction
pos | is the target position |
plume | specifies the kind of motion: 'U' only moves the pen, 'D' draw a line from the current position and 'Z' finish the drawing and returns the 'pen' to rest (flushes the trace) |
Implements PLOTTER.
Definition at line 586 of file DXF_plotter.cpp.
References FIRST_TYPE, getDXFColorName(), getDXFLineType(), LAST_TYPE, m_currentColor, m_currentLineType, PLOTTER::m_outputFile, PLOTTER::m_penLastpos, TO_UTF8, PLOTTER::userToDeviceCoordinates(), VECTOR2< T >::x, and VECTOR2< T >::y.
|
virtualinherited |
Only PostScript plotters can plot bitmaps.
A rectangle is plotted for plotters that cannot plot a bitmap.
Draw an image bitmap
aImage | = the bitmap |
aPos | = position of the center of the bitmap |
aScaleFactor | = the scale factor to apply to the bitmap size (this is not the plot scale factor) |
Reimplemented in SVG_PLOTTER, PDF_PLOTTER, and PS_PLOTTER.
Definition at line 231 of file plotter.cpp.
References NO_FILL, and PLOTTER::Rect().
Referenced by BITMAP_BASE::PlotImage(), and SVG_PLOTTER::PlotImage().
|
overridevirtual |
DXF polygon: doesn't fill it but at least it close the filled ones DXF does not know thick outline.
It does not know thhick segments, therefore filled polygons with thick outline are converted to inflated polygon by aWidth/2
Implements PLOTTER.
Definition at line 484 of file DXF_plotter.cpp.
References SHAPE_POLY_SET::Append(), SHAPE_POLY_SET::BooleanAdd(), SHAPE_POLY_SET::COutline(), SHAPE_LINE_CHAIN::CPoint(), ERROR_INSIDE, FILLED, SHAPE_POLY_SET::Fracture(), PLOTTER::GetPlotterArcHighDef(), PLOTTER::LineTo(), PLOTTER::MoveTo(), SHAPE_POLY_SET::NewOutline(), NO_FILL, NULL, SHAPE_POLY_SET::OutlineCount(), PLOTTER::PenFinish(), SHAPE_POLY_SET::PM_FAST, SHAPE_LINE_CHAIN::PointCount(), ThickSegment(), TransformOvalToPolygon(), VECTOR2< T >::x, and VECTOR2< T >::y.
Referenced by ThickSegment().
|
virtualinherited |
Draw a polygon ( filled or not )
aCornerList | = corners list (a SHAPE_LINE_CHAIN). must be closed (IsClosed() == true) for a polygon. Otherwise this is a polyline |
aFill | = type of fill |
aWidth | = line width |
aData | an auxiliary info (mainly for gerber format) |
Definition at line 598 of file plotter.cpp.
References SHAPE_LINE_CHAIN::CPoint(), SHAPE_LINE_CHAIN::IsClosed(), PLOTTER::PlotPoly(), and SHAPE_LINE_CHAIN::PointCount().
|
overridevirtual |
DXF rectangle: fill not supported.
Implements PLOTTER.
Definition at line 427 of file DXF_plotter.cpp.
References PLOTTER::FinishTo(), PLOTTER::LineTo(), PLOTTER::m_outputFile, and PLOTTER::MoveTo().
|
inlineinherited |
Definition at line 155 of file plotter.h.
References PLOTTER::m_renderSettings.
Referenced by PLOT_CONTROLLER::ClosePlot(), DIALOG_PLOT::Plot(), LIB_CIRCLE::Plot(), LIB_RECTANGLE::Plot(), LIB_BEZIER::Plot(), LIB_ARC::Plot(), LIB_POLYLINE::Plot(), LIB_TEXT::Plot(), SCH_BUS_ENTRY_BASE::Plot(), SCH_JUNCTION::Plot(), SCH_NO_CONNECT::Plot(), SCH_BITMAP::Plot(), LIB_FIELD::Plot(), SCH_FIELD::Plot(), SCH_LINE::Plot(), SCH_SCREEN::Plot(), LIB_PART::Plot(), SCH_TEXT::Plot(), SCH_SHEET::Plot(), DIALOG_PLOT_SCHEMATIC::Plot_1_Page_HPGL(), PlotDrawingSheet(), LIB_PART::PlotLibFields(), DIALOG_PLOT_SCHEMATIC::PlotOneSheetDXF(), DIALOG_PLOT_SCHEMATIC::plotOneSheetPDF(), DIALOG_PLOT_SCHEMATIC::plotOneSheetPS(), DIALOG_PLOT_SCHEMATIC::plotOneSheetSVG(), LIB_PIN::PlotPinTexts(), LIB_PIN::PlotSymbol(), and StartPlotBoard().
|
protectedinherited |
Convert a thick segment and plot it as an oval.
Definition at line 437 of file plotter.cpp.
References ArcTangente(), EuclideanNorm(), PLOTTER::FlashPadOval(), KiROUND(), and NULL.
Referenced by GERBER_PLOTTER::ThickSegment(), HPGL_PLOTTER::ThickSegment(), and PLOTTER::ThickSegment().
|
overridevirtual |
The DXF exporter handles 'colors' as layers...
Implements PLOTTER.
Definition at line 410 of file DXF_plotter.cpp.
References BLACK, color, PLOTTER::m_colorMode, m_currentColor, and WHITE.
Referenced by Text().
|
inlinevirtualinherited |
Plot in B/W or color.
aColorMode | = true to plot in color, false to plot in black and white |
Definition at line 151 of file plotter.h.
References PLOTTER::m_colorMode.
Referenced by DIALOG_PLOT_SCHEMATIC::createPDFFile(), DIALOG_EXPORT_SVG::CreateSVGFile(), GENDRILL_WRITER_BASE::genDrillMapFile(), initializePlotter(), DIALOG_PLOT_SCHEMATIC::Plot_1_Page_HPGL(), DIALOG_PLOT_SCHEMATIC::PlotOneSheetDXF(), DIALOG_PLOT_SCHEMATIC::plotOneSheetPS(), DIALOG_PLOT_SCHEMATIC::plotOneSheetSVG(), PLOT_CONTROLLER::SetColorMode(), and SYMBOL_EDIT_FRAME::SVGPlotSymbol().
|
inlinevirtualinherited |
Definition at line 172 of file plotter.h.
References PLOTTER::m_creator.
Referenced by GERBER_WRITER::createDrillFile(), DIALOG_PLOT_SCHEMATIC::createPDFFile(), PLACEFILE_GERBER_WRITER::CreatePlaceFile(), GENDRILL_WRITER_BASE::genDrillMapFile(), initializePlotter(), DIALOG_PLOT_SCHEMATIC::Plot_1_Page_HPGL(), DIALOG_PLOT_SCHEMATIC::PlotOneSheetDXF(), DIALOG_PLOT_SCHEMATIC::plotOneSheetPS(), DIALOG_PLOT_SCHEMATIC::plotOneSheetSVG(), and SYMBOL_EDIT_FRAME::SVGPlotSymbol().
|
inlineoverridevirtual |
Set the line width for the next drawing.
width | is specified in IUs |
aData | is an auxiliary parameter, mainly used in gerber plotter |
Implements PLOTTER.
Definition at line 68 of file plotter_dxf.h.
References PLOTTER::m_currentPenWidth.
|
overridevirtual |
Implements PLOTTER.
Definition at line 612 of file DXF_plotter.cpp.
References FIRST_TYPE, LAST_TYPE, and m_currentLineType.
|
inlinevirtualinherited |
Reimplemented in GERBER_PLOTTER.
Definition at line 458 of file plotter.h.
Referenced by GENDRILL_WRITER_BASE::genDrillMapFile(), and initializePlotter().
|
inlinevirtualinherited |
Set the current Gerber layer polarity to positive or negative by writing %LPD*% or %LPC*% to the Gerber file, respectively.
(obviously starts a new Gerber layer, too)
aPositive | is the layer polarity and true for positive. It's not useful with most other plotter since they can't 'scratch' the film like photoplotter imagers do |
Reimplemented in GERBER_PLOTTER.
Definition at line 444 of file plotter.h.
Referenced by PlotOneBoardLayer().
|
inlinevirtualinherited |
Definition at line 142 of file plotter.h.
References PLOTTER::m_negativeMode.
Referenced by FillNegativeKnockout().
|
inlinevirtualinherited |
Definition at line 157 of file plotter.h.
References PLOTTER::m_pageInfo.
Referenced by GENDRILL_WRITER_BASE::genDrillMapFile(), initializePlotter(), DIALOG_PLOT_SCHEMATIC::Plot_1_Page_HPGL(), DIALOG_PLOT_SCHEMATIC::PlotOneSheetDXF(), DIALOG_PLOT_SCHEMATIC::plotOneSheetPS(), DIALOG_PLOT_SCHEMATIC::plotOneSheetSVG(), DIALOG_PLOT_SCHEMATIC::setupPlotPagePDF(), and SYMBOL_EDIT_FRAME::SVGPlotSymbol().
|
inlineinherited |
Definition at line 154 of file plotter.h.
References PLOTTER::m_renderSettings.
Referenced by DIALOG_PLOT_SCHEMATIC::createPDFFile(), GENDRILL_WRITER_BASE::genDrillMapFile(), DIALOG_PLOT_SCHEMATIC::Plot_1_Page_HPGL(), DIALOG_PLOT_SCHEMATIC::PlotOneSheetDXF(), DIALOG_PLOT_SCHEMATIC::plotOneSheetPS(), DIALOG_PLOT_SCHEMATIC::plotOneSheetSVG(), StartPlotBoard(), and SYMBOL_EDIT_FRAME::SVGPlotSymbol().
|
inlinevirtualinherited |
Reimplemented in SVG_PLOTTER.
Definition at line 463 of file plotter.h.
Referenced by initializePlotter().
|
inlineoverridevirtual |
DXF handles NATIVE text emitting TEXT entities.
Reimplemented from PLOTTER.
Definition at line 58 of file plotter_dxf.h.
References DEFAULT, m_textAsLines, and NATIVE.
|
inlinevirtualinherited |
Definition at line 174 of file plotter.h.
References PLOTTER::m_title.
Referenced by DIALOG_PLOT_SCHEMATIC::createPDFFile().
void DXF_PLOTTER::SetUnits | ( | DXF_UNITS | aUnit | ) |
Set the units to use for plotting the DXF file.
aUnit | - The units to use |
Definition at line 128 of file DXF_plotter.cpp.
References INCHES, m_measurementDirective, m_plotUnits, m_unitScalingFactor, and MILLIMETERS.
Referenced by DXF_PLOTTER(), GENDRILL_WRITER_BASE::genDrillMapFile(), and StartPlotBoard().
|
overridevirtual |
Set the scale/position for the DXF plot The DXF engine doesn't support line widths and mirroring.
The output coordinate system is in the first quadrant (in mm)
Implements PLOTTER.
Definition at line 152 of file DXF_plotter.cpp.
References BLACK, GetUnitScaling(), m_currentColor, PLOTTER::m_iuPerDeviceUnit, PLOTTER::m_IUsPerDecimil, PLOTTER::m_paperSize, PLOTTER::m_plotMirror, PLOTTER::m_plotOffset, and PLOTTER::m_plotScale.
Referenced by DIALOG_PLOT_SCHEMATIC::PlotOneSheetDXF().
|
protectedinherited |
Definition at line 458 of file plotter.cpp.
References AddAngles(), PLOTTER::Arc(), PLOTTER::FinishTo(), PLOTTER::m_currentPenWidth, PLOTTER::MoveTo(), NO_FILL, RotatePoint(), and PLOTTER::SetCurrentLineWidth().
Referenced by PSLIKE_PLOTTER::FlashPadOval(), FlashPadOval(), HPGL_PLOTTER::FlashPadOval(), and GERBER_PLOTTER::FlashPadOval().
|
inlinevirtualinherited |
calling this function allows one to define the beginning of a group of drawing items, for instance in SVG or Gerber format.
(example: group all segments of a letter or a text)
aData | can define any parameter for most of plotters: do nothing |
Reimplemented in SVG_PLOTTER, and GERBER_PLOTTER.
Definition at line 475 of file plotter.h.
Referenced by SCH_COMPONENT::Plot(), BRDITEMS_PLOTTER::PlotFilledAreas(), and PlotStandardLayer().
|
overridevirtual |
Opens the DXF plot with a skeleton header.
Implements PLOTTER.
Definition at line 178 of file DXF_plotter.cpp.
References BLACK, color, dxf_layer, DXF_OBLIQUE_ANGLE, PLOTTER::GetColorMode(), GetMeasurementDirective(), PLOTTER::m_outputFile, name, and NBCOLORS.
Referenced by DIALOG_PLOT_SCHEMATIC::PlotOneSheetDXF().
|
overridevirtual |
Draws text with the plotter.
Function PLOTTER::Text same as GRText, but plot graphic text insteed of draw it.
For convenience it accept the color to use for specific plotters (GERBER) aData is used to pass extra parameters
aPos | = text position (according to aH_justify, aV_justify) |
aColor | (COLOR4D) = text color |
aText | = text to draw |
aOrient | = angle in 0.1 degree |
aSize | = text size (size.x or size.y can be < 0 for mirrored texts) |
aH_justify | = horizontal justification (Left, center, right) |
aV_justify | = vertical justification (bottom, center, top) |
aPenWidth | = line width (if = 0, use plot default line width) |
aItalic | = true to simulate an italic font |
aBold | = true to use a bold font Useful only with default width value (aWidth = 0) |
aMultilineAllowed | = true to plot text as multiline, otherwise single line |
aData | = a parameter used by some plotters in SetCurrentLineWidth(), not directly used here. |
Reimplemented from PLOTTER.
Definition at line 868 of file DXF_plotter.cpp.
References containsNonAsciiChars(), DXF_OBLIQUE_ANGLE, getDXFColorName(), GR_TEXT_HJUSTIFY_CENTER, GR_TEXT_HJUSTIFY_LEFT, GR_TEXT_HJUSTIFY_RIGHT, GR_TEXT_VJUSTIFY_BOTTOM, GR_TEXT_VJUSTIFY_CENTER, GR_TEXT_VJUSTIFY_TOP, m_currentColor, PLOTTER::m_outputFile, m_textAsLines, SetColor(), PLOTTER::Text(), TO_UTF8, PLOTTER::userToDeviceCoordinates(), PLOTTER::userToDeviceSize(), VECTOR2< T >::x, and VECTOR2< T >::y.
|
virtualinherited |
Reimplemented in GERBER_PLOTTER.
Definition at line 530 of file plotter.cpp.
References PLOTTER::Arc(), FILLED, PLOTTER::m_currentPenWidth, NO_FILL, and PLOTTER::SetCurrentLineWidth().
Referenced by BRDITEMS_PLOTTER::PlotFootprintGraphicItem(), BRDITEMS_PLOTTER::PlotPcbShape(), and PlotStandardLayer().
|
virtualinherited |
Reimplemented in GERBER_PLOTTER.
Definition at line 568 of file plotter.cpp.
References PLOTTER::Circle(), FILLED, PLOTTER::m_currentPenWidth, NO_FILL, and PLOTTER::SetCurrentLineWidth().
Referenced by BRDITEMS_PLOTTER::PlotFootprintGraphicItem(), and BRDITEMS_PLOTTER::PlotPcbShape().
|
virtualinherited |
Reimplemented in GERBER_PLOTTER.
Definition at line 546 of file plotter.cpp.
References FILLED, PLOTTER::m_currentPenWidth, NO_FILL, PLOTTER::Rect(), and PLOTTER::SetCurrentLineWidth().
|
overridevirtual |
Reimplemented from PLOTTER.
Definition at line 619 of file DXF_plotter.cpp.
References SHAPE_POLY_SET::COutline(), SHAPE_LINE_CHAIN::CPoint(), ERROR_INSIDE, PLOTTER::FinishTo(), PLOTTER::GetPlotterArcHighDef(), PLOTTER::MoveTo(), NO_FILL, PlotPoly(), SHAPE_LINE_CHAIN::PointCount(), SKETCH, TransformOvalToPolygon(), VECTOR2< T >::x, and VECTOR2< T >::y.
Referenced by PlotPoly().
|
protectedvirtualinherited |
Modifies coordinates according to the orientation, scale factor, and offsets trace.
Also convert from a wxPoint to DPOINT, since some output engines needs floating point coordinates.
Definition at line 93 of file plotter.cpp.
References PLOTTER::m_iuPerDeviceUnit, PLOTTER::m_IUsPerDecimil, PLOTTER::m_mirrorIsHorizontal, PLOTTER::m_paperSize, PLOTTER::m_plotMirror, PLOTTER::m_plotOffset, PLOTTER::m_plotScale, PLOTTER::m_yaxisReversed, and MAX_PAGE_SIZE_MILS.
Referenced by Arc(), HPGL_PLOTTER::Arc(), PS_PLOTTER::Arc(), PDF_PLOTTER::Arc(), SVG_PLOTTER::Arc(), SVG_PLOTTER::BezierCurve(), Circle(), HPGL_PLOTTER::Circle(), PS_PLOTTER::Circle(), PDF_PLOTTER::Circle(), SVG_PLOTTER::Circle(), PSLIKE_PLOTTER::computeTextParameters(), GERBER_PLOTTER::FlashPadChamferRoundRect(), HPGL_PLOTTER::FlashPadCircle(), GERBER_PLOTTER::FlashPadCircle(), GERBER_PLOTTER::FlashPadCustom(), GERBER_PLOTTER::FlashPadOval(), GERBER_PLOTTER::FlashPadRect(), GERBER_PLOTTER::FlashPadRoundRect(), GERBER_PLOTTER::FlashPadTrapez(), GERBER_PLOTTER::FlashRegularPolygon(), PenTo(), GERBER_PLOTTER::PenTo(), HPGL_PLOTTER::PenTo(), PS_PLOTTER::PenTo(), PDF_PLOTTER::PenTo(), SVG_PLOTTER::PenTo(), GERBER_PLOTTER::plotArc(), PS_PLOTTER::PlotImage(), PDF_PLOTTER::PlotImage(), HPGL_PLOTTER::PlotPoly(), PS_PLOTTER::PlotPoly(), PDF_PLOTTER::PlotPoly(), SVG_PLOTTER::PlotPoly(), HPGL_PLOTTER::Rect(), PS_PLOTTER::Rect(), PDF_PLOTTER::Rect(), SVG_PLOTTER::Rect(), Text(), PS_PLOTTER::Text(), and SVG_PLOTTER::Text().
|
protectedvirtualinherited |
Modifies size according to the plotter scale factors (wxSize version, returns a DPOINT)
Definition at line 124 of file plotter.cpp.
References PLOTTER::m_iuPerDeviceUnit, and PLOTTER::m_plotScale.
Referenced by Arc(), HPGL_PLOTTER::Arc(), PS_PLOTTER::Arc(), SVG_PLOTTER::Arc(), Circle(), HPGL_PLOTTER::Circle(), PS_PLOTTER::Circle(), PDF_PLOTTER::Circle(), SVG_PLOTTER::Circle(), PSLIKE_PLOTTER::computeTextParameters(), HPGL_PLOTTER::FlashPadCircle(), PLOTTER::GetDashGapLenIU(), PLOTTER::GetDashMarkLenIU(), PLOTTER::GetDotMarkLenIU(), PDF_PLOTTER::PlotImage(), SVG_PLOTTER::PlotImage(), HPGL_PLOTTER::SetCurrentLineWidth(), PS_PLOTTER::SetCurrentLineWidth(), PDF_PLOTTER::SetCurrentLineWidth(), SVG_PLOTTER::setSVGPlotStyle(), HPGL_PLOTTER::SetTargetChordLength(), PDF_PLOTTER::StartPage(), HPGL_PLOTTER::StartPlot(), PS_PLOTTER::StartPlot(), Text(), and SVG_PLOTTER::Text().
|
protectedvirtualinherited |
Modifies size according to the plotter scale factors (simple double version)
Definition at line 131 of file plotter.cpp.
References PLOTTER::m_iuPerDeviceUnit, and PLOTTER::m_plotScale.
|
staticinherited |
Definition at line 125 of file plotter.h.
Referenced by GERBER_PLOTTER::FilledCircle(), GERBER_PLOTTER::FlashPadCircle(), GERBER_PLOTTER::SetCurrentLineWidth(), PS_PLOTTER::SetCurrentLineWidth(), PDF_PLOTTER::SetCurrentLineWidth(), SVG_PLOTTER::SetCurrentLineWidth(), GERBER_PLOTTER::ThickArc(), GERBER_PLOTTER::ThickCircle(), and GERBER_PLOTTER::ThickRect().
|
protectedinherited |
Definition at line 583 of file plotter.h.
Referenced by PLOTTER::GetColorMode(), PS_PLOTTER::PlotImage(), PDF_PLOTTER::PlotImage(), PLOTTER::PLOTTER(), SetColor(), PSLIKE_PLOTTER::SetColor(), and PLOTTER::SetColorMode().
|
protectedinherited |
Definition at line 589 of file plotter.h.
Referenced by PDF_PLOTTER::EndPlot(), PLOTTER::SetCreator(), GERBER_PLOTTER::StartPlot(), PS_PLOTTER::StartPlot(), and SVG_PLOTTER::StartPlot().
|
protected |
Definition at line 162 of file plotter_dxf.h.
Referenced by Arc(), Circle(), DXF_PLOTTER(), PenTo(), SetColor(), SetViewport(), and Text().
|
protected |
Definition at line 163 of file plotter_dxf.h.
Referenced by DXF_PLOTTER(), PenTo(), and SetDash().
|
protectedinherited |
Definition at line 585 of file plotter.h.
Referenced by GERBER_PLOTTER::FlashPadCircle(), PLOTTER::GetCurrentLineWidth(), PLOTTER::PLOTTER(), GERBER_PLOTTER::SetCurrentLineWidth(), HPGL_PLOTTER::SetCurrentLineWidth(), SetCurrentLineWidth(), PS_PLOTTER::SetCurrentLineWidth(), PDF_PLOTTER::SetCurrentLineWidth(), SVG_PLOTTER::SetCurrentLineWidth(), PLOTTER::sketchOval(), GERBER_PLOTTER::ThickArc(), PLOTTER::ThickArc(), GERBER_PLOTTER::ThickCircle(), PLOTTER::ThickCircle(), GERBER_PLOTTER::ThickRect(), and PLOTTER::ThickRect().
|
protectedinherited |
Definition at line 590 of file plotter.h.
Referenced by PDF_PLOTTER::EndPlot(), PLOTTER::OpenFile(), PDF_PLOTTER::OpenFile(), and SVG_PLOTTER::StartPlot().
|
protectedinherited |
Definition at line 595 of file plotter.h.
Referenced by PLOTTER::AddLineToHeader(), PLOTTER::ClearHeaderLinesList(), and GERBER_PLOTTER::StartPlot().
|
protectedinherited |
Definition at line 571 of file plotter.h.
Referenced by HPGL_PLOTTER::EndPlot(), PLOTTER::PLOTTER(), GERBER_PLOTTER::SetGerberCoordinatesFormat(), SVG_PLOTTER::SetSvgCoordinatesFormat(), GERBER_PLOTTER::SetViewport(), SetViewport(), HPGL_PLOTTER::SetViewport(), PS_PLOTTER::SetViewport(), PDF_PLOTTER::SetViewport(), PDF_PLOTTER::StartPage(), SVG_PLOTTER::StartPlot(), PLOTTER::userToDeviceCoordinates(), and PLOTTER::userToDeviceSize().
|
protectedinherited |
Definition at line 569 of file plotter.h.
Referenced by GERBER_PLOTTER::EndPlot(), PLOTTER::GetIUsPerDecimil(), PLOTTER::GetPlotterArcHighDef(), PLOTTER::GetPlotterArcLowDef(), PLOTTER::PLOTTER(), GERBER_PLOTTER::SetGerberCoordinatesFormat(), SVG_PLOTTER::SetSvgCoordinatesFormat(), GERBER_PLOTTER::SetViewport(), SetViewport(), HPGL_PLOTTER::SetViewport(), PS_PLOTTER::SetViewport(), PDF_PLOTTER::SetViewport(), SVG_PLOTTER::SetViewport(), GERBER_PLOTTER::StartPlot(), SVG_PLOTTER::StartPlot(), PLOTTER::userToDeviceCoordinates(), and GERBER_PLOTTER::writeApertureList().
|
protected |
Definition at line 167 of file plotter_dxf.h.
Referenced by GetMeasurementDirective(), and SetUnits().
|
protectedinherited |
Definition at line 576 of file plotter.h.
Referenced by PS_PLOTTER::Arc(), SVG_PLOTTER::Arc(), PLOTTER::PLOTTER(), and PLOTTER::userToDeviceCoordinates().
|
protectedinherited |
Definition at line 584 of file plotter.h.
Referenced by PLOTTER::PLOTTER(), PSLIKE_PLOTTER::SetColor(), and PLOTTER::SetNegative().
|
protectedinherited |
Output file.
Definition at line 580 of file plotter.h.
Referenced by Arc(), HPGL_PLOTTER::Arc(), PS_PLOTTER::Arc(), SVG_PLOTTER::Arc(), SVG_PLOTTER::BezierCurve(), Circle(), HPGL_PLOTTER::Circle(), PS_PLOTTER::Circle(), SVG_PLOTTER::Circle(), GERBER_PLOTTER::ClearAllAttributes(), GERBER_PLOTTER::clearNetAttribute(), PDF_PLOTTER::ClosePage(), PDF_PLOTTER::closePdfObject(), PDF_PLOTTER::closePdfStream(), GERBER_PLOTTER::emitDcode(), PS_PLOTTER::emitSetRGBColor(), SVG_PLOTTER::EndBlock(), GERBER_PLOTTER::EndPlot(), HPGL_PLOTTER::EndPlot(), EndPlot(), PS_PLOTTER::EndPlot(), PDF_PLOTTER::EndPlot(), SVG_PLOTTER::EndPlot(), FlashPadCircle(), HPGL_PLOTTER::FlashPadCircle(), PSLIKE_PLOTTER::FlashPadOval(), FlashPadOval(), HPGL_PLOTTER::FlashPadOval(), GERBER_PLOTTER::FlashPadOval(), FlashPadRect(), GERBER_PLOTTER::FlashPadRect(), GERBER_PLOTTER::FlashPadRoundRect(), FlashPadTrapez(), GERBER_PLOTTER::formatNetAttribute(), PLOTTER::OpenFile(), PDF_PLOTTER::OpenFile(), PenTo(), GERBER_PLOTTER::PenTo(), HPGL_PLOTTER::PenTo(), PS_PLOTTER::PenTo(), SVG_PLOTTER::PenTo(), GERBER_PLOTTER::plotArc(), GERBER_PLOTTER::PlotGerberRegion(), PS_PLOTTER::PlotImage(), SVG_PLOTTER::PlotImage(), GERBER_PLOTTER::PlotPoly(), PS_PLOTTER::PlotPoly(), SVG_PLOTTER::PlotPoly(), GERBER_PLOTTER::plotRoundRectAsRegion(), PLOTTER::PLOTTER(), Rect(), HPGL_PLOTTER::Rect(), PS_PLOTTER::Rect(), SVG_PLOTTER::Rect(), GERBER_PLOTTER::selectAperture(), PS_PLOTTER::SetCurrentLineWidth(), PS_PLOTTER::SetDash(), GERBER_PLOTTER::SetLayerPolarity(), SVG_PLOTTER::setSVGPlotStyle(), PS_PLOTTER::SetViewport(), SVG_PLOTTER::StartBlock(), PDF_PLOTTER::StartPage(), PDF_PLOTTER::startPdfObject(), PDF_PLOTTER::startPdfStream(), GERBER_PLOTTER::StartPlot(), HPGL_PLOTTER::StartPlot(), StartPlot(), PS_PLOTTER::StartPlot(), PDF_PLOTTER::StartPlot(), SVG_PLOTTER::StartPlot(), Text(), PS_PLOTTER::Text(), SVG_PLOTTER::Text(), HPGL_PLOTTER::ThickSegment(), GERBER_PLOTTER::writeApertureList(), and PLOTTER::~PLOTTER().
|
protectedinherited |
Definition at line 592 of file plotter.h.
Referenced by PDF_PLOTTER::ClosePage(), PLOTTER::PageSettings(), PLOTTER::SetPageSettings(), HPGL_PLOTTER::SetViewport(), PS_PLOTTER::SetViewport(), SVG_PLOTTER::SetViewport(), PDF_PLOTTER::StartPage(), and PS_PLOTTER::StartPlot().
|
protectedinherited |
Definition at line 593 of file plotter.h.
Referenced by HPGL_PLOTTER::EndPlot(), GERBER_PLOTTER::SetViewport(), SetViewport(), HPGL_PLOTTER::SetViewport(), PS_PLOTTER::SetViewport(), SVG_PLOTTER::SetViewport(), PDF_PLOTTER::StartPage(), SVG_PLOTTER::StartPlot(), and PLOTTER::userToDeviceCoordinates().
|
protectedinherited |
Definition at line 587 of file plotter.h.
Referenced by PenTo(), HPGL_PLOTTER::PenTo(), PS_PLOTTER::PenTo(), PDF_PLOTTER::PenTo(), and SVG_PLOTTER::PenTo().
|
protectedinherited |
Definition at line 586 of file plotter.h.
Referenced by GERBER_PLOTTER::PenTo(), HPGL_PLOTTER::PenTo(), PS_PLOTTER::PenTo(), PDF_PLOTTER::PenTo(), SVG_PLOTTER::PenTo(), and PLOTTER::PLOTTER().
|
protectedinherited |
Definition at line 574 of file plotter.h.
Referenced by HPGL_PLOTTER::Arc(), PS_PLOTTER::Arc(), SVG_PLOTTER::Arc(), PSLIKE_PLOTTER::computeTextParameters(), PLOTTER::PLOTTER(), GERBER_PLOTTER::SetViewport(), SetViewport(), HPGL_PLOTTER::SetViewport(), PS_PLOTTER::SetViewport(), PDF_PLOTTER::SetViewport(), SVG_PLOTTER::SetViewport(), PDF_PLOTTER::Text(), and PLOTTER::userToDeviceCoordinates().
|
protectedinherited |
Definition at line 573 of file plotter.h.
Referenced by GERBER_PLOTTER::SetViewport(), SetViewport(), HPGL_PLOTTER::SetViewport(), PS_PLOTTER::SetViewport(), PDF_PLOTTER::SetViewport(), SVG_PLOTTER::SetViewport(), and PLOTTER::userToDeviceCoordinates().
|
protectedinherited |
Plot scale - chosen by the user (even implicitly with 'fit in a4')
Definition at line 563 of file plotter.h.
Referenced by GERBER_PLOTTER::EndPlot(), PLOTTER::PLOTTER(), GERBER_PLOTTER::SetViewport(), SetViewport(), HPGL_PLOTTER::SetViewport(), PS_PLOTTER::SetViewport(), PDF_PLOTTER::SetViewport(), SVG_PLOTTER::SetViewport(), PLOTTER::userToDeviceCoordinates(), PLOTTER::userToDeviceSize(), and GERBER_PLOTTER::writeApertureList().
|
protected |
Definition at line 165 of file plotter_dxf.h.
Referenced by GetUnits(), and SetUnits().
|
protectedinherited |
Definition at line 597 of file plotter.h.
Referenced by PLOTTER::PLOTTER(), PLOTTER::RenderSettings(), GERBER_PLOTTER::SetCurrentLineWidth(), PS_PLOTTER::SetCurrentLineWidth(), PDF_PLOTTER::SetCurrentLineWidth(), SVG_PLOTTER::SetCurrentLineWidth(), PLOTTER::SetRenderSettings(), PDF_PLOTTER::StartPage(), GERBER_PLOTTER::StartPlot(), and PS_PLOTTER::StartPlot().
|
protected |
Definition at line 161 of file plotter_dxf.h.
Referenced by DXF_PLOTTER(), SetTextMode(), and Text().
|
protectedinherited |
Definition at line 591 of file plotter.h.
Referenced by PDF_PLOTTER::EndPlot(), PLOTTER::SetTitle(), and PS_PLOTTER::StartPlot().
|
protected |
Definition at line 166 of file plotter_dxf.h.
Referenced by GetUnitScaling(), and SetUnits().
|
protectedinherited |
Definition at line 577 of file plotter.h.
Referenced by SVG_PLOTTER::Arc(), PLOTTER::PLOTTER(), SVG_PLOTTER::SetViewport(), and PLOTTER::userToDeviceCoordinates().
|
staticinherited |
Draw a marker (used for the drill map)
Definition at line 427 of file plotter.h.
Referenced by PLOTTER::Marker().
|
staticinherited |
Definition at line 126 of file plotter.h.
Referenced by GERBER_PLOTTER::FilledCircle(), PSLIKE_PLOTTER::FlashPadCircle(), GERBER_PLOTTER::FlashPadCircle(), PSLIKE_PLOTTER::FlashPadCustom(), GERBER_PLOTTER::FlashPadCustom(), PSLIKE_PLOTTER::FlashPadRect(), GERBER_PLOTTER::FlashPadRect(), PSLIKE_PLOTTER::FlashPadRoundRect(), GERBER_PLOTTER::FlashPadRoundRect(), PSLIKE_PLOTTER::FlashPadTrapez(), PlotDrawingSheet(), HPGL_PLOTTER::PlotPoly(), GERBER_PLOTTER::SetCurrentLineWidth(), PS_PLOTTER::SetCurrentLineWidth(), PDF_PLOTTER::SetCurrentLineWidth(), SVG_PLOTTER::SetCurrentLineWidth(), GERBER_PLOTTER::ThickArc(), GERBER_PLOTTER::ThickCircle(), GERBER_PLOTTER::ThickRect(), and GERBER_PLOTTER::ThickSegment().