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

« back to all changes in this revision

Viewing changes to inkscape-0.47pre1/src/display/inkscape-cairo.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
#ifndef __INKSCAPE_CAIRO_H__
 
2
#define __INKSCAPE_CAIRO_H__
 
3
 
 
4
/*
 
5
 * Helper functions to use cairo with inkscape
 
6
 *
 
7
 * Copyright (C) 2007 bulia byak
 
8
 * Copyright (C) 2008 Johan Engelen
 
9
 *
 
10
 * Released under GNU GPL
 
11
 *
 
12
 */
 
13
 
 
14
#include <2geom/forward.h>
 
15
#include <cairo/cairo.h>
 
16
#include <boost/optional.hpp>
 
17
#include "libnr/nr-rect.h"
 
18
 
 
19
struct NRPixBlock;
 
20
class SPCanvasBuf;
 
21
 
 
22
cairo_t *nr_create_cairo_context_canvasbuf (NRRectL *area, SPCanvasBuf *b);
 
23
cairo_t *nr_create_cairo_context (NRRectL *area, NRPixBlock *pb);
 
24
void feed_pathvector_to_cairo (cairo_t *ct, Geom::PathVector const &pathv, Geom::Matrix trans, Geom::OptRect area, bool optimize_stroke, double stroke_width);
 
25
void feed_pathvector_to_cairo (cairo_t *ct, Geom::PathVector const &pathv);
 
26
 
 
27
#endif
 
28
/*
 
29
  Local Variables:
 
30
  mode:c++
 
31
  c-file-style:"stroustrup"
 
32
  c-file-offsets:((innamespace . 0)(inline-open . 0)(case-label . +))
 
33
  indent-tabs-mode:nil
 
34
  fill-column:99
 
35
  End:
 
36
*/
 
37
// vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:encoding=utf-8:textwidth=99 :