summaryrefslogtreecommitdiff
path: root/gsk/gskrendernode.h
diff options
context:
space:
mode:
authorTimm Bäder <mail@baedert.org>2019-12-18 09:48:25 +0100
committerTimm Bäder <mail@baedert.org>2020-01-07 17:27:16 +0100
commitcb2f523994bffa1e4ebc6d4f84a7aaf715ef3300 (patch)
tree1bc26277249ba17e170d085c0a276a882fb23b78 /gsk/gskrendernode.h
parent075a0ccb5e3a6c4dc6d81688499c19b3741825bf (diff)
downloadgtk+-cb2f523994bffa1e4ebc6d4f84a7aaf715ef3300.tar.gz
rendernodes: Use floats for everything
Diffstat (limited to 'gsk/gskrendernode.h')
-rw-r--r--gsk/gskrendernode.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/gsk/gskrendernode.h b/gsk/gskrendernode.h
index a416785b8c..ae69124c5e 100644
--- a/gsk/gskrendernode.h
+++ b/gsk/gskrendernode.h
@@ -210,11 +210,11 @@ GskTransform * gsk_transform_node_get_transform (GskRenderNode
GDK_AVAILABLE_IN_ALL
GskRenderNode * gsk_opacity_node_new (GskRenderNode *child,
- double opacity);
+ float opacity);
GDK_AVAILABLE_IN_ALL
GskRenderNode * gsk_opacity_node_get_child (GskRenderNode *node);
GDK_AVAILABLE_IN_ALL
-double gsk_opacity_node_get_opacity (GskRenderNode *node);
+float gsk_opacity_node_get_opacity (GskRenderNode *node);
GDK_AVAILABLE_IN_ALL
GskRenderNode * gsk_color_matrix_node_new (GskRenderNode *child,
@@ -280,13 +280,13 @@ GskBlendMode gsk_blend_node_get_blend_mode (GskRenderNode
GDK_AVAILABLE_IN_ALL
GskRenderNode * gsk_cross_fade_node_new (GskRenderNode *start,
GskRenderNode *end,
- double progress);
+ float progress);
GDK_AVAILABLE_IN_ALL
GskRenderNode * gsk_cross_fade_node_get_start_child (GskRenderNode *node);
GDK_AVAILABLE_IN_ALL
GskRenderNode * gsk_cross_fade_node_get_end_child (GskRenderNode *node);
GDK_AVAILABLE_IN_ALL
-double gsk_cross_fade_node_get_progress (GskRenderNode *node);
+float gsk_cross_fade_node_get_progress (GskRenderNode *node);
GDK_AVAILABLE_IN_ALL
GskRenderNode * gsk_text_node_new (PangoFont *font,
@@ -307,11 +307,11 @@ const graphene_point_t *gsk_text_node_get_offset (GskRenderNode
GDK_AVAILABLE_IN_ALL
GskRenderNode * gsk_blur_node_new (GskRenderNode *child,
- double radius);
+ float radius);
GDK_AVAILABLE_IN_ALL
GskRenderNode * gsk_blur_node_get_child (GskRenderNode *node);
GDK_AVAILABLE_IN_ALL
-double gsk_blur_node_get_radius (GskRenderNode *node);
+float gsk_blur_node_get_radius (GskRenderNode *node);
G_END_DECLS