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
ee2ed120
Commit
ee2ed120
authored
Feb 20, 2013
by
jean-pierre charras
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Eeschema: Fix Bug #1130262 (Inverted pins are plotted with erroneous line width)
parent
0564cbc7
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
6 deletions
+5
-6
lib_pin.cpp
eeschema/lib_pin.cpp
+2
-2
lib_pin.h
eeschema/lib_pin.h
+3
-4
No files found.
eeschema/lib_pin.cpp
View file @
ee2ed120
...
@@ -1308,8 +1308,8 @@ void LIB_PIN::PlotSymbol( PLOTTER* aPlotter, const wxPoint& aPosition, int aOrie
...
@@ -1308,8 +1308,8 @@ void LIB_PIN::PlotSymbol( PLOTTER* aPlotter, const wxPoint& aPosition, int aOrie
aPlotter
->
Circle
(
wxPoint
(
MapX1
*
INVERT_PIN_RADIUS
+
x1
,
aPlotter
->
Circle
(
wxPoint
(
MapX1
*
INVERT_PIN_RADIUS
+
x1
,
MapY1
*
INVERT_PIN_RADIUS
+
y1
),
MapY1
*
INVERT_PIN_RADIUS
+
y1
),
INVERT_PIN_RADIUS
*
2
,
// diameter
INVERT_PIN_RADIUS
*
2
,
// diameter
NO_FILL
,
// fill
NO_FILL
,
// fill
option
-
1
);
// width
GetPenSize
()
);
// width
aPlotter
->
MoveTo
(
wxPoint
(
MapX1
*
INVERT_PIN_RADIUS
*
2
+
x1
,
aPlotter
->
MoveTo
(
wxPoint
(
MapX1
*
INVERT_PIN_RADIUS
*
2
+
x1
,
MapY1
*
INVERT_PIN_RADIUS
*
2
+
y1
)
);
MapY1
*
INVERT_PIN_RADIUS
*
2
+
y1
)
);
...
...
eeschema/lib_pin.h
View file @
ee2ed120
...
@@ -363,8 +363,9 @@ public:
...
@@ -363,8 +363,9 @@ public:
/**
/**
* Function DrawPinTexts
* Function DrawPinTexts
* puts the pin number and pin text info, given the pin line coordinates.
* puts the pin number and pin text info, given the pin line coordinates.
* The line must be vertical or horizontal. If PinText == NULL nothing is printed.
* The line must be vertical or horizontal.
* If PinNum = 0 no number is printed. The current zoom factor is taken into account.
* If DrawPinName == false the pin name is not printed.
* If DrawPinNum = false the pin number is not printed.
* If TextInside then the text is been put inside,otherwise all is drawn outside.
* If TextInside then the text is been put inside,otherwise all is drawn outside.
* Pin Name: substring between '~' is negated
* Pin Name: substring between '~' is negated
* DrawMode = GR_OR, XOR ...
* DrawMode = GR_OR, XOR ...
...
@@ -378,8 +379,6 @@ public:
...
@@ -378,8 +379,6 @@ public:
* plots the pin number and pin text info, given the pin line coordinates.
* plots the pin number and pin text info, given the pin line coordinates.
* Same as DrawPinTexts((), but output is the plotter
* Same as DrawPinTexts((), but output is the plotter
* The line must be vertical or horizontal.
* The line must be vertical or horizontal.
* If PinNext == NULL nothing is printed.
* Current Zoom factor is taken into account.
* If TextInside then the text is been put inside (moving from x1, y1 in
* If TextInside then the text is been put inside (moving from x1, y1 in
* the opposite direction to x2,y2), otherwise all is drawn outside.
* the opposite direction to x2,y2), otherwise all is drawn outside.
*/
*/
...
...
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