KiCad PCB EDA Suite
Loading...
Searching...
No Matches
HPGL_PLOTTER::HPGL_ITEM Struct Reference

#include <plotter_hpgl.h>

Public Member Functions

 HPGL_ITEM ()
 

Public Attributes

VECTOR2D loc_start
 Location the pen should start at.
 
VECTOR2D loc_end
 Location the pen will be at when it finishes.
 
BOX2D bbox
 Bounding box of this item.
 
bool lift_before
 Whether the command should be executed with the pen lifted.
 
bool lift_after
 Whether the pen must be lifted after the command.
 
bool pen_returns
 Whether the pen returns to its original state after the command.
 
int pen
 
LINE_STYLE dashType
 Pen number for this command.
 
wxString content
 Line style for this command.
 

Detailed Description

Definition at line 173 of file plotter_hpgl.h.

Constructor & Destructor Documentation

◆ HPGL_ITEM()

HPGL_PLOTTER::HPGL_ITEM::HPGL_ITEM ( )
inline

Definition at line 175 of file plotter_hpgl.h.

Member Data Documentation

◆ bbox

BOX2D HPGL_PLOTTER::HPGL_ITEM::bbox

Bounding box of this item.

Definition at line 190 of file plotter_hpgl.h.

Referenced by HPGL_PLOTTER::Arc(), HPGL_PLOTTER::Circle(), HPGL_PLOTTER::PenTo(), and HPGL_PLOTTER::startOrAppendItem().

◆ content

wxString HPGL_PLOTTER::HPGL_ITEM::content

Line style for this command.

Definition at line 206 of file plotter_hpgl.h.

Referenced by HPGL_PLOTTER::PlotPoly(), and HPGL_PLOTTER::startOrAppendItem().

◆ dashType

LINE_STYLE HPGL_PLOTTER::HPGL_ITEM::dashType

Pen number for this command.

Definition at line 205 of file plotter_hpgl.h.

Referenced by HPGL_PLOTTER::startOrAppendItem().

◆ lift_after

bool HPGL_PLOTTER::HPGL_ITEM::lift_after

Whether the pen must be lifted after the command.

If the location of the pen is not known, this must be set (so that another command starting at loc_end is not immediately executed with no lift).

Definition at line 198 of file plotter_hpgl.h.

Referenced by HPGL_PLOTTER::Arc().

◆ lift_before

bool HPGL_PLOTTER::HPGL_ITEM::lift_before

Whether the command should be executed with the pen lifted.

Definition at line 193 of file plotter_hpgl.h.

Referenced by HPGL_PLOTTER::Circle(), and HPGL_PLOTTER::FlashPadCircle().

◆ loc_end

VECTOR2D HPGL_PLOTTER::HPGL_ITEM::loc_end

Location the pen will be at when it finishes.

If this is not known, leave it equal to loc_start and set lift_after.

Definition at line 187 of file plotter_hpgl.h.

Referenced by HPGL_PLOTTER::PenTo(), HPGL_PLOTTER::sortItems(), and HPGL_PLOTTER::startOrAppendItem().

◆ loc_start

VECTOR2D HPGL_PLOTTER::HPGL_ITEM::loc_start

Location the pen should start at.

Definition at line 183 of file plotter_hpgl.h.

Referenced by HPGL_PLOTTER::startOrAppendItem().

◆ pen

int HPGL_PLOTTER::HPGL_ITEM::pen

Definition at line 204 of file plotter_hpgl.h.

Referenced by HPGL_PLOTTER::sortItems(), and HPGL_PLOTTER::startOrAppendItem().

◆ pen_returns

bool HPGL_PLOTTER::HPGL_ITEM::pen_returns

Whether the pen returns to its original state after the command.

Otherwise, the pen is assumed to be down following the command.

Definition at line 202 of file plotter_hpgl.h.

Referenced by HPGL_PLOTTER::FlashPadCircle(), and HPGL_PLOTTER::PlotPoly().


The documentation for this struct was generated from the following file: