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
842195da
Commit
842195da
authored
Apr 28, 2011
by
jean-pierre charras
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
eeschema/lib_circle.cpp: missing initializations
parent
86bf955d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
lib_circle.cpp
eeschema/lib_circle.cpp
+3
-1
No files found.
eeschema/lib_circle.cpp
View file @
842195da
...
...
@@ -21,6 +21,7 @@ LIB_CIRCLE::LIB_CIRCLE( LIB_COMPONENT* aParent ) :
LIB_ITEM
(
LIB_CIRCLE_T
,
aParent
)
{
m_Radius
=
0
;
m_Width
=
0
;
m_Fill
=
NO_FILL
;
m_isFillable
=
true
;
m_typeName
=
_
(
"Circle"
);
...
...
@@ -33,6 +34,7 @@ LIB_CIRCLE::LIB_CIRCLE( const LIB_CIRCLE& aCircle ) :
m_Pos
=
aCircle
.
m_Pos
;
m_Radius
=
aCircle
.
m_Radius
;
m_Fill
=
aCircle
.
m_Fill
;
m_Width
=
aCircle
.
m_Width
;
}
...
...
@@ -217,7 +219,7 @@ void LIB_CIRCLE::drawGraphic( EDA_DRAW_PANEL* aPanel, wxDC* aDC, const wxPoint&
else
if
(
fill
==
FILLED_SHAPE
)
GRFilledCircle
(
&
aPanel
->
m_ClipBox
,
aDC
,
pos1
.
x
,
pos1
.
y
,
m_Radius
,
0
,
color
,
color
);
else
GRCircle
(
&
aPanel
->
m_ClipBox
,
aDC
,
pos1
.
x
,
pos1
.
y
,
m_Radius
,
GetPenSize
(
),
color
);
GRCircle
(
&
aPanel
->
m_ClipBox
,
aDC
,
pos1
.
x
,
pos1
.
y
,
m_Radius
,
GetPenSize
(),
color
);
/* Set to one (1) to draw bounding box around circle to validate bounding
* box calculation. */
...
...
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