KiCad Pcbnew Python Scripting
Public Member Functions | Public Attributes | Static Public Attributes | List of all members
pcbnew.PDF_PLOTTER Class Reference
Inheritance diagram for pcbnew.PDF_PLOTTER:
Inheritance graph
[legend]

Public Member Functions

def __init__ (self)
 
def GetPlotterType (self)
 
def GetDefaultFileExtension ()
 
def OpenFile (self, aFullFilename)
 
def StartPlot (self)
 
def EndPlot (self)
 
def StartPage (self)
 
def ClosePage (self)
 
def SetCurrentLineWidth (self, width, aData=None)
 
def SetDash (self, dashed)
 
def SetPageSettings (self, aPageSettings)
 
def SetViewport (self, aOffset, aIusPerDecimil, aScale, aMirror)
 
def Rect (self, args)
 
def Circle (self, args)
 
def Arc (self, args)
 
def PlotPoly (self, args)
 
def PenTo (self, pos, plume)
 
def Text (self, aPos, aColor, aText, aOrient, aSize, aH_justify, aV_justify, aWidth, aItalic, aBold, aMultilineAllowed=False, aData=None)
 
def PlotImage (self, aImage, aPos, aScaleFactor)
 
- Public Member Functions inherited from pcbnew.PSLIKE_PLOTTER
def __init__ (self, args, kwargs)
 
def SetTextMode (self, mode)
 
def SetDefaultLineWidth (self, width)
 
def SetScaleAdjust (self, scaleX, scaleY)
 
def FlashPadCircle (self, aPadPos, aDiameter, aTraceMode, aData)
 
def FlashPadOval (self, aPadPos, aSize, aPadOrient, aTraceMode, aData)
 
def FlashPadRect (self, aPadPos, aSize, aPadOrient, aTraceMode, aData)
 
def FlashPadRoundRect (self, aPadPos, aSize, aCornerRadius, aOrient, aTraceMode, aData)
 
def FlashPadCustom (self, aPadPos, aSize, aPolygons, aTraceMode, aData)
 
def FlashPadTrapez (self, aPadPos, aCorners, aPadOrient, aTraceMode, aData)
 
def SetColor (self, color)
 
- Public Member Functions inherited from pcbnew.PLOTTER
def __init__ (self, args, kwargs)
 
def GetPlotterType (self)
 
def StartPlot (self)
 
def EndPlot (self)
 
def SetNegative (self, _negative)
 
def SetColorMode (self, _color_mode)
 
def GetColorMode (self)
 
def SetPageSettings (self, aPageSettings)
 
def SetCurrentLineWidth (self, width, aData=None)
 
def SetDefaultLineWidth (self, width)
 
def GetCurrentLineWidth (self)
 
def SetColor (self, color)
 
def SetDash (self, dashed)
 
def SetCreator (self, aCreator)
 
def SetTitle (self, aTitle)
 
def AddLineToHeader (self, aExtraString)
 
def ClearHeaderLinesList (self)
 
def SetViewport (self, aOffset, aIusPerDecimil, aScale, aMirror)
 
def OpenFile (self, aFullFilename)
 
def GetIUsPerDecimil (self)
 
def Rect (self, args)
 
def Circle (self, args)
 
def Arc (self, args)
 
def PenTo (self, pos, plume)
 
def MoveTo (self, pos)
 
def LineTo (self, pos)
 
def FinishTo (self, pos)
 
def PenFinish (self)
 
def PlotPoly (self, args)
 
def PlotImage (self, aImage, aPos, aScaleFactor)
 
def ThickSegment (self, start, end, width, tracemode, aData)
 
def ThickArc (self, centre, StAngle, EndAngle, rayon, width, tracemode, aData)
 
def ThickRect (self, p1, p2, width, tracemode, aData)
 
def ThickCircle (self, pos, diametre, width, tracemode, aData)
 
def FlashPadCircle (self, aPadPos, aDiameter, aTraceMode, aData)
 
def FlashPadOval (self, aPadPos, aSize, aPadOrient, aTraceMode, aData)
 
def FlashPadRect (self, aPadPos, aSize, aPadOrient, aTraceMode, aData)
 
def FlashPadRoundRect (self, aPadPos, aSize, aCornerRadius, aOrient, aTraceMode, aData)
 
def FlashPadCustom (self, aPadPos, aSize, aPolygons, aTraceMode, aData)
 
def FlashPadTrapez (self, aPadPos, aCorners, aPadOrient, aTraceMode, aData)
 
def Text (self, aPos, aColor, aText, aOrient, aSize, aH_justify, aV_justify, aWidth, aItalic, aBold, aMultilineAllowed=False, aData=None)
 
def Marker (self, position, diametre, aShapeId)
 
def SetLayerPolarity (self, aPositive)
 
def SetTextMode (self, mode)
 
def SetGerberCoordinatesFormat (self, aResolution, aUseInches=False)
 
def StartBlock (self, aData)
 
def EndBlock (self, aData)
 

Public Attributes

 this
 

Static Public Attributes

 GetDefaultFileExtension = staticmethod(GetDefaultFileExtension)
 
- Static Public Attributes inherited from pcbnew.PLOTTER
 DO_NOT_SET_LINE_WIDTH = _pcbnew.PLOTTER_DO_NOT_SET_LINE_WIDTH
 
 USE_DEFAULT_LINE_WIDTH = _pcbnew.PLOTTER_USE_DEFAULT_LINE_WIDTH
 
 MARKER_COUNT = _pcbnew.PLOTTER_MARKER_COUNT
 

Detailed Description

Proxy of C++ PDF_PLOTTER class.

Definition at line 7690 of file pcbnew.py.

Constructor & Destructor Documentation

def pcbnew.PDF_PLOTTER.__init__ (   self)
__init__(PDF_PLOTTER self) -> PDF_PLOTTER

Definition at line 7703 of file pcbnew.py.

Member Function Documentation

def pcbnew.PDF_PLOTTER.Arc (   self,
  args 
)
Arc(PDF_PLOTTER self, wxPoint centre, double StAngle, double EndAngle, int rayon, FILL_T fill, int width)
Arc(PDF_PLOTTER self, wxPoint centre, double StAngle, double EndAngle, int rayon, FILL_T fill)

Definition at line 7788 of file pcbnew.py.

Here is the caller graph for this function:

def pcbnew.PDF_PLOTTER.Circle (   self,
  args 
)
Circle(PDF_PLOTTER self, wxPoint pos, int diametre, FILL_T fill, int width)
Circle(PDF_PLOTTER self, wxPoint pos, int diametre, FILL_T fill)

Definition at line 7780 of file pcbnew.py.

def pcbnew.PDF_PLOTTER.ClosePage (   self)
ClosePage(PDF_PLOTTER self)

Definition at line 7744 of file pcbnew.py.

def pcbnew.PDF_PLOTTER.EndPlot (   self)
EndPlot(PDF_PLOTTER self) -> bool

Definition at line 7734 of file pcbnew.py.

def pcbnew.PDF_PLOTTER.GetDefaultFileExtension ( )
GetDefaultFileExtension() -> wxString

Definition at line 7716 of file pcbnew.py.

def pcbnew.PDF_PLOTTER.GetPlotterType (   self)
GetPlotterType(PDF_PLOTTER self) -> PlotFormat

Definition at line 7711 of file pcbnew.py.

def pcbnew.PDF_PLOTTER.OpenFile (   self,
  aFullFilename 
)
OpenFile(PDF_PLOTTER self, wxString aFullFilename) -> bool

Definition at line 7724 of file pcbnew.py.

def pcbnew.PDF_PLOTTER.PenTo (   self,
  pos,
  plume 
)
PenTo(PDF_PLOTTER self, wxPoint pos, char plume)

Definition at line 7805 of file pcbnew.py.

def pcbnew.PDF_PLOTTER.PlotImage (   self,
  aImage,
  aPos,
  aScaleFactor 
)
PlotImage(PDF_PLOTTER self, wxImage const & aImage, wxPoint aPos, double aScaleFactor)

Definition at line 7819 of file pcbnew.py.

def pcbnew.PDF_PLOTTER.PlotPoly (   self,
  args 
)
PlotPoly(PDF_PLOTTER self, wxPoint_Vector aCornerList, FILL_T aFill, int aWidth, void * aData=None)
PlotPoly(PDF_PLOTTER self, wxPoint_Vector aCornerList, FILL_T aFill, int aWidth)
PlotPoly(PDF_PLOTTER self, wxPoint_Vector aCornerList, FILL_T aFill)

Definition at line 7796 of file pcbnew.py.

def pcbnew.PDF_PLOTTER.Rect (   self,
  args 
)
Rect(PDF_PLOTTER self, wxPoint p1, wxPoint p2, FILL_T fill, int width)
Rect(PDF_PLOTTER self, wxPoint p1, wxPoint p2, FILL_T fill)

Definition at line 7772 of file pcbnew.py.

def pcbnew.PDF_PLOTTER.SetCurrentLineWidth (   self,
  width,
  aData = None 
)
SetCurrentLineWidth(PDF_PLOTTER self, int width, void * aData=None)
SetCurrentLineWidth(PDF_PLOTTER self, int width)

Definition at line 7749 of file pcbnew.py.

def pcbnew.PDF_PLOTTER.SetDash (   self,
  dashed 
)
SetDash(PDF_PLOTTER self, int dashed)

Definition at line 7757 of file pcbnew.py.

def pcbnew.PDF_PLOTTER.SetPageSettings (   self,
  aPageSettings 
)
SetPageSettings(PDF_PLOTTER self, PAGE_INFO const & aPageSettings)

Definition at line 7762 of file pcbnew.py.

def pcbnew.PDF_PLOTTER.SetViewport (   self,
  aOffset,
  aIusPerDecimil,
  aScale,
  aMirror 
)
SetViewport(PDF_PLOTTER self, wxPoint aOffset, double aIusPerDecimil, double aScale, bool aMirror)

Definition at line 7767 of file pcbnew.py.

def pcbnew.PDF_PLOTTER.StartPage (   self)
StartPage(PDF_PLOTTER self)

Definition at line 7739 of file pcbnew.py.

def pcbnew.PDF_PLOTTER.StartPlot (   self)
StartPlot(PDF_PLOTTER self) -> bool

Definition at line 7729 of file pcbnew.py.

def pcbnew.PDF_PLOTTER.Text (   self,
  aPos,
  aColor,
  aText,
  aOrient,
  aSize,
  aH_justify,
  aV_justify,
  aWidth,
  aItalic,
  aBold,
  aMultilineAllowed = False,
  aData = None 
)
Text(PDF_PLOTTER self, wxPoint aPos, COLOR4D aColor, wxString aText, double aOrient, 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=None)
Text(PDF_PLOTTER self, wxPoint aPos, COLOR4D aColor, wxString aText, double aOrient, 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)
Text(PDF_PLOTTER self, wxPoint aPos, COLOR4D aColor, wxString aText, double aOrient, wxSize aSize, enum EDA_TEXT_HJUSTIFY_T aH_justify, enum EDA_TEXT_VJUSTIFY_T aV_justify, int aWidth, bool aItalic, bool aBold)

Definition at line 7810 of file pcbnew.py.

Member Data Documentation

pcbnew.PDF_PLOTTER.GetDefaultFileExtension = staticmethod(GetDefaultFileExtension)
static

Definition at line 7721 of file pcbnew.py.

pcbnew.PDF_PLOTTER.this

Definition at line 7709 of file pcbnew.py.


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