2010-03-04 09:32:51 +00:00
|
|
|
/****************************************************************/
|
|
|
|
/* Headers for pins in lib component definitions */
|
|
|
|
/****************************************************************/
|
|
|
|
|
|
|
|
/* Definitions of class LIB_PIN used in component libraries.
|
|
|
|
*/
|
|
|
|
#ifndef CLASS_PIN_H
|
|
|
|
#define CLASS_PIN_H
|
|
|
|
|
2010-10-08 20:40:57 +00:00
|
|
|
#include "lib_draw_item.h"
|
2010-03-04 09:32:51 +00:00
|
|
|
|
2010-10-20 20:24:26 +00:00
|
|
|
|
|
|
|
#define TARGET_PIN_DIAM 12 /* Circle diameter drawn at the active end of pins */
|
2010-03-04 09:32:51 +00:00
|
|
|
|
|
|
|
#define DEFAULT_TEXT_SIZE 50 /* Default size for field texts */
|
|
|
|
#define PART_NAME_LEN 15 /* Maximum length of part name. */
|
|
|
|
#define PREFIX_NAME_LEN 5 /* Maximum length of prefix (IC, R, SW etc.). */
|
|
|
|
#define PIN_WIDTH 100 /* Width between 2 pins in internal units. */
|
|
|
|
#define PIN_LENGTH 300 /* Default Length of each pin to be drawn. */
|
|
|
|
|
|
|
|
#if defined(KICAD_GOST)
|
|
|
|
#define INVERT_PIN_RADIUS 20 /* Radius of inverted pin circle. */
|
|
|
|
#else
|
|
|
|
#define INVERT_PIN_RADIUS 35 /* Radius of inverted pin circle. */
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#define CLOCK_PIN_DIM 40 /* Dim of clock pin symbol. */
|
|
|
|
#define IEEE_SYMBOL_PIN_DIM 40 /* Dim of special pin symbol. */
|
2010-09-24 16:00:40 +00:00
|
|
|
#define NONLOGIC_PIN_DIM 30 /* Dim of nonlogic pin symbol (X). */
|
2010-03-04 09:32:51 +00:00
|
|
|
|
|
|
|
/**
|
|
|
|
* The component library pin object electrical types used in ERC tests.
|
|
|
|
*/
|
|
|
|
enum ElectricPinType {
|
|
|
|
PIN_INPUT,
|
|
|
|
PIN_OUTPUT,
|
|
|
|
PIN_BIDI,
|
|
|
|
PIN_TRISTATE,
|
|
|
|
PIN_PASSIVE,
|
|
|
|
PIN_UNSPECIFIED,
|
|
|
|
PIN_POWER_IN,
|
|
|
|
PIN_POWER_OUT,
|
|
|
|
PIN_OPENCOLLECTOR,
|
|
|
|
PIN_OPENEMITTER,
|
|
|
|
PIN_NC, /* No connect */
|
|
|
|
PIN_NMAX /* End of List (no used as pin type) */
|
|
|
|
};
|
|
|
|
|
|
|
|
/* Electrical pin type names. */
|
|
|
|
extern const wxChar* MsgPinElectricType[];
|
|
|
|
|
|
|
|
/* Pin visibility flag bit. */
|
|
|
|
#define PINNOTDRAW 1 /* Set makes pin invisible */
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
* The component library pin object drawing shapes.
|
|
|
|
*/
|
|
|
|
enum DrawPinShape {
|
|
|
|
NONE = 0,
|
|
|
|
INVERT = 1,
|
|
|
|
CLOCK = 2,
|
|
|
|
LOWLEVEL_IN = 4,
|
2010-09-24 16:00:40 +00:00
|
|
|
LOWLEVEL_OUT = 8,
|
|
|
|
CLOCK_FALL = 0x10, /* this is common form for inverted clock in Eastern Block */
|
2010-10-04 12:58:07 +00:00
|
|
|
NONLOGIC = 0x20
|
2010-03-04 09:32:51 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
* The component library pin object orientations.
|
|
|
|
*/
|
|
|
|
enum DrawPinOrient {
|
|
|
|
PIN_RIGHT = 'R',
|
|
|
|
PIN_LEFT = 'L',
|
|
|
|
PIN_UP = 'U',
|
2010-10-04 12:58:07 +00:00
|
|
|
PIN_DOWN = 'D'
|
2010-03-04 09:32:51 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
class LIB_PIN : public LIB_DRAW_ITEM
|
|
|
|
{
|
2010-12-07 16:10:42 +00:00
|
|
|
wxPoint m_position; ///< Position of the pin.
|
|
|
|
int m_length; ///< Length of the pin.
|
|
|
|
int m_orientation; ///< Pin orientation (Up, Down, Left, Right)
|
|
|
|
int m_shape; ///< Bitwise ORed of pin shapes (see enum DrawPinShape)
|
|
|
|
int m_width; ///< Line width of the pin.
|
|
|
|
int m_type; ///< Electrical type of the pin. See enum ElectricPinType.
|
|
|
|
int m_attributes; ///< Set bit 0 to indicate pin is invisible.
|
|
|
|
wxString m_name;
|
|
|
|
long m_number; ///< Pin number defined as 4 ASCII characters like "12", "anod",
|
|
|
|
///< "G6", or "12". It is stored as "12\0\0" and does not
|
|
|
|
///< depend on endian type.
|
|
|
|
|
2010-10-20 20:24:26 +00:00
|
|
|
/**
|
|
|
|
* Draw the pin.
|
|
|
|
*/
|
|
|
|
void drawGraphic( WinEDA_DrawPanel* aPanel, wxDC* aDC, const wxPoint& aOffset,
|
|
|
|
int aColor, int aDrawMode, void* aData, const TRANSFORM& aTransform );
|
|
|
|
|
2010-03-04 09:32:51 +00:00
|
|
|
public:
|
|
|
|
int m_PinNumSize;
|
|
|
|
int m_PinNameSize; /* Pin num and Pin name sizes */
|
|
|
|
|
|
|
|
/* (Currently Unused) Pin num and Pin name text options: italic/normal
|
|
|
|
* /bold, 0 = default */
|
|
|
|
char m_PinNumShapeOpt;
|
|
|
|
char m_PinNameShapeOpt;
|
|
|
|
// (Currently Unused) Pin num and Pin name text opt position, 0 = default:
|
|
|
|
char m_PinNumPositionOpt;
|
|
|
|
char m_PinNamePositionOpt;
|
|
|
|
|
|
|
|
public:
|
2010-10-20 20:24:26 +00:00
|
|
|
LIB_PIN( LIB_COMPONENT * aParent );
|
2010-03-04 09:32:51 +00:00
|
|
|
LIB_PIN( const LIB_PIN& aPin );
|
|
|
|
~LIB_PIN() { }
|
|
|
|
|
|
|
|
virtual wxString GetClass() const
|
|
|
|
{
|
|
|
|
return wxT( "LIB_PIN" );
|
|
|
|
}
|
|
|
|
|
2010-08-03 05:11:05 +00:00
|
|
|
#if defined(DEBUG)
|
|
|
|
void Show( int nestLevel, std::ostream& os ); // virtual override
|
|
|
|
#endif
|
|
|
|
|
2010-03-04 09:32:51 +00:00
|
|
|
|
|
|
|
/**
|
|
|
|
* Write pin object to a FILE in "*.lib" format.
|
|
|
|
*
|
|
|
|
* @param aFile The FILE to write to.
|
|
|
|
* @return - true if success writing else false.
|
|
|
|
*/
|
|
|
|
virtual bool Save( FILE* aFile );
|
|
|
|
virtual bool Load( char* aLine, wxString& aErrorMsg );
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Test if the given point is within the bounds of this object.
|
|
|
|
*
|
|
|
|
* @param aRefPos A wxPoint to test
|
|
|
|
* @return - true if a hit, else false
|
|
|
|
*/
|
|
|
|
virtual bool HitTest( const wxPoint& aRefPos );
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @param aPosRef - a wxPoint to test
|
|
|
|
* @param aThreshold - max distance to this object (usually the half
|
|
|
|
* thickness of a line)
|
|
|
|
* @param aTransMat - the transform matrix
|
|
|
|
* @return - true if the point aPosRef is near this object
|
|
|
|
*/
|
2010-10-20 20:24:26 +00:00
|
|
|
virtual bool HitTest( wxPoint aPosRef, int aThreshold, const TRANSFORM& aTransform );
|
2010-03-04 09:32:51 +00:00
|
|
|
|
|
|
|
virtual void DisplayInfo( WinEDA_DrawFrame* frame );
|
2010-12-10 19:47:44 +00:00
|
|
|
|
|
|
|
virtual EDA_Rect GetBoundingBox() const;
|
|
|
|
|
2010-10-25 15:43:42 +00:00
|
|
|
wxPoint ReturnPinEndPoint() const;
|
2010-03-04 09:32:51 +00:00
|
|
|
|
2010-12-14 15:56:30 +00:00
|
|
|
/**
|
|
|
|
* Function ReturnPinDrawOrient
|
|
|
|
* Return the pin real orientation (PIN_UP, PIN_DOWN, PIN_RIGHT, PIN_LEFT),
|
|
|
|
* according to its orientation and the matrix transform (rot, mirror) \a aTransform
|
|
|
|
* @param aTransform = transform matrix
|
|
|
|
*/
|
2010-10-20 20:24:26 +00:00
|
|
|
int ReturnPinDrawOrient( const TRANSFORM& aTransform );
|
2010-03-04 09:32:51 +00:00
|
|
|
|
|
|
|
/**
|
|
|
|
* Fill a string buffer with pin number.
|
|
|
|
*
|
|
|
|
* Pin numbers are coded as a long or 4 ASCII characters. Used to print
|
|
|
|
* or draw the pin number.
|
|
|
|
*
|
2010-12-07 16:10:42 +00:00
|
|
|
* @param aStringBuffer - the wxString to store the pin num as an unicode string
|
2010-03-04 09:32:51 +00:00
|
|
|
*/
|
2010-12-07 16:10:42 +00:00
|
|
|
void ReturnPinStringNum( wxString& aStringBuffer ) const;
|
2010-08-03 02:13:33 +00:00
|
|
|
|
2010-12-07 16:10:42 +00:00
|
|
|
long GetNumber() const { return m_number; }
|
2010-08-03 02:13:33 +00:00
|
|
|
|
2010-12-07 16:10:42 +00:00
|
|
|
wxString GetNumberString() const { return ReturnPinStringNum( m_number ); }
|
2010-03-04 09:32:51 +00:00
|
|
|
|
2010-11-12 15:17:10 +00:00
|
|
|
/**
|
|
|
|
* Function ReturnPinStringNum (static function)
|
2010-03-04 09:32:51 +00:00
|
|
|
* Pin num is coded as a long or 4 ascii chars
|
|
|
|
* @param aPinNum = a long containing a pin num
|
|
|
|
* @return aStringBuffer = the wxString to store the pin num as an
|
|
|
|
* unicode string
|
|
|
|
*/
|
|
|
|
static wxString ReturnPinStringNum( long aPinNum );
|
|
|
|
|
|
|
|
void SetPinNumFromString( wxString& aBuffer );
|
|
|
|
|
2010-12-07 16:10:42 +00:00
|
|
|
wxString GetName() const { return m_name; }
|
|
|
|
|
2010-03-04 09:32:51 +00:00
|
|
|
/**
|
|
|
|
* Set the pin name.
|
|
|
|
*
|
|
|
|
* This will also all of the pin names marked by EnableEditMode().
|
|
|
|
*
|
2010-12-14 15:56:30 +00:00
|
|
|
* @param aName - New pin name.
|
2010-03-04 09:32:51 +00:00
|
|
|
*/
|
|
|
|
void SetName( const wxString& aName );
|
|
|
|
|
|
|
|
/**
|
2010-10-20 20:24:26 +00:00
|
|
|
* Set the \a aSize of the pin name text.
|
2010-03-04 09:32:51 +00:00
|
|
|
*
|
|
|
|
* This will also update the text size of the name of the pins marked
|
|
|
|
* by EnableEditMode().
|
|
|
|
*
|
|
|
|
* @param aSize - The text size of the pin name in schematic units ( mils ).
|
|
|
|
*/
|
|
|
|
void SetNameTextSize( int aSize );
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Set the pin number.
|
|
|
|
*
|
|
|
|
* Others pin numbers marked by EnableEditMode() are not modified
|
|
|
|
* because each pin has its own number
|
|
|
|
* @param aNumber - New pin number.
|
|
|
|
*/
|
|
|
|
void SetNumber( const wxString& aNumber );
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Set the size of the pin number text.
|
|
|
|
*
|
|
|
|
* This will also update the text size of the number of the pins marked
|
|
|
|
* by EnableEditMode().
|
|
|
|
*
|
|
|
|
* @param aSize - The text size of the pin number in schematic
|
|
|
|
* units ( mils ).
|
|
|
|
*/
|
|
|
|
void SetNumberTextSize( int aSize );
|
|
|
|
|
2010-12-07 16:10:42 +00:00
|
|
|
int GetOrientation() const { return m_orientation; }
|
|
|
|
|
2010-03-04 09:32:51 +00:00
|
|
|
/**
|
|
|
|
* Set orientation on the pin.
|
|
|
|
*
|
2010-12-07 16:10:42 +00:00
|
|
|
* This will also update the orientation of the pins marked by EnableEditMode().
|
2010-03-04 09:32:51 +00:00
|
|
|
*
|
|
|
|
* @param aOrientation - The orientation of the pin.
|
|
|
|
*/
|
|
|
|
void SetOrientation( int aOrientation );
|
|
|
|
|
2010-12-07 16:10:42 +00:00
|
|
|
int GetShape() const { return m_shape; }
|
|
|
|
|
2010-03-04 09:32:51 +00:00
|
|
|
/**
|
2010-12-07 16:10:42 +00:00
|
|
|
* Set the shape of the pin to \a aShape.
|
2010-03-04 09:32:51 +00:00
|
|
|
*
|
2010-12-07 16:10:42 +00:00
|
|
|
* This will also update the draw style of the pins marked by EnableEditMode().
|
2010-03-04 09:32:51 +00:00
|
|
|
*
|
2010-12-07 16:10:42 +00:00
|
|
|
* @param aShape - The draw shape of the pin. See enum DrawPinShape.
|
2010-03-04 09:32:51 +00:00
|
|
|
*/
|
2010-12-07 16:10:42 +00:00
|
|
|
void SetShape( int aShape );
|
|
|
|
|
|
|
|
int GetType() const { return m_type; }
|
2010-03-04 09:32:51 +00:00
|
|
|
|
|
|
|
/**
|
|
|
|
* Set the electrical type of the pin.
|
|
|
|
*
|
|
|
|
* This will also update the electrical type of the pins marked by
|
|
|
|
* EnableEditMode().
|
|
|
|
*
|
|
|
|
* @param aType - The electrical type of the pin.
|
|
|
|
*/
|
2010-12-07 16:10:42 +00:00
|
|
|
void SetType( int aType );
|
2010-03-04 09:32:51 +00:00
|
|
|
|
|
|
|
/**
|
|
|
|
* Set the pin length.
|
|
|
|
*
|
|
|
|
* This will also update the length of the pins marked by EnableEditMode().
|
|
|
|
*
|
|
|
|
* @param aLength - The length of the pin in mils.
|
|
|
|
*/
|
|
|
|
void SetLength( int aLength );
|
|
|
|
|
2010-12-07 16:10:42 +00:00
|
|
|
int GetLength() { return m_length; }
|
|
|
|
|
2010-03-04 09:32:51 +00:00
|
|
|
/**
|
|
|
|
* Set the pin part number.
|
|
|
|
*
|
|
|
|
* If the pin is changed from not common to common to all parts, any
|
|
|
|
* linked pins will be removed from the parent component.
|
|
|
|
*
|
|
|
|
* @param aPart - Number of the part the pin belongs to. Set to zero to
|
|
|
|
* make pin common to all parts in a multi-part component.
|
|
|
|
*/
|
|
|
|
void SetPartNumber( int aPart );
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Set the body style (conversion) of the pin.
|
|
|
|
*
|
|
|
|
* If the pin is changed from not common to common to all body styles, any
|
|
|
|
* linked pins will be removed from the parent component.
|
|
|
|
*
|
2010-12-14 15:56:30 +00:00
|
|
|
* @param aConversion - Body style of the pin. Set to zero to make pin
|
|
|
|
* common to all body styles.
|
2010-03-04 09:32:51 +00:00
|
|
|
*/
|
|
|
|
void SetConversion( int aConversion );
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Set or clear the visibility flag for the pin.
|
|
|
|
*
|
|
|
|
* This will also update the visibility of the pins marked by
|
|
|
|
* EnableEditMode().
|
|
|
|
*
|
|
|
|
* @param aVisible - True to make the pin visible or false to hide the pin.
|
|
|
|
*/
|
|
|
|
void SetVisible( bool aVisible );
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Enable or clear pin editing mode.
|
|
|
|
*
|
|
|
|
* The pin editing mode marks or unmarks all pins common to this
|
|
|
|
* pin object for further editing. If any of the pin modifcation
|
|
|
|
* methods are called after enabling the editing mode, all pins
|
|
|
|
* marked for editing will have the same attribute changed. The
|
|
|
|
* only case were this is not true making this pin common to all
|
|
|
|
* parts or body styles in the component. See SetCommonToAllParts()
|
|
|
|
* and SetCommonToAllBodyStyles() for more information.
|
|
|
|
*
|
2010-12-14 15:56:30 +00:00
|
|
|
* @param aEnable - True marks all common pins for editing mode. False
|
|
|
|
* clears the editing mode.
|
|
|
|
* @param aEditPinByPin - Enables the edit pin by pin mode.
|
2010-03-04 09:32:51 +00:00
|
|
|
*/
|
|
|
|
void EnableEditMode( bool aEnable, bool aEditPinByPin = false );
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Return the visibility status of the draw object.
|
|
|
|
*
|
|
|
|
* @return True if draw object is visible otherwise false.
|
|
|
|
*/
|
2010-12-07 16:10:42 +00:00
|
|
|
bool IsVisible() { return ( m_attributes & PINNOTDRAW ) == 0; }
|
2010-03-04 09:32:51 +00:00
|
|
|
|
|
|
|
/**
|
|
|
|
* @return the size of the "pen" that be used to draw or plot this item.
|
|
|
|
*/
|
|
|
|
virtual int GetPenSize();
|
|
|
|
|
|
|
|
void DrawPinSymbol( WinEDA_DrawPanel* aPanel, wxDC* aDC, const wxPoint& aPosition,
|
|
|
|
int aOrientation, int aDrawMode, int aColor = -1 );
|
|
|
|
|
|
|
|
void DrawPinTexts( WinEDA_DrawPanel* aPanel, wxDC* aDC, wxPoint& aPosition,
|
|
|
|
int aOrientation, int TextInside, bool DrawPinNum, bool DrawPinName,
|
|
|
|
int aColor, int aDrawMode );
|
|
|
|
|
|
|
|
void PlotPinTexts( PLOTTER *aPlotter,
|
|
|
|
wxPoint& aPosition,
|
|
|
|
int aOrientation,
|
|
|
|
int aTextInside,
|
|
|
|
bool aDrawPinNum,
|
|
|
|
bool aDrawPinName,
|
|
|
|
int aWidth );
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Get a list of pin orientation names.
|
|
|
|
*
|
|
|
|
* @return List of valid pin orientation names.
|
|
|
|
*/
|
|
|
|
static wxArrayString GetOrientationNames();
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Get a list of pin orientation bitmaps for menus and dialogs..
|
|
|
|
*
|
|
|
|
* @return List of valid pin orientation bitmaps symbols in .xpm format
|
|
|
|
*/
|
|
|
|
static const char*** GetOrientationSymbols();
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Get the orientation code by index used to set the pin orientation.
|
|
|
|
*
|
|
|
|
* @param aIndex - The index of the orientation code to look up.
|
|
|
|
* @return Orientation code if index is valid. Returns right
|
|
|
|
* orientation on index error.
|
|
|
|
*/
|
|
|
|
static int GetOrientationCode( int aIndex );
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Get the index of the orientation code.
|
|
|
|
*
|
|
|
|
* @param aCode - The orientation code to look up.
|
|
|
|
* @return The index of the orientation code if found. Otherwise,
|
|
|
|
* return wxNOT_FOUND.
|
|
|
|
*/
|
|
|
|
static int GetOrientationCodeIndex( int aCode );
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Get a list of pin draw style names.
|
|
|
|
*
|
|
|
|
* @return List of valid pin draw style names.
|
|
|
|
*/
|
|
|
|
static wxArrayString GetStyleNames();
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Get a list of pin styles bitmaps for menus and dialogs.
|
|
|
|
*
|
|
|
|
* @return List of valid pin electrical type bitmaps symbols in .xpm format.
|
|
|
|
*/
|
|
|
|
static const char*** GetStyleSymbols();
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Get the pin draw style code by index used to set the pin draw style.
|
|
|
|
*
|
|
|
|
* @param aIndex - The index of the pin draw style code to look up.
|
|
|
|
* @return Pin draw style code if index is valid. Returns NONE
|
|
|
|
* style on index error.
|
|
|
|
*/
|
|
|
|
static int GetStyleCode( int aIndex );
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Get the index of the pin draw style code.
|
|
|
|
*
|
|
|
|
* @param aCode - The pin draw style code to look up.
|
|
|
|
* @return The index of the pin draw style code if found. Otherwise,
|
|
|
|
* return wxNOT_FOUND.
|
|
|
|
*/
|
|
|
|
static int GetStyleCodeIndex( int aCode );
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Get a list of pin electrical type names.
|
|
|
|
*
|
|
|
|
* @return List of valid pin electrical type names.
|
|
|
|
*/
|
|
|
|
static wxArrayString GetElectricalTypeNames();
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Get a list of pin electrical bitmaps for menus and dialogs.
|
|
|
|
*
|
|
|
|
* @return List of valid pin electrical type bitmaps symbols in .xpm format
|
|
|
|
*/
|
|
|
|
static const char*** GetElectricalTypeSymbols();
|
|
|
|
|
|
|
|
protected:
|
|
|
|
virtual LIB_DRAW_ITEM* DoGenCopy();
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Provide the pin draw object specific comparison.
|
|
|
|
*
|
|
|
|
* The sort order is as follows:
|
|
|
|
* - Pin number.
|
|
|
|
* - Pin name, case insensitive compare.
|
|
|
|
* - Pin horizontal (X) position.
|
|
|
|
* - Pin vertical (Y) position.
|
|
|
|
*/
|
|
|
|
virtual int DoCompare( const LIB_DRAW_ITEM& aOther ) const;
|
|
|
|
virtual void DoOffset( const wxPoint& aOffset );
|
2010-10-25 15:43:42 +00:00
|
|
|
virtual bool DoTestInside( EDA_Rect& aRect ) const;
|
2010-03-04 09:32:51 +00:00
|
|
|
virtual void DoMove( const wxPoint& aPosition );
|
2010-12-07 16:10:42 +00:00
|
|
|
virtual wxPoint DoGetPosition() const { return m_position; }
|
2010-03-04 09:32:51 +00:00
|
|
|
virtual void DoMirrorHorizontal( const wxPoint& aCenter );
|
|
|
|
virtual void DoPlot( PLOTTER* aPlotter, const wxPoint& aOffset, bool aFill,
|
2010-10-20 20:24:26 +00:00
|
|
|
const TRANSFORM& aTransform );
|
2010-12-07 16:10:42 +00:00
|
|
|
virtual int DoGetWidth() const { return m_width; }
|
|
|
|
virtual void DoSetWidth( int aWidth );
|
2010-03-04 09:32:51 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
#endif // CLASS_PIN_H
|