We pulled out the bounds calculation for performance reasons, but the
caller can't know how to properly compute them. Inside gtk+, we can do
that but it's not good enough for public API.
double x,
double y);
GDK_AVAILABLE_IN_ALL
-GskRenderNode * gsk_text_node_new_with_bounds (PangoFont *font,
- PangoGlyphString *glyphs,
- const GdkRGBA *color,
- double x,
- double y,
- const graphene_rect_t *bounds);
-GDK_AVAILABLE_IN_ALL
const PangoFont * gsk_text_node_peek_font (GskRenderNode *node);
GDK_AVAILABLE_IN_ALL
guint gsk_text_node_get_num_glyphs (GskRenderNode *node);
GskRenderNode * gsk_cairo_node_new_for_surface (const graphene_rect_t *bounds,
cairo_surface_t *surface);
+GskRenderNode * gsk_text_node_new_with_bounds (PangoFont *font,
+ PangoGlyphString *glyphs,
+ const GdkRGBA *color,
+ double x,
+ double y,
+ const graphene_rect_t *bounds);
+
+
G_END_DECLS
#endif /* __GSK_RENDER_NODE_PRIVATE_H__ */
#include "config.h"
#include "gsk/gsk.h"
+#include "gsk/gskrendernodeprivate.h"
#include "gskpango.h"
#include "gtksnapshotprivate.h"