[balsa/wip/gtk4: 42/351] Export cairo_print_surface
- From: Peter Bloomfield <peterb src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [balsa/wip/gtk4: 42/351] Export cairo_print_surface
- Date: Wed, 23 May 2018 21:20:28 +0000 (UTC)
commit db1f7e2357e1b79dc5313a95db6c62b9516f5ce5
Author: Peter Bloomfield <PeterBloomfield bellsouth net>
Date: Tue Oct 24 12:49:02 2017 -0400
Export cairo_print_surface
src/balsa-print-object.c | 1 -
src/balsa-print-object.h | 2 ++
2 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/src/balsa-print-object.c b/src/balsa-print-object.c
index 11ff43e..7b14651 100644
--- a/src/balsa-print-object.c
+++ b/src/balsa-print-object.c
@@ -446,7 +446,6 @@ cairo_print_pixbuf(cairo_t * cairo_ctx, const cairo_surface_t * surface,
{
gint width;
gint height;
- gint rowstride;
guint32 *dest;
cairo_format_t format;
cairo_surface_t *surface;
diff --git a/src/balsa-print-object.h b/src/balsa-print-object.h
index 4216287..a745b77 100644
--- a/src/balsa-print-object.h
+++ b/src/balsa-print-object.h
@@ -60,6 +60,8 @@ gint p_string_width_from_layout(PangoLayout * layout, const gchar * text);
gint p_string_height_from_layout(PangoLayout * layout, const gchar * text);
gboolean cairo_print_pixbuf(cairo_t * cairo_ctx, const GdkPixbuf * pixbuf,
gdouble c_at_x, gdouble c_at_y, gdouble scale);
+gboolean cairo_print_surface(cairo_t * cairo_ctx, const cairo_surface_t * surface,
+ gdouble c_at_x, gdouble c_at_y, gdouble scale);
GList *split_for_layout(PangoLayout * layout, const gchar * text,
PangoAttrList * attributes,
BalsaPrintSetup * psetup, gboolean is_header,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]