PostGIS  2.1.10dev-r@@SVN_REVISION@@
static void out_svg_test_dims ( void  )
static

Definition at line 137 of file cu_out_svg.c.

References do_svg_test().

Referenced by out_svg_suite_setup().

138 {
139  /* 4D - with Circle point */
140  do_svg_test(
141  "POINT(0 1 2 3)",
142  "cx=\"0\" cy=\"-1\"",
143  0, 0);
144 
145  /* 4D - with Point */
146  do_svg_test(
147  "POINT(0 1 2 3)",
148  "x=\"0\" y=\"-1\"",
149  0, 1);
150 
151  /* 4D - with PointArray */
152  do_svg_test(
153  "LINESTRING(0 1 2 3,4 5 6 7)",
154  "M 0 -1 L 4 -5",
155  0, 0);
156 
157  /* 4D - with relative PointArray */
158  do_svg_test(
159  "LINESTRING(0 1 2 3,4 5 6 7)",
160  "M 0 -1 l 4 -4",
161  0, 1);
162 }
static void do_svg_test(char *in, char *out, int precision, int relative)
Definition: cu_out_svg.c:21

Here is the call graph for this function:

Here is the caller graph for this function: