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
af5a695c
Commit
af5a695c
authored
Jul 04, 2013
by
Maciej Suminski
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added functions for changing settings of used font in GAL.
parent
073eb024
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
36 additions
and
0 deletions
+36
-0
graphics_abstraction_layer.h
include/gal/graphics_abstraction_layer.h
+36
-0
No files found.
include/gal/graphics_abstraction_layer.h
View file @
af5a695c
...
...
@@ -285,6 +285,42 @@ public:
*/
virtual
void
SetTextAttributes
(
const
EDA_TEXT
*
aText
);
/// @copydoc STROKE_FONT::SetGlyphSize()
inline
void
SetGlyphSize
(
const
VECTOR2D
aGlyphSize
)
{
strokeFont
.
SetGlyphSize
(
aGlyphSize
);
}
/// @copydoc STROKE_FONT::SetBold()
inline
void
SetBold
(
const
bool
aBold
)
{
strokeFont
.
SetBold
(
aBold
);
}
/// @copydoc STROKE_FONT::SetItalic()
inline
void
SetItalic
(
const
bool
aItalic
)
{
strokeFont
.
SetItalic
(
aItalic
);
}
/// @copydoc STROKE_FONT::SetMirrored()
inline
void
SetMirrored
(
const
bool
aMirrored
)
{
strokeFont
.
SetMirrored
(
aMirrored
);
}
/// @copydoc STROKE_FONT::SetHorizontalJustify()
inline
void
SetHorizontalJustify
(
const
EDA_TEXT_HJUSTIFY_T
aHorizontalJustify
)
{
strokeFont
.
SetHorizontalJustify
(
aHorizontalJustify
);
}
/// @copydoc STROKE_FONT::SetVerticalJustify()
inline
void
SetVerticalJustify
(
const
EDA_TEXT_VJUSTIFY_T
aVerticalJustify
)
{
strokeFont
.
SetVerticalJustify
(
aVerticalJustify
);
}
// --------------
// Transformation
// --------------
...
...
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