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
55744d1e
Commit
55744d1e
authored
Sep 03, 2013
by
Maciej Suminski
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed Cairo's render target setting.
parent
2a45987d
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
3 deletions
+9
-3
cairo_gal.cpp
common/gal/cairo/cairo_gal.cpp
+9
-3
No files found.
common/gal/cairo/cairo_gal.cpp
View file @
55744d1e
...
...
@@ -736,8 +736,13 @@ void CAIRO_GAL::SetTarget( RenderTarget aTarget )
return
;
// Cairo grouping prevents display of overlapping items on the same layer in the lighter color
if
(
isInitialized
)
{
storePath
();
cairo_pop_group_to_source
(
currentContext
);
cairo_paint_with_alpha
(
currentContext
,
fillColor
.
a
);
}
switch
(
aTarget
)
{
...
...
@@ -752,6 +757,7 @@ void CAIRO_GAL::SetTarget( RenderTarget aTarget )
break
;
}
if
(
isInitialized
)
cairo_push_group
(
currentContext
);
currentTarget
=
aTarget
;
...
...
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