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
9b4d215b
Commit
9b4d215b
authored
Oct 01, 2009
by
charras
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
eeschema: bug fix. Removed unused file
parent
bd9dd261
Changes
2
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
369 deletions
+4
-369
block.cpp
eeschema/block.cpp
+4
-4
grfonte.h.notused
include/grfonte.h.notused
+0
-365
No files found.
eeschema/block.cpp
View file @
9b4d215b
...
@@ -860,7 +860,7 @@ static LIB_DRAW_ITEM* GetNextPinPosition( SCH_COMPONENT* aDrawLibItem,
...
@@ -860,7 +860,7 @@ static LIB_DRAW_ITEM* GetNextPinPosition( SCH_COMPONENT* aDrawLibItem,
* @return a pointer to the pin
* @return a pointer to the pin
*/
*/
{
{
LIB_COMPONENT
*
Entry
;
static
LIB_COMPONENT
*
Entry
;
static
LibDrawPin
*
NextPin
;
static
LibDrawPin
*
NextPin
;
static
int
Multi
,
convert
,
TransMat
[
2
][
2
];
static
int
Multi
,
convert
,
TransMat
[
2
][
2
];
int
orient
;
int
orient
;
...
@@ -888,16 +888,16 @@ static LIB_DRAW_ITEM* GetNextPinPosition( SCH_COMPONENT* aDrawLibItem,
...
@@ -888,16 +888,16 @@ static LIB_DRAW_ITEM* GetNextPinPosition( SCH_COMPONENT* aDrawLibItem,
{
{
wxASSERT
(
Pin
->
Type
()
==
COMPONENT_PIN_DRAW_TYPE
);
wxASSERT
(
Pin
->
Type
()
==
COMPONENT_PIN_DRAW_TYPE
);
/*
Elimination des elements non relatifs a l'unite
*/
/*
Skip items not used for this part
*/
if
(
Multi
&&
Pin
->
m_Unit
&&
(
Pin
->
m_Unit
!=
Multi
)
)
if
(
Multi
&&
Pin
->
m_Unit
&&
(
Pin
->
m_Unit
!=
Multi
)
)
continue
;
continue
;
if
(
convert
&&
Pin
->
m_Convert
&&
(
Pin
->
m_Convert
!=
convert
)
)
if
(
convert
&&
Pin
->
m_Convert
&&
(
Pin
->
m_Convert
!=
convert
)
)
continue
;
continue
;
/* Calcul
de l'orientation reelle de la Pin
*/
/* Calcul
ate the pin orient (according to the component orientation)
*/
orient
=
Pin
->
ReturnPinDrawOrient
(
TransMat
);
orient
=
Pin
->
ReturnPinDrawOrient
(
TransMat
);
/* Calcul
de la position du point de reference
*/
/* Calcul
ate the pin position (according to the component orientation)
*/
aPosition
=
TransformCoordinate
(
TransMat
,
Pin
->
m_Pos
)
+
CmpPosition
;
aPosition
=
TransformCoordinate
(
TransMat
,
Pin
->
m_Pos
)
+
CmpPosition
;
return
Pin
;
return
Pin
;
}
}
...
...
include/grfonte.h.notused
deleted
100644 → 0
View file @
bd9dd261
This diff is collapsed.
Click to expand it.
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