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