~ubuntu-branches/ubuntu/lucid/inkscape/lucid

« back to all changes in this revision

Viewing changes to src/svg/svg.h

  • Committer: Bazaar Package Importer
  • Author(s): Kees Cook, Ted Gould, Kees Cook
  • Date: 2009-06-24 14:00:43 UTC
  • mfrom: (1.1.8 upstream)
  • Revision ID: james.westby@ubuntu.com-20090624140043-07stp20mry48hqup
Tags: 0.47~pre0-0ubuntu1
* New upstream release

[ Ted Gould ]
* debian/control: Adding libgsl0 and removing version specifics on boost

[ Kees Cook ]
* debian/watch: updated to run uupdate and mangle pre-release versions.
* Dropped patches that have been taken upstream:
  - 01_mips
  - 02-poppler-0.8.3
  - 03-chinese-inkscape
  - 05_fix_latex_patch
  - 06_gcc-4.4
  - 07_cdr2svg
  - 08_skip-bad-utf-on-pdf-import
  - 09_gtk-clist
  - 10_belarussian
  - 11_libpng
  - 12_desktop
  - 13_slider
  - 100_svg_import_improvements
  - 102_sp_pattern_painter_free
  - 103_bitmap_type_print

Show diffs side-by-side

added added

removed removed

Lines of Context:
17
17
#include <string>
18
18
 
19
19
#include "svg/svg-length.h"
20
 
 
21
 
struct NArtBpath;
22
 
struct NRMatrix;
23
 
namespace NR {
24
 
    class Matrix;
25
 
}
 
20
#include "libnr/nr-forward.h"
 
21
#include <2geom/forward.h>
26
22
 
27
23
/* Generic */
28
24
 
39
35
/*
40
36
 * No buffer overflow checking is done, so better wrap them if needed
41
37
 */
42
 
unsigned int sp_svg_number_write_de (gchar *buf, double val, unsigned int tprec, int min_exp, unsigned int padf);
 
38
unsigned int sp_svg_number_write_de (gchar *buf, double val, unsigned int tprec, int min_exp);
43
39
 
44
40
/* Length */
45
41
 
58
54
 
59
55
std::string sp_svg_length_write_with_units(SVGLength const &length);
60
56
 
61
 
bool sp_svg_transform_read(gchar const *str, NR::Matrix *transform);
 
57
bool sp_svg_transform_read(gchar const *str, Geom::Matrix *transform);
62
58
 
63
 
gchar *sp_svg_transform_write(NR::Matrix const &transform);
64
 
gchar *sp_svg_transform_write(NRMatrix const *transform);
 
59
gchar *sp_svg_transform_write(Geom::Matrix const &transform);
 
60
gchar *sp_svg_transform_write(Geom::Matrix const *transform);
65
61
 
66
62
double sp_svg_read_percentage (const char * str, double def);
67
63
 
68
64
/* NB! As paths can be long, we use here dynamic string */
69
65
 
70
 
NArtBpath * sp_svg_read_path (const char * str);
71
 
char * sp_svg_write_path (const NArtBpath * bpath);
72
 
 
 
66
Geom::PathVector sp_svg_read_pathv (char const * str);
 
67
gchar * sp_svg_write_path (Geom::PathVector const &p);
 
68
gchar * sp_svg_write_path (Geom::Path const &p);
73
69
 
74
70
#endif
75
71