~centralelyon2010/inkscape/imagelinks2

« back to all changes in this revision

Viewing changes to src/libnr/nr-values.cpp

  • Committer: mental
  • Date: 2006-01-16 02:36:01 UTC
  • Revision ID: mental@users.sourceforge.net-20060116023601-wkr0h7edl5veyudq
moving trunk for module inkscape

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