projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1fae91d
)
gtk-demo: Cosmetics
author
Matthias Clasen
<mclasen@redhat.com>
Sat, 18 Sep 2021 15:07:09 +0000
(11:07 -0400)
committer
Matthias Clasen
<mclasen@redhat.com>
Sat, 18 Sep 2021 15:08:15 +0000
(11:08 -0400)
Tweak the color of the outlines in the font rendering
demo.
demos/gtk-demo/fontrendering.c
patch
|
blob
|
history
diff --git
a/demos/gtk-demo/fontrendering.c
b/demos/gtk-demo/fontrendering.c
index 001b36ca6038ab1b5d931626b290066531348095..c349e54b263b2e3315244cd9744e51f784b4b0dd 100644
(file)
--- a/
demos/gtk-demo/fontrendering.c
+++ b/
demos/gtk-demo/fontrendering.c
@@
-192,7
+192,7
@@
update_image (void)
}
}
- cairo_set_source_rgba (cr, 0, 0,
1
, outline_alpha);
+ cairo_set_source_rgba (cr, 0, 0,
0
, outline_alpha);
cairo_move_to (cr, scale * 20 - 0.5, scale * 20 - 0.5);
cairo_append_path (cr, path);
cairo_stroke (cr);