KiCad PCB EDA Suite
|
#include <plotter_hpgl.h>
Classes | |
struct | HPGL_ITEM |
Public Member Functions | |
HPGL_PLOTTER () | |
virtual PLOT_FORMAT | GetPlotterType () const override |
Returns the effective plot engine in use. More... | |
void | SetTargetChordLength (double chord_len) |
Set the target length of chords used to draw approximated circles and arcs. More... | |
void | SetUserCoords (bool user_coords) |
Switch to the user coordinate system. More... | |
void | SetUserCoordsFit (bool user_coords_fit) |
Set whether the user coordinate system is fit to content. More... | |
virtual bool | StartPlot (const wxString &aPageNumber) override |
At the start of the HPGL plot pen speed and number are requested. More... | |
virtual bool | EndPlot () override |
HPGL end of plot: sort and emit graphics, pen return and release. More... | |
virtual void | SetCurrentLineWidth (int width, void *aData=nullptr) override |
HPGL doesn't handle line thickness or color. More... | |
virtual void | SetDash (int aLineWidth, PLOT_DASH_TYPE aLineStyle) override |
HPGL supports dashed lines. More... | |
virtual void | SetColor (const COLOR4D &color) override |
virtual void | SetPenSpeed (int speed) |
virtual void | SetPenNumber (int number) |
virtual void | SetPenDiameter (double diameter) |
virtual void | SetViewport (const VECTOR2I &aOffset, double aIusPerDecimil, double aScale, bool aMirror) override |
Set the plot offset and scaling for the current plot. More... | |
virtual void | Rect (const VECTOR2I &p1, const VECTOR2I &p2, FILL_T aFill, int aWidth=USE_DEFAULT_LINE_WIDTH) override |
virtual void | Circle (const VECTOR2I &aCenter, int aDiameter, FILL_T aFill, int aWidth=USE_DEFAULT_LINE_WIDTH) override |
virtual void | PlotPoly (const std::vector< VECTOR2I > &aCornerList, FILL_T aFill, int aWidth=USE_DEFAULT_LINE_WIDTH, void *aData=nullptr) override |
Draw a polygon ( filled or not ). More... | |
virtual void | ThickSegment (const VECTOR2I &start, const VECTOR2I &end, int width, OUTLINE_MODE tracemode, void *aData) override |
virtual void | Arc (const VECTOR2I &aCenter, const VECTOR2I &aStart, const VECTOR2I &aEnd, FILL_T aFill, int aWidth, int aMaxError) override |
Generic fallback: arc rendered as a polyline. More... | |
virtual void | PenTo (const VECTOR2I &pos, char plume) override |
Moveto/lineto primitive, moves the 'pen' to the specified direction. More... | |
virtual void | FlashPadCircle (const VECTOR2I &aPadPos, int aDiameter, OUTLINE_MODE aTraceMode, void *aData) override |
virtual void | FlashPadOval (const VECTOR2I &aPadPos, const VECTOR2I &aSize, const EDA_ANGLE &aPadOrient, OUTLINE_MODE aTraceMode, void *aData) override |
virtual void | FlashPadRect (const VECTOR2I &aPadPos, const VECTOR2I &aSize, const EDA_ANGLE &aOrient, OUTLINE_MODE aTraceMode, void *aData) override |
virtual void | FlashPadRoundRect (const VECTOR2I &aPadPos, const VECTOR2I &aSize, int aCornerRadius, const EDA_ANGLE &aOrient, OUTLINE_MODE aTraceMode, void *aData) override |
virtual void | FlashPadCustom (const VECTOR2I &aPadPos, const VECTOR2I &aSize, const EDA_ANGLE &aOrient, SHAPE_POLY_SET *aPolygons, OUTLINE_MODE aTraceMode, void *aData) override |
virtual void | FlashPadTrapez (const VECTOR2I &aPadPos, const VECTOR2I *aCorners, const EDA_ANGLE &aPadOrient, OUTLINE_MODE aTraceMode, void *aData) override |
Flash a trapezoidal pad. More... | |
virtual void | FlashRegularPolygon (const VECTOR2I &aShapePos, int aDiameter, int aCornerCount, const EDA_ANGLE &aOrient, OUTLINE_MODE aTraceMode, void *aData) override |
Flash a regular polygon. 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 VECTOR2I &aStart, const VECTOR2I &aControl1, const VECTOR2I &aControl2, const VECTOR2I &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 VECTOR2I &pos) |
void | LineTo (const VECTOR2I &pos) |
void | FinishTo (const VECTOR2I &pos) |
void | PenFinish () |
virtual void | PlotPoly (const SHAPE_LINE_CHAIN &aCornerList, FILL_T aFill, int aWidth=USE_DEFAULT_LINE_WIDTH, void *aData=nullptr) |
Draw a polygon ( filled or not ). More... | |
virtual void | PlotImage (const wxImage &aImage, const VECTOR2I &aPos, double aScaleFactor) |
Only PostScript plotters can plot bitmaps. More... | |
virtual void | ThickArc (const VECTOR2I &aCentre, const VECTOR2I &aStart, const VECTOR2I &aEnd, int aWidth, OUTLINE_MODE aTraceMode, void *aData) |
virtual void | ThickArc (const EDA_SHAPE &aArcShape, OUTLINE_MODE aTraceMode, void *aData) |
virtual void | ThickRect (const VECTOR2I &p1, const VECTOR2I &p2, int width, OUTLINE_MODE tracemode, void *aData) |
virtual void | ThickCircle (const VECTOR2I &pos, int diametre, int width, OUTLINE_MODE tracemode, void *aData) |
virtual void | FilledCircle (const VECTOR2I &pos, int diametre, OUTLINE_MODE tracemode, void *aData) |
virtual void | Text (const VECTOR2I &aPos, const COLOR4D &aColor, const wxString &aText, const EDA_ANGLE &aOrient, const VECTOR2I &aSize, enum GR_TEXT_H_ALIGN_T aH_justify, enum GR_TEXT_V_ALIGN_T aV_justify, int aPenWidth, bool aItalic, bool aBold, bool aMultilineAllowed, KIFONT::FONT *aFont, void *aData=nullptr) |
Draw text with the plotter. More... | |
virtual void | HyperlinkBox (const BOX2I &aBox, const wxString &aDestinationURL) |
Create a clickable hyperlink with a rectangular click area. More... | |
virtual void | HyperlinkMenu (const BOX2I &aBox, const std::vector< wxString > &aDestURLs) |
Create a clickable hyperlink menu with a rectangular click area. More... | |
virtual void | Bookmark (const BOX2I &aBox, const wxString &aName, const wxString &aGroupName=wxEmptyString) |
Create a bookmark to a symbol. More... | |
void | Marker (const VECTOR2I &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 | SetTextMode (PLOT_TEXT_MODE mode) |
Change the current text mode. More... | |
virtual void | SetGerberCoordinatesFormat (int aResolution, bool aUseInches=false) |
virtual void | SetSvgCoordinatesFormat (unsigned aPrecision) |
Set the number of digits for mantissa in coordinates in mm for SVG plotter. More... | |
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 | |
virtual void | Arc (const VECTOR2I &aCenter, const EDA_ANGLE &aStartAngle, const EDA_ANGLE &aEndAngle, int aRadius, FILL_T aFill, int aWidth=USE_DEFAULT_LINE_WIDTH) override |
Plot an arc. More... | |
bool | startItem (const VECTOR2D &location) |
Start a new HPGL_ITEM if necessary, keeping the current one if it exists. More... | |
void | flushItem () |
Flush the current HPGL_ITEM and clear out the current item pointer. More... | |
bool | startOrAppendItem (const VECTOR2D &location, const wxString &content) |
Start a new HPGL_ITEM with the given string if necessary, or append the string to the current item. More... | |
virtual void | ThickArc (const VECTOR2I &aCentre, const EDA_ANGLE &StAngle, const EDA_ANGLE &EndAngle, int aRadius, int aWidth, OUTLINE_MODE aTraceMode, void *aData) |
void | markerCircle (const VECTOR2I &pos, int radius) |
Plot a circle centered on the position. More... | |
void | markerHBar (const VECTOR2I &pos, int radius) |
Plot a - bar centered on the position. More... | |
void | markerSlash (const VECTOR2I &pos, int radius) |
Plot a / bar centered on the position. More... | |
void | markerBackSlash (const VECTOR2I &pos, int radius) |
Plot a \ bar centered on the position. More... | |
void | markerVBar (const VECTOR2I &pos, int radius) |
Plot a | bar centered on the position. More... | |
void | markerSquare (const VECTOR2I &position, int radius) |
Plot a square centered on the position. More... | |
void | markerLozenge (const VECTOR2I &position, int radius) |
Plot a lozenge centered on the position. More... | |
void | segmentAsOval (const VECTOR2I &start, const VECTOR2I &end, int width, OUTLINE_MODE tracemode) |
Convert a thick segment and plot it as an oval. More... | |
void | sketchOval (const VECTOR2I &aPos, const VECTOR2I &aSize, const EDA_ANGLE &aOrient, int aWidth) |
virtual VECTOR2D | userToDeviceCoordinates (const VECTOR2I &aCoordinate) |
Modify coordinates according to the orientation, scale factor, and offsets trace. More... | |
virtual VECTOR2D | userToDeviceSize (const VECTOR2I &size) |
Modify size according to the plotter scale factors (VECTOR2I version, returns a VECTOR2D). More... | |
virtual double | userToDeviceSize (double size) const |
Modify size according to the plotter scale factors (simple double version). More... | |
double | GetDotMarkLenIU (int aLineWidth) const |
double | GetDashMarkLenIU (int aLineWidth) const |
double | GetDashGapLenIU (int aLineWidth) const |
Static Protected Member Functions | |
static void | sortItems (std::list< HPGL_ITEM > &items) |
Sort a list of HPGL items to improve plotting speed on mechanical plotters. More... | |
static const char * | lineStyleCommand (PLOT_DASH_TYPE aLineStyle) |
Return the plot command corresponding to a line type. More... | |
Protected Attributes | |
int | m_penSpeed |
int | m_penNumber |
double | m_penDiameter |
double | m_arcTargetChordLength |
EDA_ANGLE | m_arcMinChordDegrees |
PLOT_DASH_TYPE | m_lineStyle |
bool | m_useUserCoords |
bool | m_fitUserCoords |
std::list< HPGL_ITEM > | m_items |
HPGL_ITEM * | m_current_item |
double | m_plotScale |
Plot scale - chosen by the user (even implicitly with 'fit in a4') More... | |
double | m_IUsPerDecimil |
double | m_iuPerDeviceUnit |
VECTOR2I | 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 |
VECTOR2I | m_penLastpos |
wxString | m_creator |
wxString | m_filename |
wxString | m_title |
PAGE_INFO | m_pageInfo |
VECTOR2I | m_paperSize |
wxArrayString | m_headerExtraLines |
RENDER_SETTINGS * | m_renderSettings |
Definition at line 33 of file plotter_hpgl.h.
HPGL_PLOTTER::HPGL_PLOTTER | ( | ) |
Definition at line 222 of file HPGL_plotter.cpp.
References SetPenDiameter(), SetPenNumber(), SetPenSpeed(), 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 168 of file plotter.h.
References PLOTTER::m_headerExtraLines.
Referenced by AddGerberX2Attribute(), AddGerberX2Header(), GERBER_WRITER::createDrillFile(), PLACEFILE_GERBER_WRITER::CreatePlaceFile(), and GENDRILL_WRITER_BASE::genDrillMapFile().
|
overrideprotectedvirtual |
Plot an arc.
Command PU PY x, y; PD start_arc_X AA, start_arc_Y, angle, NbSegm; PU; Or PU PY x, y; PD start_arc_X AA, start_arc_Y, angle, PU;
center is the center of the arc. StAngled is the start angle of the arc. aEndAngle is end angle the arc. Radius is the radius of the arc.
Reimplemented from PLOTTER.
Definition at line 570 of file HPGL_plotter.cpp.
References PNS::angle(), ANGLE_360, ANGLE_45, EDA_ANGLE::AsDegrees(), HPGL_PLOTTER::HPGL_ITEM::bbox, EDA_ANGLE::Cos(), flushItem(), Format(), KiROUND(), HPGL_PLOTTER::HPGL_ITEM::lift_after, m_arcMinChordDegrees, m_arcTargetChordLength, m_current_item, PLOTTER::m_plotMirror, BOX2< Vec >::Merge(), EDA_ANGLE::Sin(), startOrAppendItem(), PLOTTER::userToDeviceCoordinates(), PLOTTER::userToDeviceSize(), VECTOR2< T >::x, and VECTOR2< T >::y.
|
overridevirtual |
Generic fallback: arc rendered as a polyline.
Reimplemented from PLOTTER.
Definition at line 612 of file HPGL_plotter.cpp.
References Arc(), and EuclideanNorm().
Referenced by Arc().
|
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 224 of file plotter.cpp.
References PLOTTER::FinishTo(), BEZIER_POLY::GetPoly(), PLOTTER::LineTo(), PLOTTER::MoveTo(), and PLOTTER::SetCurrentLineWidth().
Referenced by SVG_PLOTTER::BezierCurve(), BRDITEMS_PLOTTER::PlotFootprintShape(), and BRDITEMS_PLOTTER::PlotPcbShape().
|
inlinevirtualinherited |
Create a bookmark to a symbol.
@aBox is the bounding box of the symbol @aSymbolReference is the symbol schematic ref
Reimplemented in PDF_PLOTTER.
Definition at line 457 of file plotter.h.
Referenced by SCH_LABEL_BASE::Plot(), SCH_SYMBOL::Plot(), and PlotStandardLayer().
|
overridevirtual |
Implements PLOTTER.
Definition at line 416 of file HPGL_plotter.cpp.
References ANGLE_360, ANGLE_45, EDA_ANGLE::AsDegrees(), HPGL_PLOTTER::HPGL_ITEM::bbox, FILLED_SHAPE, Format(), hpgl_end_polygon_cmd, HPGL_PLOTTER::HPGL_ITEM::lift_before, m_arcMinChordDegrees, m_arcTargetChordLength, m_current_item, PLOTTER::m_outputFile, BOX2< Vec >::Merge(), PLOTTER::MoveTo(), HPGL_PLOTTER::HPGL_ITEM::pen_returns, PLOTTER::PenFinish(), SetCurrentLineWidth(), startOrAppendItem(), PLOTTER::userToDeviceCoordinates(), and PLOTTER::userToDeviceSize().
|
inlineinherited |
Remove all lines from the list of free lines to print at the beginning of the file.
Definition at line 176 of file plotter.h.
References PLOTTER::m_headerExtraLines.
Referenced by GENDRILL_WRITER_BASE::genDrillMapFile(), and 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 GERBER_PLOTTER, and SVG_PLOTTER.
Definition at line 527 of file plotter.h.
Referenced by SCH_SYMBOL::Plot(), BRDITEMS_PLOTTER::PlotFilledAreas(), and PlotStandardLayer().
|
overridevirtual |
HPGL end of plot: sort and emit graphics, pen return and release.
Implements PLOTTER.
Definition at line 271 of file HPGL_plotter.cpp.
References flushItem(), BOX2< Vec >::GetHeight(), BOX2< Vec >::GetWidth(), BOX2< Vec >::GetX(), BOX2< Vec >::GetY(), lineStyleCommand(), m_fitUserCoords, m_items, PLOTTER::m_iuPerDeviceUnit, PLOTTER::m_outputFile, PLOTTER::m_paperSize, m_penNumber, m_useUserCoords, BOX2< Vec >::Merge(), SOLID, sortItems(), VECTOR2< T >::x, and VECTOR2< T >::y.
Referenced by SCH_PLOTTER::plotOneSheetHpgl().
|
virtualinherited |
Reimplemented in GERBER_PLOTTER.
Definition at line 668 of file plotter.cpp.
References PLOTTER::Circle(), FILLED, FILLED_SHAPE, NO_FILL, and PLOTTER::SetCurrentLineWidth().
Referenced by BRDITEMS_PLOTTER::PlotFootprintShape(), and BRDITEMS_PLOTTER::PlotPcbShape().
|
inlineinherited |
Definition at line 257 of file plotter.h.
References PLOTTER::PenTo().
Referenced by PLOTTER::Arc(), PLOTTER::BezierCurve(), DXF_PLOTTER::FlashPadCustom(), DXF_PLOTTER::FlashPadRect(), DXF_PLOTTER::FlashPadRoundRect(), DXF_PLOTTER::FlashPadTrapez(), PLOTTER::markerBackSlash(), PLOTTER::markerHBar(), PLOTTER::markerSlash(), PLOTTER::markerVBar(), SCH_BUS_ENTRY_BASE::Plot(), SCH_LINE::Plot(), SCH_NO_CONNECT::Plot(), SCH_SHAPE::Plot(), PlotDrawingSheet(), GERBER_PLOTTER::PlotPoly(), LIB_PIN::PlotSymbol(), DXF_PLOTTER::Rect(), PLOTTER::sketchOval(), PLOTTER::ThickSegment(), DXF_PLOTTER::ThickSegment(), GERBER_PLOTTER::ThickSegment(), and ThickSegment().
|
overridevirtual |
aPadPos | Position of the shape (center of the rectangle. |
aDiameter | is the diameter of round pad. |
aTraceMode | is the drawing mode, FILLED or SKETCH. |
aData | is an auxiliary info (mainly for gerber format attributes). |
Implements PLOTTER.
Definition at line 661 of file HPGL_plotter.cpp.
References FILLED, Format(), hpgl_end_polygon_cmd, KiROUND(), HPGL_PLOTTER::HPGL_ITEM::lift_before, m_current_item, PLOTTER::m_outputFile, m_penDiameter, PLOTTER::MoveTo(), HPGL_PLOTTER::HPGL_ITEM::pen_returns, PLOTTER::PenFinish(), startOrAppendItem(), PLOTTER::userToDeviceCoordinates(), PLOTTER::userToDeviceSize(), VECTOR2< T >::x, and VECTOR2< T >::y.
Referenced by FlashPadOval().
|
overridevirtual |
aPadPos | Position of the shape. |
aSize | is the size of round reference pad. |
aPadOrient | is the pad rotation, used only with aperture macros (Gerber plotter). |
aPolygons | the shape as polygon set. |
aTraceMode | is the drawing mode, FILLED or SKETCH. |
aData | an auxiliary info (mainly for gerber format attributes). |
Implements PLOTTER.
Definition at line 781 of file HPGL_plotter.cpp.
References SHAPE_LINE_CHAIN::CPoint(), FILLED, FILLED_SHAPE, NO_FILL, SHAPE_POLY_SET::Outline(), SHAPE_POLY_SET::OutlineCount(), PlotPoly(), SHAPE_LINE_CHAIN::PointCount(), VECTOR2< T >::x, and VECTOR2< T >::y.
|
overridevirtual |
aPadPos | Position of the shape (center of the rectangle. |
aSize | is the size of oblong shape. |
aPadOrient | The rotation of the shape. |
aTraceMode | is the drawing mode, FILLED or SKETCH. |
aData | an auxiliary info (mainly for gerber format attributes). |
Implements PLOTTER.
Definition at line 624 of file HPGL_plotter.cpp.
References ANGLE_90, FILLED, FlashPadCircle(), FlashPadRect(), KiROUND(), PLOTTER::m_outputFile, m_penDiameter, RotatePoint(), PLOTTER::sketchOval(), VECTOR2< T >::x, and VECTOR2< T >::y.
|
overridevirtual |
aPadPos | Position of the shape (center of the rectangle). |
aSize | is the size of rounded rect. |
aPadOrient | The rotation of the shape. |
aTraceMode | is the drawing mode, FILLED or SKETCH. |
aData | an auxiliary info (mainly for gerber format attributes). |
Implements PLOTTER.
Definition at line 705 of file HPGL_plotter.cpp.
References FILLED, FILLED_SHAPE, KiROUND(), m_penDiameter, NO_FILL, PlotPoly(), RotatePoint(), VECTOR2< T >::x, and VECTOR2< T >::y.
Referenced by FlashPadOval().
|
overridevirtual |
aPadPos | Position of the shape (center of the rectangle. |
aSize | is the size of rounded rect. |
aCornerRadius | Radius of the rounded corners. |
aOrient | The rotation of the shape. |
aTraceMode | is the drawing mode, FILLED or SKETCH. |
aData | an auxiliary info (mainly for gerber format attributes). |
Implements PLOTTER.
Definition at line 743 of file HPGL_plotter.cpp.
References SHAPE_LINE_CHAIN::CPoint(), ERROR_INSIDE, FILLED, FILLED_SHAPE, PLOTTER::GetPlotterArcHighDef(), KiROUND(), m_penDiameter, NO_FILL, SHAPE_POLY_SET::Outline(), PlotPoly(), SHAPE_LINE_CHAIN::PointCount(), TransformRoundChamferedRectToPolygon(), VECTOR2< T >::x, and VECTOR2< T >::y.
|
overridevirtual |
Flash a trapezoidal pad.
aPadPos | is the the position of the shape. |
aCorners | is the list of 4 corners positions, relative to the shape position, pad orientation 0. |
aPadOrient | is the rotation of the shape. |
aTraceMode | is the drawing mode, FILLED or SKETCH. |
aData | an auxiliary info (mainly for gerber format attributes). |
Implements PLOTTER.
Definition at line 805 of file HPGL_plotter.cpp.
References FILLED, FILLED_SHAPE, NO_FILL, PlotPoly(), 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. |
aData | is a auxiliary parameter used (if needed) to handle extra info specific to the plotter. |
Implements PLOTTER.
Definition at line 827 of file HPGL_plotter.cpp.
|
protected |
Flush the current HPGL_ITEM and clear out the current item pointer.
Definition at line 842 of file HPGL_plotter.cpp.
References m_current_item.
|
inlineinherited |
Definition at line 138 of file plotter.h.
References PLOTTER::m_colorMode.
Referenced by PLOT_CONTROLLER::GetColorMode(), SCH_FIELD::Plot(), SCH_LABEL_BASE::Plot(), SCH_SHAPE::Plot(), SCH_SHEET::Plot(), SCH_TEXT::Plot(), SCH_TEXTBOX::Plot(), LIB_FIELD::Plot(), LIB_SHAPE::Plot(), LIB_TEXT::Plot(), LIB_TEXTBOX::Plot(), LIB_SYMBOL::Plot(), PlotDrawingSheet(), LIB_SYMBOL::PlotLibFields(), SCH_PLOTTER::plotOneSheetDXF(), SCH_PLOTTER::plotOneSheetPDF(), SCH_PLOTTER::plotOneSheetPS(), SCH_PLOTTER::plotOneSheetSVG(), LIB_PIN::PlotPinTexts(), LIB_PIN::PlotSymbol(), and DXF_PLOTTER::StartPlot().
|
inlinevirtualinherited |
Definition at line 153 of file plotter.h.
References PLOTTER::m_currentPenWidth.
Referenced by GERBER_PLOTTER::FlashPadChamferRoundRect(), PSLIKE_PLOTTER::FlashPadCircle(), PSLIKE_PLOTTER::FlashPadCustom(), GERBER_PLOTTER::FlashPadCustom(), GERBER_PLOTTER::FlashPadRect(), PSLIKE_PLOTTER::FlashPadRect(), GERBER_PLOTTER::FlashPadRoundRect(), PSLIKE_PLOTTER::FlashPadRoundRect(), GERBER_PLOTTER::FlashPadTrapez(), PSLIKE_PLOTTER::FlashPadTrapez(), GERBER_PLOTTER::FlashRegularPolygon(), PLOTTER::markerCircle(), PLOTTER::markerLozenge(), PLOTTER::markerSquare(), SVG_PLOTTER::PenTo(), SVG_PLOTTER::SetColor(), and PS_PLOTTER::SetCurrentLineWidth().
|
protectedinherited |
Definition at line 143 of file plotter.cpp.
References KIGFX::RENDER_SETTINGS::GetGapLength(), PLOTTER::m_renderSettings, and PLOTTER::userToDeviceSize().
Referenced by PS_PLOTTER::SetDash(), PDF_PLOTTER::SetDash(), and SVG_PLOTTER::setSVGPlotStyle().
|
protectedinherited |
Definition at line 137 of file plotter.cpp.
References KIGFX::RENDER_SETTINGS::GetDashLength(), PLOTTER::m_renderSettings, and PLOTTER::userToDeviceSize().
Referenced by PS_PLOTTER::SetDash(), PDF_PLOTTER::SetDash(), and SVG_PLOTTER::setSVGPlotStyle().
|
inlinestatic |
Definition at line 43 of file plotter_hpgl.h.
Referenced by SCH_PLOTTER::createHPGLFiles(), and GetDefaultPlotExtension().
|
protectedinherited |
Definition at line 131 of file plotter.cpp.
References KIGFX::RENDER_SETTINGS::GetDotLength(), PLOTTER::m_renderSettings, 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 210 of file plotter.h.
References PLOTTER::m_IUsPerDecimil.
Referenced by PlotDrawingSheet().
|
inlineinherited |
Definition at line 213 of file plotter.h.
References PLOTTER::m_IUsPerDecimil.
Referenced by GERBER_PLOTTER::FlashPadChamferRoundRect(), DXF_PLOTTER::FlashPadRoundRect(), GERBER_PLOTTER::FlashPadRoundRect(), FlashPadRoundRect(), PSLIKE_PLOTTER::FlashPadRoundRect(), DXF_PLOTTER::PlotPoly(), PLOTTER::ThickArc(), and DXF_PLOTTER::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 38 of file plotter_hpgl.h.
References HPGL.
|
inlinevirtualinherited |
Create a clickable hyperlink with a rectangular click area.
@aBox is the rectangular click target @aDestinationURL is the target URL
Reimplemented in PDF_PLOTTER.
Definition at line 435 of file plotter.h.
Referenced by SCH_TEXT::Plot(), and SCH_TEXTBOX::Plot().
|
inlinevirtualinherited |
Create a clickable hyperlink menu with a rectangular click area.
@aBox is the rectangular click target @aDestURLs is the list of target URLs for the menu
Reimplemented in PDF_PLOTTER.
Definition at line 446 of file plotter.h.
Referenced by SCH_FIELD::Plot(), SCH_LABEL_BASE::Plot(), SCH_LINE::Plot(), SCH_SHEET::Plot(), SCH_SYMBOL::Plot(), and PlotInteractiveLayer().
|
staticprotected |
Return the plot command corresponding to a line type.
Definition at line 934 of file HPGL_plotter.cpp.
References DASH, DASHDOT, DASHDOTDOT, and DOT.
Referenced by EndPlot().
|
inlineinherited |
Definition at line 252 of file plotter.h.
References PLOTTER::PenTo().
Referenced by PLOTTER::Arc(), PLOTTER::BezierCurve(), DXF_PLOTTER::FlashPadCustom(), DXF_PLOTTER::FlashPadRect(), DXF_PLOTTER::FlashPadRoundRect(), DXF_PLOTTER::FlashPadTrapez(), SCH_SHAPE::Plot(), GERBER_PLOTTER::plotArc(), PlotDrawingSheet(), GERBER_PLOTTER::PlotPoly(), DXF_PLOTTER::PlotPoly(), PlotPoly(), GERBER_PLOTTER::plotRoundRectAsRegion(), LIB_PIN::PlotSymbol(), DXF_PLOTTER::Rect(), and PLOTTER::Text().
|
inherited |
Draw a pattern shape number aShapeId, to coord position.
aPosition | is the position of the marker. |
aDiameter | is the diameter of the marker. |
aShapeId | is the index (used to generate forms characters). |
Definition at line 359 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 345 of file plotter.cpp.
References PLOTTER::FinishTo(), PLOTTER::MoveTo(), VECTOR2< T >::x, and VECTOR2< T >::y.
Referenced by PLOTTER::Marker().
|
protectedinherited |
Plot a circle centered on the position.
Building block for markers
Definition at line 298 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 331 of file plotter.cpp.
References PLOTTER::FinishTo(), PLOTTER::MoveTo(), VECTOR2< T >::x, and VECTOR2< T >::y.
Referenced by PLOTTER::Marker().
|
protectedinherited |
Plot a lozenge centered on the position.
Building block for markers
Definition at line 304 of file plotter.cpp.
References PLOTTER::GetCurrentLineWidth(), NO_FILL, PLOTTER::PlotPoly(), VECTOR2< T >::x, and VECTOR2< T >::y.
Referenced by PLOTTER::Marker().
|
protectedinherited |
Plot a / bar centered on the position.
Building block for markers
Definition at line 338 of file plotter.cpp.
References PLOTTER::FinishTo(), PLOTTER::MoveTo(), VECTOR2< T >::x, and VECTOR2< T >::y.
Referenced by PLOTTER::Marker().
|
protectedinherited |
Plot a square centered on the position.
Building block for markers
Definition at line 270 of file plotter.cpp.
References PLOTTER::GetCurrentLineWidth(), KiROUND(), NO_FILL, PLOTTER::PlotPoly(), VECTOR2< T >::x, and VECTOR2< T >::y.
Referenced by PLOTTER::Marker().
|
protectedinherited |
Plot a | bar centered on the position.
Building block for markers
Definition at line 352 of file plotter.cpp.
References PLOTTER::FinishTo(), PLOTTER::MoveTo(), VECTOR2< T >::x, and VECTOR2< T >::y.
Referenced by PLOTTER::Marker().
|
inlineinherited |
Definition at line 247 of file plotter.h.
References PLOTTER::PenTo().
Referenced by PLOTTER::Arc(), PLOTTER::BezierCurve(), Circle(), FlashPadCircle(), DXF_PLOTTER::FlashPadCustom(), DXF_PLOTTER::FlashPadRect(), DXF_PLOTTER::FlashPadRoundRect(), DXF_PLOTTER::FlashPadTrapez(), PLOTTER::markerBackSlash(), PLOTTER::markerHBar(), PLOTTER::markerSlash(), PLOTTER::markerVBar(), SCH_BUS_ENTRY_BASE::Plot(), SCH_LINE::Plot(), SCH_NO_CONNECT::Plot(), SCH_SHAPE::Plot(), GERBER_PLOTTER::plotArc(), PlotDrawingSheet(), GERBER_PLOTTER::PlotPoly(), DXF_PLOTTER::PlotPoly(), PlotPoly(), GERBER_PLOTTER::plotRoundRectAsRegion(), LIB_PIN::PlotSymbol(), Rect(), DXF_PLOTTER::Rect(), PLOTTER::sketchOval(), PLOTTER::Text(), PLOTTER::ThickSegment(), DXF_PLOTTER::ThickSegment(), GERBER_PLOTTER::ThickSegment(), and ThickSegment().
|
virtualinherited |
Open or create the plot file aFullFilename.
aFullFilename | is 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 74 of file plotter.cpp.
References PLOTTER::m_filename, and PLOTTER::m_outputFile.
Referenced by GERBER_WRITER::createDrillFile(), PLACEFILE_GERBER_WRITER::CreatePlaceFile(), EESCHEMA_JOBS_HANDLER::doSymExportSvg(), GENDRILL_WRITER_BASE::genDrillMapFile(), SCH_PLOTTER::plotOneSheetDXF(), SCH_PLOTTER::plotOneSheetHpgl(), SCH_PLOTTER::plotOneSheetPS(), SCH_PLOTTER::plotOneSheetSVG(), StartPlotBoard(), and SYMBOL_EDIT_FRAME::SVGPlotSymbol().
|
inlineinherited |
Definition at line 144 of file plotter.h.
References PLOTTER::m_pageInfo.
Referenced by SCH_PLOTTER::plotOneSheetPDF(), SCH_PLOTTER::plotOneSheetPS(), and SCH_PLOTTER::plotOneSheetSVG().
|
inlineinherited |
Definition at line 263 of file plotter.h.
References PLOTTER::PenTo().
Referenced by Circle(), FlashPadCircle(), GERBER_PLOTTER::PlotPoly(), DXF_PLOTTER::PlotPoly(), PlotPoly(), Rect(), and PLOTTER::Text().
|
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 514 of file HPGL_plotter.cpp.
References HPGL_PLOTTER::HPGL_ITEM::bbox, flushItem(), Format(), HPGL_PLOTTER::HPGL_ITEM::loc_end, m_current_item, PLOTTER::m_outputFile, PLOTTER::m_penLastpos, PLOTTER::m_penState, BOX2< Vec >::Merge(), startOrAppendItem(), 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.
aImage | is the bitmap. |
aPos | is position of the center of the bitmap. |
aScaleFactor | is the scale factor to apply to the bitmap size (this is not the plot scale factor). |
Reimplemented in PS_PLOTTER, PDF_PLOTTER, and SVG_PLOTTER.
Definition at line 254 of file plotter.cpp.
References NO_FILL, PLOTTER::Rect(), VECTOR2< T >::x, and VECTOR2< T >::y.
Referenced by SVG_PLOTTER::PlotImage(), and BITMAP_BASE::PlotImage().
|
virtualinherited |
Draw a polygon ( filled or not ).
aCornerList | is the corners list (a SHAPE_LINE_CHAIN). must be closed (IsClosed() == true) for a polygon. Otherwise this is a polyline. |
aFill | is the type of fill. |
aWidth | is the line width. |
aData | is an auxiliary info (mainly for gerber format). |
Reimplemented in GERBER_PLOTTER.
Definition at line 682 of file plotter.cpp.
References SHAPE_LINE_CHAIN::CPoint(), SHAPE_LINE_CHAIN::IsClosed(), PLOTTER::PlotPoly(), and SHAPE_LINE_CHAIN::PointCount().
|
overridevirtual |
Draw a polygon ( filled or not ).
aCornerList | is the corners list (a std::vector< VECTOR2I >). |
aFill | is the type of fill. |
aWidth | is the line width. |
aData | is an auxiliary info (mainly for gerber format). |
Implements PLOTTER.
Definition at line 459 of file HPGL_plotter.cpp.
References HPGL_PLOTTER::HPGL_ITEM::content, FILLED_SHAPE, hpgl_end_polygon_cmd, PLOTTER::LineTo(), m_current_item, PLOTTER::MoveTo(), NO_FILL, HPGL_PLOTTER::HPGL_ITEM::pen_returns, PLOTTER::PenFinish(), SetCurrentLineWidth(), startItem(), PLOTTER::USE_DEFAULT_LINE_WIDTH, and PLOTTER::userToDeviceCoordinates().
Referenced by FlashPadCustom(), FlashPadRect(), FlashPadRoundRect(), and FlashPadTrapez().
|
overridevirtual |
Implements PLOTTER.
Definition at line 390 of file HPGL_plotter.cpp.
References HPGL_PLOTTER::HPGL_ITEM::bbox, FILLED_SHAPE, Format(), HPGL_PLOTTER::HPGL_ITEM::loc_end, HPGL_PLOTTER::HPGL_ITEM::loc_start, m_current_item, PLOTTER::m_outputFile, BOX2< Vec >::Merge(), PLOTTER::MoveTo(), PLOTTER::PenFinish(), startOrAppendItem(), PLOTTER::userToDeviceCoordinates(), VECTOR2< T >::x, and VECTOR2< T >::y.
|
inlineinherited |
Definition at line 141 of file plotter.h.
References PLOTTER::m_renderSettings.
Referenced by PLOT_CONTROLLER::ClosePlot(), SCH_SCREEN::Plot(), SCH_BITMAP::Plot(), SCH_BUS_ENTRY_BASE::Plot(), SCH_FIELD::Plot(), SCH_JUNCTION::Plot(), SCH_LABEL_BASE::Plot(), SCH_LINE::Plot(), SCH_NO_CONNECT::Plot(), SCH_SHAPE::Plot(), SCH_SHEET::Plot(), SCH_TEXT::Plot(), SCH_TEXTBOX::Plot(), LIB_FIELD::Plot(), LIB_SHAPE::Plot(), LIB_TEXT::Plot(), LIB_TEXTBOX::Plot(), LIB_SYMBOL::Plot(), DIALOG_PLOT::Plot(), PlotDrawingSheet(), BRDITEMS_PLOTTER::PlotFootprintShape(), BRDITEMS_PLOTTER::PlotFootprintTextItem(), LIB_SYMBOL::PlotLibFields(), SCH_PLOTTER::plotOneSheetDXF(), SCH_PLOTTER::plotOneSheetHpgl(), SCH_PLOTTER::plotOneSheetPDF(), SCH_PLOTTER::plotOneSheetPS(), SCH_PLOTTER::plotOneSheetSVG(), BRDITEMS_PLOTTER::PlotPcbShape(), BRDITEMS_PLOTTER::PlotPcbText(), LIB_PIN::PlotPinTexts(), LIB_PIN::PlotSymbol(), and StartPlotBoard().
|
protectedinherited |
Convert a thick segment and plot it as an oval.
Definition at line 481 of file plotter.cpp.
References EuclideanNorm(), PLOTTER::FlashPadOval(), KiROUND(), VECTOR2< T >::x, and VECTOR2< T >::y.
Referenced by PLOTTER::ThickSegment(), GERBER_PLOTTER::ThickSegment(), and ThickSegment().
|
inlineoverridevirtual |
|
inlinevirtualinherited |
Plot in B/W or color.
aColorMode | use true to plot in color, false to plot in black and white. |
Definition at line 137 of file plotter.h.
References PLOTTER::m_colorMode.
Referenced by SCH_PLOTTER::createPDFFile(), EESCHEMA_JOBS_HANDLER::doSymExportSvg(), GENDRILL_WRITER_BASE::genDrillMapFile(), initializePlotter(), PCB_PLOT_SVG::Plot(), SCH_PLOTTER::plotOneSheetDXF(), SCH_PLOTTER::plotOneSheetHpgl(), SCH_PLOTTER::plotOneSheetPS(), SCH_PLOTTER::plotOneSheetSVG(), PLOT_CONTROLLER::SetColorMode(), and SYMBOL_EDIT_FRAME::SVGPlotSymbol().
|
inlinevirtualinherited |
Definition at line 159 of file plotter.h.
References PLOTTER::m_creator.
Referenced by GERBER_WRITER::createDrillFile(), SCH_PLOTTER::createPDFFile(), PLACEFILE_GERBER_WRITER::CreatePlaceFile(), EESCHEMA_JOBS_HANDLER::doSymExportSvg(), GENDRILL_WRITER_BASE::genDrillMapFile(), initializePlotter(), SCH_PLOTTER::plotOneSheetDXF(), SCH_PLOTTER::plotOneSheetHpgl(), SCH_PLOTTER::plotOneSheetPS(), SCH_PLOTTER::plotOneSheetSVG(), and SYMBOL_EDIT_FRAME::SVGPlotSymbol().
|
inlineoverridevirtual |
HPGL doesn't handle line thickness or color.
Implements PLOTTER.
Definition at line 72 of file plotter_hpgl.h.
References PLOTTER::m_currentPenWidth, m_penDiameter, and PLOTTER::userToDeviceSize().
Referenced by Circle(), and PlotPoly().
|
overridevirtual |
HPGL supports dashed lines.
Implements PLOTTER.
Definition at line 545 of file HPGL_plotter.cpp.
References flushItem(), and m_lineStyle.
|
inlinevirtualinherited |
Reimplemented in GERBER_PLOTTER.
Definition at line 500 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 486 of file plotter.h.
Referenced by PlotOneBoardLayer().
|
inlinevirtualinherited |
Definition at line 130 of file plotter.h.
References PLOTTER::m_negativeMode.
Referenced by FillNegativeKnockout().
|
inlinevirtualinherited |
Definition at line 143 of file plotter.h.
References PLOTTER::m_pageInfo.
Referenced by EESCHEMA_JOBS_HANDLER::doSymExportSvg(), GENDRILL_WRITER_BASE::genDrillMapFile(), initializePlotter(), SCH_PLOTTER::plotOneSheetDXF(), SCH_PLOTTER::plotOneSheetHpgl(), SCH_PLOTTER::plotOneSheetPS(), SCH_PLOTTER::plotOneSheetSVG(), SCH_PLOTTER::setupPlotPagePDF(), and SYMBOL_EDIT_FRAME::SVGPlotSymbol().
|
virtual |
Definition at line 384 of file HPGL_plotter.cpp.
References m_penDiameter.
Referenced by ConfigureHPGLPenSizes(), HPGL_PLOTTER(), and SCH_PLOTTER::plotOneSheetHpgl().
|
inlinevirtual |
Definition at line 90 of file plotter_hpgl.h.
References m_penNumber.
Referenced by ConfigureHPGLPenSizes(), and HPGL_PLOTTER().
|
inlinevirtual |
Definition at line 85 of file plotter_hpgl.h.
References m_penSpeed.
Referenced by ConfigureHPGLPenSizes(), and HPGL_PLOTTER().
|
inlineinherited |
Definition at line 140 of file plotter.h.
References PLOTTER::m_renderSettings.
Referenced by SCH_PLOTTER::createPDFFile(), EESCHEMA_JOBS_HANDLER::doSymExportSvg(), GENDRILL_WRITER_BASE::genDrillMapFile(), SCH_PLOTTER::plotOneSheetDXF(), SCH_PLOTTER::plotOneSheetHpgl(), SCH_PLOTTER::plotOneSheetPS(), SCH_PLOTTER::plotOneSheetSVG(), StartPlotBoard(), and SYMBOL_EDIT_FRAME::SVGPlotSymbol().
|
inlinevirtualinherited |
Set the number of digits for mantissa in coordinates in mm for SVG plotter.
Reimplemented in SVG_PLOTTER.
Definition at line 506 of file plotter.h.
Referenced by initializePlotter().
void HPGL_PLOTTER::SetTargetChordLength | ( | double | chord_len | ) |
Set the target length of chords used to draw approximated circles and arcs.
chord_len | the chord length in IUs. |
Definition at line 252 of file HPGL_plotter.cpp.
References m_arcTargetChordLength, and PLOTTER::userToDeviceSize().
Referenced by SCH_PLOTTER::plotOneSheetHpgl().
|
inlinevirtualinherited |
Change the current text mode.
See the PlotTextMode explanation at the beginning of the file.
Reimplemented in DXF_PLOTTER, and PSLIKE_PLOTTER.
Definition at line 495 of file plotter.h.
Referenced by initializePlotter(), and PlotOneBoardLayer().
|
inlinevirtualinherited |
Definition at line 161 of file plotter.h.
References PLOTTER::m_title.
Referenced by SCH_PLOTTER::createPDFFile().
|
inline |
Switch to the user coordinate system.
Definition at line 56 of file plotter_hpgl.h.
References m_useUserCoords.
Referenced by SCH_PLOTTER::plotOneSheetHpgl().
|
inline |
Set whether the user coordinate system is fit to content.
Definition at line 59 of file plotter_hpgl.h.
References m_fitUserCoords.
Referenced by SCH_PLOTTER::plotOneSheetHpgl().
|
overridevirtual |
Set the plot offset and scaling for the current plot.
aOffset | is the plot offset. |
aIusPerDecimil | gives the scaling factor from IUs to device units |
aScale | is the user set plot scaling factor (either explicitly or using 'fit to A4'). |
aMirror | flips the plot in the Y direction (useful for toner transfers or some kind of film). |
Implements PLOTTER.
Definition at line 236 of file HPGL_plotter.cpp.
References PAGE_INFO::GetSizeMils(), PLOTTER::m_iuPerDeviceUnit, PLOTTER::m_IUsPerDecimil, PLOTTER::m_pageInfo, PLOTTER::m_paperSize, PLOTTER::m_plotMirror, PLOTTER::m_plotOffset, PLOTTER::m_plotScale, PLUsPERDECIMIL, VECTOR2< T >::x, and VECTOR2< T >::y.
Referenced by SCH_PLOTTER::plotOneSheetHpgl().
|
protectedinherited |
Definition at line 496 of file plotter.cpp.
References ANGLE_180, ANGLE_360, ANGLE_90, PLOTTER::Arc(), PLOTTER::FinishTo(), PLOTTER::MoveTo(), NO_FILL, RotatePoint(), PLOTTER::SetCurrentLineWidth(), VECTOR2< T >::x, and VECTOR2< T >::y.
Referenced by GERBER_PLOTTER::FlashPadOval(), FlashPadOval(), PSLIKE_PLOTTER::FlashPadOval(), and DXF_PLOTTER::FlashPadOval().
|
staticprotected |
Sort a list of HPGL items to improve plotting speed on mechanical plotters.
items | - items to sort |
Definition at line 871 of file HPGL_plotter.cpp.
References dpoint_dist(), HPGL_PLOTTER::HPGL_ITEM::loc_end, and HPGL_PLOTTER::HPGL_ITEM::pen.
Referenced by EndPlot().
|
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 GERBER_PLOTTER, and SVG_PLOTTER.
Definition at line 518 of file plotter.h.
Referenced by SCH_SYMBOL::Plot(), BRDITEMS_PLOTTER::PlotFilledAreas(), and PlotStandardLayer().
|
protected |
Start a new HPGL_ITEM if necessary, keeping the current one if it exists.
location | is the location of the item. |
Definition at line 836 of file HPGL_plotter.cpp.
References startOrAppendItem().
Referenced by PlotPoly().
|
protected |
Start a new HPGL_ITEM with the given string if necessary, or append the string to the current item.
location | is the location of the item, if a new one is made. |
content | is the content substring. |
Definition at line 848 of file HPGL_plotter.cpp.
References HPGL_PLOTTER::HPGL_ITEM::bbox, HPGL_PLOTTER::HPGL_ITEM::content, HPGL_PLOTTER::HPGL_ITEM::dashType, HPGL_PLOTTER::HPGL_ITEM::loc_end, HPGL_PLOTTER::HPGL_ITEM::loc_start, m_current_item, m_items, m_lineStyle, m_penNumber, and HPGL_PLOTTER::HPGL_ITEM::pen.
Referenced by Arc(), Circle(), FlashPadCircle(), PenTo(), Rect(), and startItem().
|
overridevirtual |
At the start of the HPGL plot pen speed and number are requested.
Implements PLOTTER.
Definition at line 258 of file HPGL_plotter.cpp.
References PLOTTER::m_outputFile, m_penDiameter, m_penNumber, m_penSpeed, and PLOTTER::userToDeviceSize().
Referenced by SCH_PLOTTER::plotOneSheetHpgl().
|
virtualinherited |
Draw text with the plotter.
Same as GRText, but plot graphic text instead of draw it.
For convenience it accept the color to use for specific plotters (GERBER) aData is used to pass extra parameters.
aPos | is the text position (according to aH_justify, aV_justify). |
aColor | is the text color. |
aText | is the text to draw. |
aOrient | is the angle. |
aSize | is the text size (size.x or size.y can be < 0 for mirrored texts). |
aH_justify | is the horizontal justification (Left, center, right). |
aV_justify | is the vertical justification (bottom, center, top). |
aPenWidth | is the line width (if = 0, use plot default line width). |
aItalic | is the true to simulate an italic font. |
aBold | use true to use a bold font Useful only with default width value (aPenWidth = 0). |
aMultilineAllowed | use true to plot text as multiline, otherwise single line. |
aData | is a parameter used by some plotters in SetCurrentLineWidth(), not directly used here. |
Reimplemented in DXF_PLOTTER, GERBER_PLOTTER, PS_PLOTTER, PDF_PLOTTER, and SVG_PLOTTER.
Definition at line 714 of file plotter.cpp.
References KIFONT::FONT::Draw(), FILLED_SHAPE, KIFONT::FONT::GetFont(), GetPenSizeForBold(), PLOTTER::LineTo(), TEXT_ATTRIBUTES::m_Angle, PLOTTER::MoveTo(), PLOTTER::PenFinish(), PLOTTER::PlotPoly(), PLOTTER::SetColor(), PLOTTER::SetCurrentLineWidth(), VECTOR2< T >::x, and VECTOR2< T >::y.
Referenced by GENDRILL_WRITER_BASE::genDrillMapFile(), SCH_FIELD::Plot(), SCH_LABEL_BASE::Plot(), SCH_TEXT::Plot(), SCH_TEXTBOX::Plot(), LIB_FIELD::Plot(), LIB_TEXT::Plot(), LIB_TEXTBOX::Plot(), PlotDrawingSheet(), BRDITEMS_PLOTTER::PlotFootprintTextItem(), BRDITEMS_PLOTTER::PlotPcbText(), LIB_PIN::PlotPinTexts(), DXF_PLOTTER::Text(), GERBER_PLOTTER::Text(), PS_PLOTTER::Text(), PDF_PLOTTER::Text(), and SVG_PLOTTER::Text().
|
virtualinherited |
Reimplemented in GERBER_PLOTTER.
Definition at line 620 of file plotter.cpp.
References EDA_SHAPE::getCenter(), EDA_SHAPE::GetEnd(), EDA_SHAPE::GetStart(), EDA_SHAPE::GetWidth(), and PLOTTER::ThickArc().
|
protectedvirtualinherited |
Reimplemented in GERBER_PLOTTER.
Definition at line 573 of file plotter.cpp.
References PLOTTER::Arc(), FILLED, PLOTTER::m_currentPenWidth, NO_FILL, and PLOTTER::SetCurrentLineWidth().
|
virtualinherited |
Reimplemented in GERBER_PLOTTER.
Definition at line 592 of file plotter.cpp.
References PLOTTER::Arc(), EuclideanNorm(), FILLED, PLOTTER::GetPlotterArcHighDef(), PLOTTER::m_currentPenWidth, NO_FILL, and PLOTTER::SetCurrentLineWidth().
Referenced by BRDITEMS_PLOTTER::PlotFootprintShape(), BRDITEMS_PLOTTER::PlotPcbShape(), PlotStandardLayer(), and PLOTTER::ThickArc().
|
virtualinherited |
Reimplemented in GERBER_PLOTTER.
Definition at line 652 of file plotter.cpp.
References PLOTTER::Circle(), FILLED, PLOTTER::m_currentPenWidth, NO_FILL, and PLOTTER::SetCurrentLineWidth().
Referenced by BRDITEMS_PLOTTER::PlotFootprintShape(), and BRDITEMS_PLOTTER::PlotPcbShape().
|
virtualinherited |
Reimplemented in GERBER_PLOTTER.
Definition at line 628 of file plotter.cpp.
References FILLED, PLOTTER::m_currentPenWidth, NO_FILL, PLOTTER::Rect(), PLOTTER::SetCurrentLineWidth(), VECTOR2< T >::x, and VECTOR2< T >::y.
|
overridevirtual |
Reimplemented from PLOTTER.
Definition at line 552 of file HPGL_plotter.cpp.
References PLOTTER::FinishTo(), PLOTTER::m_outputFile, m_penDiameter, PLOTTER::MoveTo(), and PLOTTER::segmentAsOval().
Modify coordinates according to the orientation, scale factor, and offsets trace.
Also convert from a VECTOR2I to VECTOR2D, since some output engines needs floating point coordinates.
Definition at line 90 of file plotter.cpp.
References PLOTTER::m_iuPerDeviceUnit, PLOTTER::m_mirrorIsHorizontal, PLOTTER::m_paperSize, PLOTTER::m_plotMirror, PLOTTER::m_plotOffset, PLOTTER::m_plotScale, PLOTTER::m_yaxisReversed, VECTOR2< T >::x, and VECTOR2< T >::y.
Referenced by DXF_PLOTTER::Arc(), Arc(), SVG_PLOTTER::Arc(), PS_PLOTTER::Arc(), PDF_PLOTTER::Arc(), SVG_PLOTTER::BezierCurve(), Circle(), DXF_PLOTTER::Circle(), PS_PLOTTER::Circle(), PDF_PLOTTER::Circle(), SVG_PLOTTER::Circle(), PSLIKE_PLOTTER::computeTextParameters(), GERBER_PLOTTER::FlashPadChamferRoundRect(), FlashPadCircle(), GERBER_PLOTTER::FlashPadCircle(), GERBER_PLOTTER::FlashPadCustom(), GERBER_PLOTTER::FlashPadOval(), GERBER_PLOTTER::FlashPadRect(), GERBER_PLOTTER::FlashPadRoundRect(), GERBER_PLOTTER::FlashPadTrapez(), GERBER_PLOTTER::FlashRegularPolygon(), DXF_PLOTTER::PenTo(), GERBER_PLOTTER::PenTo(), PenTo(), PS_PLOTTER::PenTo(), PDF_PLOTTER::PenTo(), SVG_PLOTTER::PenTo(), GERBER_PLOTTER::plotArc(), PS_PLOTTER::PlotImage(), PDF_PLOTTER::PlotImage(), PlotPoly(), PS_PLOTTER::PlotPoly(), PDF_PLOTTER::PlotPoly(), SVG_PLOTTER::PlotPoly(), Rect(), PS_PLOTTER::Rect(), PDF_PLOTTER::Rect(), SVG_PLOTTER::Rect(), DXF_PLOTTER::Text(), PS_PLOTTER::Text(), and SVG_PLOTTER::Text().
Modify size according to the plotter scale factors (VECTOR2I version, returns a VECTOR2D).
Definition at line 115 of file plotter.cpp.
References PLOTTER::m_iuPerDeviceUnit, PLOTTER::m_plotScale, VECTOR2< T >::x, and VECTOR2< T >::y.
Referenced by DXF_PLOTTER::Arc(), Arc(), SVG_PLOTTER::Arc(), Circle(), DXF_PLOTTER::Circle(), PS_PLOTTER::Circle(), PDF_PLOTTER::Circle(), SVG_PLOTTER::Circle(), PSLIKE_PLOTTER::computeTextParameters(), FlashPadCircle(), PLOTTER::GetDashGapLenIU(), PLOTTER::GetDashMarkLenIU(), PLOTTER::GetDotMarkLenIU(), PDF_PLOTTER::PlotImage(), SVG_PLOTTER::PlotImage(), SetCurrentLineWidth(), PS_PLOTTER::SetCurrentLineWidth(), PDF_PLOTTER::SetCurrentLineWidth(), SVG_PLOTTER::setSVGPlotStyle(), SetTargetChordLength(), PDF_PLOTTER::StartPage(), StartPlot(), PS_PLOTTER::StartPlot(), DXF_PLOTTER::Text(), and SVG_PLOTTER::Text().
|
protectedvirtualinherited |
Modify size according to the plotter scale factors (simple double version).
Definition at line 122 of file plotter.cpp.
References PLOTTER::m_iuPerDeviceUnit, and PLOTTER::m_plotScale.
|
staticinherited |
Definition at line 113 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().
|
protected |
Definition at line 222 of file plotter_hpgl.h.
|
protected |
Definition at line 221 of file plotter_hpgl.h.
Referenced by Arc(), Circle(), and SetTargetChordLength().
|
protectedinherited |
Definition at line 636 of file plotter.h.
Referenced by PLOTTER::GetColorMode(), PS_PLOTTER::PlotImage(), PDF_PLOTTER::PlotImage(), PLOTTER::PLOTTER(), DXF_PLOTTER::SetColor(), PSLIKE_PLOTTER::SetColor(), and PLOTTER::SetColorMode().
|
protectedinherited |
Definition at line 642 of file plotter.h.
Referenced by PDF_PLOTTER::EndPlot(), PLOTTER::SetCreator(), PS_PLOTTER::StartPlot(), SVG_PLOTTER::StartPlot(), and GERBER_PLOTTER::StartPlot().
|
protected |
Definition at line 228 of file plotter_hpgl.h.
Referenced by Arc(), Circle(), FlashPadCircle(), flushItem(), PenTo(), PlotPoly(), Rect(), and startOrAppendItem().
|
protectedinherited |
Definition at line 638 of file plotter.h.
Referenced by PLOTTER::GetCurrentLineWidth(), PLOTTER::PLOTTER(), GERBER_PLOTTER::SetCurrentLineWidth(), DXF_PLOTTER::SetCurrentLineWidth(), SetCurrentLineWidth(), PS_PLOTTER::SetCurrentLineWidth(), PDF_PLOTTER::SetCurrentLineWidth(), SVG_PLOTTER::SetCurrentLineWidth(), GERBER_PLOTTER::ThickArc(), PLOTTER::ThickArc(), PLOTTER::ThickCircle(), GERBER_PLOTTER::ThickCircle(), PLOTTER::ThickRect(), and GERBER_PLOTTER::ThickRect().
|
protectedinherited |
Definition at line 643 of file plotter.h.
Referenced by PDF_PLOTTER::EndPlot(), PLOTTER::OpenFile(), PDF_PLOTTER::OpenFile(), and SVG_PLOTTER::StartPlot().
|
protected |
Definition at line 225 of file plotter_hpgl.h.
Referenced by EndPlot(), and SetUserCoordsFit().
|
protectedinherited |
Definition at line 648 of file plotter.h.
Referenced by PLOTTER::AddLineToHeader(), PLOTTER::ClearHeaderLinesList(), and GERBER_PLOTTER::StartPlot().
|
protected |
Definition at line 227 of file plotter_hpgl.h.
Referenced by EndPlot(), and startOrAppendItem().
|
protectedinherited |
Definition at line 624 of file plotter.h.
Referenced by EndPlot(), PLOTTER::PLOTTER(), GERBER_PLOTTER::SetGerberCoordinatesFormat(), DXF_PLOTTER::SetViewport(), GERBER_PLOTTER::SetViewport(), SetViewport(), PS_PLOTTER::SetViewport(), PDF_PLOTTER::SetViewport(), SVG_PLOTTER::SetViewport(), PDF_PLOTTER::StartPage(), SVG_PLOTTER::StartPlot(), PLOTTER::userToDeviceCoordinates(), and PLOTTER::userToDeviceSize().
|
protectedinherited |
Definition at line 622 of file plotter.h.
Referenced by PDF_PLOTTER::ClosePage(), GERBER_PLOTTER::EndPlot(), PLOTTER::GetIUsPerDecimil(), PLOTTER::GetPlotterArcHighDef(), PLOTTER::GetPlotterArcLowDef(), PLOTTER::PLOTTER(), GERBER_PLOTTER::SetGerberCoordinatesFormat(), DXF_PLOTTER::SetViewport(), GERBER_PLOTTER::SetViewport(), SetViewport(), PS_PLOTTER::SetViewport(), PDF_PLOTTER::SetViewport(), SVG_PLOTTER::SetViewport(), SVG_PLOTTER::StartPlot(), GERBER_PLOTTER::StartPlot(), and GERBER_PLOTTER::writeApertureList().
|
protected |
Definition at line 223 of file plotter_hpgl.h.
Referenced by SetDash(), and startOrAppendItem().
|
protectedinherited |
Definition at line 629 of file plotter.h.
Referenced by SVG_PLOTTER::Arc(), PLOTTER::PLOTTER(), and PLOTTER::userToDeviceCoordinates().
|
protectedinherited |
Definition at line 637 of file plotter.h.
Referenced by PLOTTER::PLOTTER(), PSLIKE_PLOTTER::SetColor(), and PLOTTER::SetNegative().
|
protectedinherited |
Output file.
Definition at line 633 of file plotter.h.
Referenced by DXF_PLOTTER::Arc(), SVG_PLOTTER::Arc(), PS_PLOTTER::Arc(), SVG_PLOTTER::BezierCurve(), Circle(), DXF_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(), PDF_PLOTTER::emitGoToAction(), PDF_PLOTTER::emitOutline(), PDF_PLOTTER::emitOutlineNode(), PS_PLOTTER::emitSetRGBColor(), SVG_PLOTTER::EndBlock(), DXF_PLOTTER::EndPlot(), GERBER_PLOTTER::EndPlot(), EndPlot(), PS_PLOTTER::EndPlot(), PDF_PLOTTER::EndPlot(), SVG_PLOTTER::EndPlot(), FlashPadCircle(), DXF_PLOTTER::FlashPadCircle(), GERBER_PLOTTER::FlashPadOval(), FlashPadOval(), PSLIKE_PLOTTER::FlashPadOval(), DXF_PLOTTER::FlashPadOval(), GERBER_PLOTTER::FlashPadRect(), DXF_PLOTTER::FlashPadRect(), GERBER_PLOTTER::FlashPadRoundRect(), DXF_PLOTTER::FlashPadTrapez(), GERBER_PLOTTER::formatNetAttribute(), PLOTTER::OpenFile(), PDF_PLOTTER::OpenFile(), DXF_PLOTTER::PenTo(), GERBER_PLOTTER::PenTo(), 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(), DXF_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(), DXF_PLOTTER::StartPlot(), StartPlot(), PS_PLOTTER::StartPlot(), SVG_PLOTTER::StartPlot(), PDF_PLOTTER::StartPlot(), GERBER_PLOTTER::StartPlot(), DXF_PLOTTER::Text(), PS_PLOTTER::Text(), SVG_PLOTTER::Text(), ThickSegment(), GERBER_PLOTTER::writeApertureList(), and PLOTTER::~PLOTTER().
|
protectedinherited |
Definition at line 645 of file plotter.h.
Referenced by PDF_PLOTTER::ClosePage(), PLOTTER::PageSettings(), PLOTTER::SetPageSettings(), SetViewport(), PS_PLOTTER::SetViewport(), SVG_PLOTTER::SetViewport(), PDF_PLOTTER::StartPage(), and PS_PLOTTER::StartPlot().
|
protectedinherited |
Definition at line 646 of file plotter.h.
Referenced by EndPlot(), DXF_PLOTTER::SetViewport(), GERBER_PLOTTER::SetViewport(), SetViewport(), PS_PLOTTER::SetViewport(), SVG_PLOTTER::SetViewport(), PDF_PLOTTER::StartPage(), SVG_PLOTTER::StartPlot(), and PLOTTER::userToDeviceCoordinates().
|
protected |
Definition at line 220 of file plotter_hpgl.h.
Referenced by FlashPadCircle(), FlashPadOval(), FlashPadRect(), FlashPadRoundRect(), SetCurrentLineWidth(), SetPenDiameter(), StartPlot(), and ThickSegment().
|
protectedinherited |
Definition at line 640 of file plotter.h.
Referenced by DXF_PLOTTER::PenTo(), PenTo(), PS_PLOTTER::PenTo(), PDF_PLOTTER::PenTo(), and SVG_PLOTTER::PenTo().
|
protected |
Definition at line 219 of file plotter_hpgl.h.
Referenced by EndPlot(), SetPenNumber(), startOrAppendItem(), and StartPlot().
|
protected |
Definition at line 218 of file plotter_hpgl.h.
Referenced by SetPenSpeed(), and StartPlot().
|
protectedinherited |
Definition at line 639 of file plotter.h.
Referenced by GERBER_PLOTTER::PenTo(), PenTo(), PS_PLOTTER::PenTo(), PDF_PLOTTER::PenTo(), SVG_PLOTTER::PenTo(), and PLOTTER::PLOTTER().
|
protectedinherited |
Definition at line 627 of file plotter.h.
Referenced by Arc(), SVG_PLOTTER::Arc(), PSLIKE_PLOTTER::computeTextParameters(), PLOTTER::PLOTTER(), DXF_PLOTTER::SetViewport(), GERBER_PLOTTER::SetViewport(), SetViewport(), PS_PLOTTER::SetViewport(), PDF_PLOTTER::SetViewport(), SVG_PLOTTER::SetViewport(), PDF_PLOTTER::Text(), and PLOTTER::userToDeviceCoordinates().
|
protectedinherited |
Definition at line 626 of file plotter.h.
Referenced by DXF_PLOTTER::SetViewport(), GERBER_PLOTTER::SetViewport(), 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 616 of file plotter.h.
Referenced by GERBER_PLOTTER::EndPlot(), PLOTTER::PLOTTER(), DXF_PLOTTER::SetViewport(), GERBER_PLOTTER::SetViewport(), SetViewport(), PS_PLOTTER::SetViewport(), PDF_PLOTTER::SetViewport(), SVG_PLOTTER::SetViewport(), PLOTTER::userToDeviceCoordinates(), PLOTTER::userToDeviceSize(), and GERBER_PLOTTER::writeApertureList().
|
protectedinherited |
Definition at line 650 of file plotter.h.
Referenced by PLOTTER::GetDashGapLenIU(), PLOTTER::GetDashMarkLenIU(), PLOTTER::GetDotMarkLenIU(), PLOTTER::PLOTTER(), PLOTTER::RenderSettings(), GERBER_PLOTTER::SetCurrentLineWidth(), PS_PLOTTER::SetCurrentLineWidth(), PDF_PLOTTER::SetCurrentLineWidth(), SVG_PLOTTER::SetCurrentLineWidth(), PLOTTER::SetRenderSettings(), PDF_PLOTTER::StartPage(), PS_PLOTTER::StartPlot(), and GERBER_PLOTTER::StartPlot().
|
protectedinherited |
Definition at line 644 of file plotter.h.
Referenced by PDF_PLOTTER::EndPlot(), PLOTTER::SetTitle(), and PS_PLOTTER::StartPlot().
|
protected |
Definition at line 224 of file plotter_hpgl.h.
Referenced by EndPlot(), and SetUserCoords().
|
protectedinherited |
Definition at line 630 of file plotter.h.
Referenced by PLOTTER::PLOTTER(), SVG_PLOTTER::SetViewport(), GERBER_PLOTTER::ThickArc(), and PLOTTER::userToDeviceCoordinates().
|
staticinherited |
Draw a marker (used for the drill map).
Definition at line 466 of file plotter.h.
Referenced by PLOTTER::Marker().
|
staticinherited |
Definition at line 114 of file plotter.h.
Referenced by GERBER_PLOTTER::FilledCircle(), PSLIKE_PLOTTER::FlashPadCircle(), GERBER_PLOTTER::FlashPadCircle(), PSLIKE_PLOTTER::FlashPadCustom(), GERBER_PLOTTER::FlashPadCustom(), GERBER_PLOTTER::FlashPadRect(), PSLIKE_PLOTTER::FlashPadRect(), GERBER_PLOTTER::FlashPadRoundRect(), PSLIKE_PLOTTER::FlashPadRoundRect(), PSLIKE_PLOTTER::FlashPadTrapez(), PlotDrawingSheet(), 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().