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

« back to all changes in this revision

Viewing changes to inkscape-0.47pre1/src/libnr/nr-values.cpp

  • 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
#define __NR_VALUES_C__
 
2
 
 
3
#include <libnr/nr-rect-l.h>
 
4
#include <libnr/nr-matrix-fns.h>
 
5
 
 
6
 
 
7
/*
 
8
The following predefined objects are for reference
 
9
and comparison.
 
10
*/
 
11
NR::Matrix NR_MATRIX_IDENTITY = NR::identity();
 
12
NRRect   NR_RECT_EMPTY(NR_HUGE, NR_HUGE, -NR_HUGE, -NR_HUGE);
 
13
NRRectL  NR_RECT_L_EMPTY =
 
14
       {NR_HUGE_L, NR_HUGE_L, -NR_HUGE_L, -NR_HUGE_L};
 
15
NRRectL  NR_RECT_S_EMPTY =
 
16
       {NR_HUGE_S, NR_HUGE_S, -NR_HUGE_S, -NR_HUGE_S};
 
17
 
 
18
/** component_vectors[i] is like $e_i$ in common mathematical usage;
 
19
    or equivalently $I_i$ (where $I$ is the identity matrix). */
 
20
NR::Point const component_vectors[] = {NR::Point(1., 0.),
 
21
                                       NR::Point(0., 1.)};
 
22