summaryrefslogtreecommitdiff
path: root/gsk/gskrendernode.h
diff options
context:
space:
mode:
authorBenjamin Otte <otte@redhat.com>2019-02-21 03:07:14 +0100
committerBenjamin Otte <otte@redhat.com>2019-02-21 19:47:28 +0100
commit0d119f81c8558d15567bb2784a2b0a6b01d237f8 (patch)
tree2df4b651f94983d12272f0f24a547080c4cb66c8 /gsk/gskrendernode.h
parente1570e9ebc1e8b7600514958355550cd804abca6 (diff)
downloadgtk+-0d119f81c8558d15567bb2784a2b0a6b01d237f8.tar.gz
snapshot: Refactor text rendering
The code didn't change, it was just shuffled around to make the with_bounds() versions of the text rendering unnecessary and instead pass through the generic append_node() path.
Diffstat (limited to 'gsk/gskrendernode.h')
-rw-r--r--gsk/gskrendernode.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/gsk/gskrendernode.h b/gsk/gskrendernode.h
index 3099569471..4ab51853da 100644
--- a/gsk/gskrendernode.h
+++ b/gsk/gskrendernode.h
@@ -287,8 +287,8 @@ GDK_AVAILABLE_IN_ALL
GskRenderNode * gsk_text_node_new (PangoFont *font,
PangoGlyphString *glyphs,
const GdkRGBA *color,
- double x,
- double y);
+ float x,
+ float y);
GDK_AVAILABLE_IN_ALL
const PangoFont * gsk_text_node_peek_font (GskRenderNode *node);
GDK_AVAILABLE_IN_ALL