Logo Search packages:      
Sourcecode: aisleriot version File versions  Download package

Classes | Enumerations | Functions

ar-svg.c File Reference

#include <config.h>
#include <string.h>
#include <glib.h>
#include <gio/gio.h>
#include <gdk-pixbuf/gdk-pixbuf.h>
#include <gdk/gdk.h>
#include <librsvg/rsvg.h>
#include <librsvg/rsvg-cairo.h>
#include "ar-profile.h"
#include "ar-svg.h"
Include dependency graph for ar-svg.c:

Go to the source code of this file.

Classes

struct  _ArSvg
struct  _ArSvgClass

Enumerations

enum  { PROP_0, PROP_FILE }

Functions

static void ar_svg_class_init (ArSvgClass *klass)
static void ar_svg_finalize (GObject *object)
cairo_font_options_t * ar_svg_get_font_options (ArSvg *svg)
gint ar_svg_get_height (ArSvg *svg)
gint ar_svg_get_width (ArSvg *svg)
static void ar_svg_initable_iface_init (GInitableIface *iface)
static gboolean ar_svg_initable_init (GInitable *initable, GCancellable *cancellable, GError **error)
ArSvgar_svg_new_from_filename_sync (const char *filename, GCancellable *cancellable, GError **error)
ArSvgar_svg_new_from_gfile_sync (GFile *file, GCancellable *cancellable, GError **error)
void ar_svg_render_cairo (ArSvg *svg, cairo_t *cr, gint width, gint height)
void ar_svg_render_cairo_sub (ArSvg *svg, cairo_t *cr, const char *node, int width, int height, double xoffset, double yoffset, double xzoom, double yzoom)
void ar_svg_set_font_options (ArSvg *svg, const cairo_font_options_t *font_options)
static void ar_svg_set_property (GObject *object, guint property_id, const GValue *value, GParamSpec *pspec)
 G_DEFINE_TYPE_WITH_CODE (ArSvg, ar_svg, RSVG_TYPE_HANDLE, G_IMPLEMENT_INTERFACE(G_TYPE_INITABLE, ar_svg_initable_iface_init))

Detailed Description

Returns: (allow-none): a new ArSvg, or NULL on error with filled in

Definition in file ar-svg.c.


Generated by  Doxygen 1.6.0   Back to index