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
b4bd181d
Commit
b4bd181d
authored
Jun 12, 2009
by
charras
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
added missing space in file when saving graphic texts justification
parent
8a5179fc
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
4 deletions
+14
-4
classes_body_items.cpp
eeschema/classes_body_items.cpp
+14
-4
No files found.
eeschema/classes_body_items.cpp
View file @
b4bd181d
...
...
@@ -190,7 +190,7 @@ bool LibDrawArc::HitTest( const wxPoint& aRefPos )
mindist
=
3
;
// = 3 mils
if
(
abs
(
dist
-
m_Rayon
)
>
mindist
)
return
false
;
// We are on the circle, ensure we are on the arc, between m_ArcStart and m_ArcEnd
int
astart
=
t1
;
// arc starting point ( in 0.1 degree)
int
aend
=
t2
;
// arc ending point ( in 0.1 degree)
...
...
@@ -204,7 +204,7 @@ bool LibDrawArc::HitTest( const wxPoint& aRefPos )
if
(
atest
>=
astart
&&
atest
<=
aend
)
return
true
;
return
false
;
}
...
...
@@ -376,6 +376,10 @@ void LibDrawArc::DisplayInfo( WinEDA_DrawFrame* frame )
}
/*************************/
/** class LibDrawCircle **/
/*************************/
LibDrawCircle
::
LibDrawCircle
()
:
LibEDA_BaseStruct
(
COMPONENT_CIRCLE_DRAW_TYPE
)
{
m_Rayon
=
0
;
...
...
@@ -559,7 +563,7 @@ bool LibDrawText::Save( FILE* ExportFile ) const
else
if
(
m_VJustify
==
GR_TEXT_VJUSTIFY_TOP
)
vjustify
=
'T'
;
fprintf
(
ExportFile
,
"%c %c"
,
hjustify
,
vjustify
);
fprintf
(
ExportFile
,
"
%c %c"
,
hjustify
,
vjustify
);
fprintf
(
ExportFile
,
"
\n
"
);
...
...
@@ -653,7 +657,7 @@ bool LibDrawText::HitTest( const wxPoint& refPos )
bool
hit
=
TextHitTest
(
refPos
);
m_VJustify
=
vJustify
;
return
hit
;
}
...
...
@@ -854,6 +858,9 @@ EDA_Rect LibDrawSquare::GetBoundingBox()
}
/**************************/
/** class LibDrawSegment **/
/**************************/
LibDrawSegment
::
LibDrawSegment
()
:
LibEDA_BaseStruct
(
COMPONENT_LINE_DRAW_TYPE
)
{
m_Width
=
0
;
...
...
@@ -933,6 +940,9 @@ void LibDrawSegment::DisplayInfo( WinEDA_DrawFrame* frame )
}
/***************************/
/** class LibDrawPolyline **/
/***************************/
LibDrawPolyline
::
LibDrawPolyline
()
:
LibEDA_BaseStruct
(
COMPONENT_POLYLINE_DRAW_TYPE
)
{
...
...
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