~valavanisalex/ubuntu/precise/inkscape/fix-943984

« back to all changes in this revision

Viewing changes to inkscape-0.47pre1/src/sp-missing-glyph.h

  • Committer: Bazaar Package Importer
  • Author(s): Bryce Harrington
  • Date: 2009-07-02 17:09:45 UTC
  • mfrom: (1.1.9 upstream)
  • Revision ID: james.westby@ubuntu.com-20090702170945-nn6d6zswovbwju1t
Tags: 0.47~pre1-0ubuntu1
* New upstream release.
  - Don't constrain maximization on small resolution devices (pre0)
    (LP: #348842)
  - Fixes segfault on startup (pre0)
    (LP: #391149)

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#ifdef HAVE_CONFIG_H
 
2
# include <config.h>
 
3
#endif
 
4
 
 
5
#ifdef ENABLE_SVG_FONTS
 
6
#ifndef __SP_MISSING_GLYPH_H__
 
7
#define __SP_MISSING_GLYPH_H__
 
8
 
 
9
/*
 
10
 * SVG <missing-glyph> element implementation
 
11
 *
 
12
 * Authors:
 
13
 *    Felipe C. da S. Sanches <felipe.sanches@gmail.com>
 
14
 *
 
15
 * Copyright (C) 2008 Felipe C. da S. Sanches
 
16
 *
 
17
 * Released under GNU GPL, read the file 'COPYING' for more information
 
18
 */
 
19
 
 
20
#include "sp-object.h"
 
21
 
 
22
#define SP_TYPE_MISSING_GLYPH (sp_missing_glyph_get_type ())
 
23
#define SP_MISSING_GLYPH(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), SP_TYPE_MISSING_GLYPH, SPMissingGlyph))
 
24
#define SP_MISSING_GLYPH_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), SP_TYPE_MISSING_GLYPH, SPMissingGlyphClass))
 
25
#define SP_IS_MISSING_GLYPH(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), SP_TYPE_MISSING_GLYPH))
 
26
#define SP_IS_MISSING_GLYPH_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), SP_TYPE_MISSING_GLYPH))
 
27
 
 
28
struct SPMissingGlyph : public SPObject {
 
29
    char* d;
 
30
    double horiz_adv_x;
 
31
    double vert_origin_x;
 
32
    double vert_origin_y;
 
33
    double vert_adv_y;
 
34
};
 
35
 
 
36
struct SPMissingGlyphClass {
 
37
        SPObjectClass parent_class;
 
38
};
 
39
 
 
40
GType sp_missing_glyph_get_type (void);
 
41
 
 
42
#endif //#ifndef __SP_MISSING_GLYPH_H__
 
43
#endif //#ifdef ENABLE_SVG_FONTS