Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
K
kicad-source-mirror
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
Elphel
kicad-source-mirror
Commits
2edabd55
Commit
2edabd55
authored
May 05, 2008
by
dickelbeck
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
moved enum Track_Shapes to board_item_struct.h
parent
7f3cd757
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
21 additions
and
0 deletions
+21
-0
board_item_struct.h
include/board_item_struct.h
+21
-0
No files found.
include/board_item_struct.h
View file @
2edabd55
...
...
@@ -6,6 +6,20 @@
#define BOARD_ITEM_STRUCT_H
/* Forme des segments (pistes, contours ..) ( parametre .shape ) */
enum
Track_Shapes
{
S_SEGMENT
=
0
,
/* segment rectiligne */
S_RECT
,
/* segment forme rect (i.e. bouts non arrondis) */
S_ARC
,
/* segment en arc de cercle (bouts arrondis)*/
S_CIRCLE
,
/* segment en cercle (anneau)*/
S_ARC_RECT
,
/* segment en arc de cercle (bouts droits) (GERBER)*/
S_SPOT_OVALE
,
/* spot ovale (for GERBER)*/
S_SPOT_CIRCLE
,
/* spot rond (for GERBER)*/
S_SPOT_RECT
,
/* spot rect (for GERBER)*/
S_POLYGON
/* polygon shape */
};
/**
* Class BOARD_ITEM
* is a base class for any item which can be embedded within the BOARD
...
...
@@ -135,6 +149,13 @@ public:
const
char
**
MenuIcon
()
const
;
/**
* Function ShowShape
* converts the enum Track_Shapes integer value to a wxString.
*/
static
wxString
ShowShape
(
Track_Shapes
aShape
);
/**
* Function Save
* writes the data structures for this object out to a FILE in "*.brd" format.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment