Code

846a16bb8a439abf83f7b1c51855fe653f765da3
[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(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};
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.)};