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
e37372f4
Commit
e37372f4
authored
Feb 21, 2013
by
Baranovskiy Konstantin
Committed by
Wayne Stambaugh
Feb 21, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Eeschema border and title block DXF plot color bug fix.
parent
72e845b2
Changes
3
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
38 additions
and
29 deletions
+38
-29
common_plot_functions.cpp
common/common_plot_functions.cpp
+29
-27
lib_text.cpp
eeschema/lib_text.cpp
+9
-1
plot_schematic_DXF.cpp
eeschema/plot_schematic_DXF.cpp
+0
-1
No files found.
common/common_plot_functions.cpp
View file @
e37372f4
This diff is collapsed.
Click to expand it.
eeschema/lib_text.cpp
View file @
e37372f4
...
...
@@ -318,7 +318,15 @@ void LIB_TEXT::Plot( PLOTTER* plotter, const wxPoint& offset, bool fill,
int
t1
=
(
aTransform
.
x1
!=
0
)
^
(
m_Orient
!=
0
);
wxPoint
pos
=
aTransform
.
TransformCoordinate
(
m_Pos
)
+
offset
;
plotter
->
Text
(
pos
,
UNSPECIFIED_COLOR
,
m_Text
,
// Get color
EDA_COLOR_T
color
;
if
(
plotter
->
GetColorMode
()
)
// Used normal color or selected color
color
=
IsSelected
()
?
GetItemSelectedColor
()
:
GetDefaultColor
();
else
color
=
BLACK
;
plotter
->
Text
(
pos
,
color
,
m_Text
,
t1
?
TEXT_ORIENT_HORIZ
:
TEXT_ORIENT_VERT
,
m_Size
,
GR_TEXT_HJUSTIFY_CENTER
,
GR_TEXT_VJUSTIFY_CENTER
,
GetPenSize
(),
m_Italic
,
m_Bold
);
...
...
eeschema/plot_schematic_DXF.cpp
View file @
e37372f4
...
...
@@ -129,7 +129,6 @@ bool DIALOG_PLOT_SCHEMATIC::PlotOneSheetDXF( const wxString& aFileName,
if
(
aPlotFrameRef
)
{
plotter
->
SetColor
(
BLACK
);
PlotWorkSheet
(
plotter
,
m_parent
->
GetTitleBlock
(),
m_parent
->
GetPageSettings
(),
aScreen
->
m_ScreenNumber
,
aScreen
->
m_NumberOfScreens
,
...
...
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