Code

Applied patch #1505715
[inkscape.git] / src / libnr / nr-values.cpp
1 #define __NR_VALUES_C__
3 #include <libnr/nr-rect-l.h>
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};
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.)};