PostGIS  2.2.8dev-r@@SVN_REVISION@@

◆ out_svg_test_dims()

static void out_svg_test_dims ( void  )
static

Definition at line 136 of file cu_out_svg.c.

References do_svg_test().

Referenced by out_svg_suite_setup().

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