pcb 4.1.1
An interactive printed circuit board layout editor.

create.h

Go to the documentation of this file.
00001 
00033 #ifndef PCB_CREATE_H
00034 #define PCB_CREATE_H
00035 
00036 #include "global.h"
00037 
00038 void CreateBeLenient (bool);
00039 
00040 DataType * CreateNewBuffer (void);
00041 void pcb_colors_from_settings (PCBType *);
00042 PCBType * CreateNewPCB ();
00043 int CreateNewPCBPost (PCBType *, int /* set defaults */);
00044 PinType * CreateNewVia (DataType *, Coord, Coord, Coord, Coord, Coord, Coord, char *, FlagType);
00045 PinType * CreateNewViaEx (DataType *, Coord, Coord, Coord, Coord, Coord, Coord, char *, FlagType, Cardinal buried_from, Cardinal buried_to);
00046 LineType * CreateDrawnLineOnLayer (LayerType *, Coord, Coord, Coord, Coord, Coord, Coord, FlagType);
00047 LineType * CreateNewLineOnLayer (LayerType *, Coord, Coord, Coord, Coord, Coord, Coord, FlagType);
00048 RatType * CreateNewRat (DataType *, Coord, Coord, Coord, Coord, Cardinal, Cardinal, Coord, FlagType);
00049 ArcType * CreateNewArcOnLayer (LayerType *, Coord, Coord, Coord, Coord, Angle, Angle, Coord, Coord, FlagType);
00050 PolygonType * CreateNewPolygonFromRectangle (LayerType *, Coord, Coord, Coord, Coord, FlagType);
00051 TextType * CreateNewText (LayerType *, FontType *, Coord, Coord, unsigned, int, char *, FlagType);
00052 PolygonType * CreateNewPolygon (LayerType *, FlagType);
00053 PointType * CreateNewPointInPolygon (PolygonType *, Coord, Coord);
00054 PolygonType * CreateNewHoleInPolygon (PolygonType *polygon);
00055 ElementType * CreateNewElement (DataType *, FontType *, FlagType, char *, char *, char *, Coord, Coord, BYTE, int, FlagType, bool);
00056 LineType * CreateNewLineInElement (ElementType *, Coord, Coord, Coord, Coord, Coord);
00057 ArcType * CreateNewArcInElement (ElementType *, Coord, Coord, Coord, Coord, Angle, Angle, Coord);
00058 PinType * CreateNewPin (ElementType *, Coord, Coord, Coord, Coord, Coord, Coord, char *, char *, FlagType);
00059 PadType * CreateNewPad (ElementType *, Coord, Coord, Coord, Coord, Coord, Coord, Coord, char *, char *, FlagType);
00060 LineType * CreateNewLineInSymbol (SymbolType *, Coord, Coord, Coord, Coord, Coord);
00061 void CreateDefaultFont (PCBType *);
00062 RubberbandType * CreateNewRubberbandEntry (LayerType *, LineType *, PointType *);
00063 LibraryMenuType * CreateNewNet (LibraryType *, char *, char *);
00064 LibraryEntryType * CreateNewConnection (LibraryMenuType *, char *);
00065 AttributeType * CreateNewAttribute (AttributeListType *list, char *name, char *value);
00066 
00067 #endif