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
d3f95548
Commit
d3f95548
authored
Jun 10, 2012
by
Dick Hollenbeck
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
CPolyPt constructors
parent
b34d8e21
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
2 deletions
+14
-2
PolyLine.h
polygon/PolyLine.h
+14
-2
No files found.
polygon/PolyLine.h
View file @
d3f95548
...
@@ -88,8 +88,20 @@ public:
...
@@ -88,8 +88,20 @@ public:
class
CPolyPt
:
public
wxPoint
class
CPolyPt
:
public
wxPoint
{
{
public
:
public
:
CPolyPt
(
int
qx
=
0
,
int
qy
=
0
,
bool
qf
=
false
,
int
aUtility
=
0
)
CPolyPt
(
int
aX
=
0
,
int
aY
=
0
,
bool
aEnd
=
false
,
int
aUtility
=
0
)
:
{
x
=
qx
;
y
=
qy
;
end_contour
=
qf
;
utility
=
aUtility
;
};
wxPoint
(
aX
,
aY
),
end_contour
(
aEnd
),
utility
(
aUtility
)
{}
/// Pure copy constructor is here to dis-ambiguate from the
/// specialized CPolyPt( const wxPoint& ) constructor version below.
CPolyPt
(
const
CPolyPt
&
aPt
)
:
wxPoint
(
aPt
.
x
,
aPt
.
y
),
end_contour
(
aPt
.
end_contour
),
utility
(
aPt
.
utility
)
{}
CPolyPt
(
const
wxPoint
&
aPoint
)
:
wxPoint
(
aPoint
),
end_contour
(
false
),
utility
(
0
)
{}
bool
end_contour
;
bool
end_contour
;
int
utility
;
int
utility
;
...
...
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