Debian Codegraph @

src/gen/plugin/core/gvrender_core_pov__c.java

raw symbols SCIP
1 /* ========================================================================
2 * PlantUML : a free UML diagram generator
3 * ========================================================================
4 *
5 * Project Info: http://plantuml.com
6 *
7 * If you like this project or if you find it useful, you can support us at:
8 *
9 * http://plantuml.com/patreon (only 1$ per month!)
10 * http://plantuml.com/paypal
11 *
12 * This file is part of Smetana.
13 * Smetana is a partial translation of Graphviz/Dot sources from C to Java.
14 *
15 * (C) Copyright 2009-2020, Arnaud Roques
16 *
17 * This translation is distributed under the same Licence as the original C program:
18 *
19 *************************************************************************
20 * Copyright (c) 2011 AT&T Intellectual Property
21 * All rights reserved. This program and the accompanying materials
22 * are made available under the terms of the Eclipse Public License v1.0
23 * which accompanies this distribution, and is available at
24 * http://www.eclipse.org/legal/epl-v10.html
25 *
26 * Contributors: See CVS logs. Details at http://www.graphviz.org/
27 *************************************************************************
28 *
29 * THE ACCOMPANYING PROGRAM IS PROVIDED UNDER THE TERMS OF THIS ECLIPSE PUBLIC
30 * LICENSE ("AGREEMENT"). [Eclipse Public License - v 1.0]
31 *
32 * ANY USE, REPRODUCTION OR DISTRIBUTION OF THE PROGRAM CONSTITUTES
33 * RECIPIENT'S ACCEPTANCE OF THIS AGREEMENT.
34 *
35 * You may obtain a copy of the License at
36 *
37 * http://www.eclipse.org/legal/epl-v10.html
38 *
39 * Unless required by applicable law or agreed to in writing, software
40 * distributed under the License is distributed on an "AS IS" BASIS,
41 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
42 * See the License for the specific language governing permissions and
43 * limitations under the License.
44 *
45 */
46 package gen.plugin.core;
47 import static smetana.core.Macro.UNSUPPORTED;
48
49 public class gvrender_core_pov__c {
50 //1 2digov3edok6d5srhgtlmrycs
51 // extern lt_symlist_t lt_preloaded_symbols[]
52
53
54 //1 baedz5i9est5csw3epz3cv7z
55 // typedef Ppoly_t Ppolyline_t
56
57
58 //1 9k44uhd5foylaeoekf3llonjq
59 // extern Dtmethod_t* Dtset
60
61
62 //1 1ahfywsmzcpcig2oxm7pt9ihj
63 // extern Dtmethod_t* Dtbag
64
65
66 //1 anhghfj3k7dmkudy2n7rvt31v
67 // extern Dtmethod_t* Dtoset
68
69
70 //1 5l6oj1ux946zjwvir94ykejbc
71 // extern Dtmethod_t* Dtobag
72
73
74 //1 2wtf222ak6cui8cfjnw6w377z
75 // extern Dtmethod_t* Dtlist
76
77
78 //1 d1s1s6ibtcsmst88e3057u9r7
79 // extern Dtmethod_t* Dtstack
80
81
82 //1 axa7mflo824p6fspjn1rdk0mt
83 // extern Dtmethod_t* Dtqueue
84
85
86 //1 ega812utobm4xx9oa9w9ayij6
87 // extern Dtmethod_t* Dtdeque
88
89
90 //1 cyfr996ur43045jv1tjbelzmj
91 // extern Dtmethod_t* Dtorder
92
93
94 //1 wlofoiftbjgrrabzb2brkycg
95 // extern Dtmethod_t* Dttree
96
97
98 //1 12bds94t7voj7ulwpcvgf6agr
99 // extern Dtmethod_t* Dthash
100
101
102 //1 9lqknzty480cy7zsubmabkk8h
103 // extern Dtmethod_t _Dttree
104
105
106 //1 bvn6zkbcp8vjdhkccqo1xrkrb
107 // extern Dtmethod_t _Dthash
108
109
110 //1 9lidhtd6nsmmv3e7vjv9e10gw
111 // extern Dtmethod_t _Dtlist
112
113
114 //1 34ujfamjxo7xn89u90oh2k6f8
115 // extern Dtmethod_t _Dtqueue
116
117
118 //1 3jy4aceckzkdv950h89p4wjc8
119 // extern Dtmethod_t _Dtstack
120
121
122 //1 8dfqgf3u1v830qzcjqh9o8ha7
123 // extern Agmemdisc_t AgMemDisc
124
125
126 //1 18k2oh2t6llfsdc5x0wlcnby8
127 // extern Agiddisc_t AgIdDisc
128
129
130 //1 a4r7hi80gdxtsv4hdoqpyiivn
131 // extern Agiodisc_t AgIoDisc
132
133
134 //1 bnzt5syjb7mgeru19114vd6xx
135 // extern Agdisc_t AgDefaultDisc
136
137
138 //1 35y2gbegsdjilegaribes00mg
139 // extern Agdesc_t Agdirected, Agstrictdirected, Agundirected, Agstrictundirected
140
141
142 //1 c2rygslq6bcuka3awmvy2b3ow
143 // typedef Agsubnode_t Agnoderef_t
144
145
146 //1 xam6yv0dcsx57dtg44igpbzn
147 // typedef Dtlink_t Agedgeref_t
148
149
150 //1 axr8iiqze4sowxdzhp5h67ccy
151 // static char *pov_knowncolors[] =
152
153
154 //1 1xn6uqvhqpp8aql9dt6qqh2z2
155 // static float layerz = 0
156
157
158 //1 bz4ial18k2hf5bfpuvztnf8tr
159 // static float z = 0
160
161
162
163
164 //3 9vn87676zx3r2mmmw7rp52uyy
165 // char *el(GVJ_t* job, char *template, ...)
166 public static Object el(Object... arg) {
167 UNSUPPORTED("dr1ui1v7k7dfzi58sjrxnr8hq"); // char *el(GVJ_t* job, char *template, ...)
168 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
169 UNSUPPORTED("3bclex5rigeol6kpwga9nrp4o"); // /* Dummy function that will never be used */
170 UNSUPPORTED("c65npejb203kqftvj9of8tg28"); // return strdup("");
171 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
172
173 throw new UnsupportedOperationException();
174 }
175
176
177
178
179 //3 9pw2lre7mxb30qh6ob8oaebc2
180 // static char *pov_color_as_str(GVJ_t * job, gvcolor_t color, float transparency)
181 public static Object pov_color_as_str(Object... arg) {
182 UNSUPPORTED("bl2yw1wd29bda0ivzrrgu9edn"); // static char *pov_color_as_str(GVJ_t * job, gvcolor_t color, float transparency)
183 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
184 UNSUPPORTED("ef8yz870ibkbk17ridydfygym"); // char *pov, *c;
185 UNSUPPORTED("5fmow7rd08qdpjro9ggko2axg"); // switch (color.type) {
186 UNSUPPORTED("3963t7kz3wj9jmr4b42bh0ikz"); // case COLOR_STRING:
187 UNSUPPORTED("4bi7a75t9gvcwhnm13jo31q8g"); // if (!strcmp(color.u.string, "red"))
188 UNSUPPORTED("eu9kml5h4p55xr8jdh2cccm3c"); // c = el(job, "%s transmit %.3f", "Red", transparency);
189 UNSUPPORTED("677fpercxitfukr8v78x2w5cb"); // else if (!strcmp(color.u.string, "green"))
190 UNSUPPORTED("1qiiwyqveadi00g1dvya9gofj"); // c = el(job, "%s transmit %.3f", "Green", transparency);
191 UNSUPPORTED("144n6nl0tohqej0icjdjh72sp"); // else if (!strcmp(color.u.string, "blue"))
192 UNSUPPORTED("6ysoqjit3c4036kfg992gdju"); // c = el(job, "%s transmit %.3f", "Blue", transparency);
193 UNSUPPORTED("7e1uy5mzei37p66t8jp01r3mk"); // else
194 UNSUPPORTED("5xvdf2fd67dqx75mdmvchi5ct"); // c = el(job, "%s transmit %.3f", color.u.string, transparency);
195 UNSUPPORTED("9ekmvj13iaml5ndszqyxa8eq"); // break;
196 UNSUPPORTED("4qyq5lb20pb6flw57yam37kot"); // case RGBA_BYTE:
197 UNSUPPORTED("5wxuremuazucr0f5jubhi97ms"); // c = el(job, "rgb""<%9.3f, %9.3f, %9.3f>"" transmit %.3f",
198 UNSUPPORTED("12zckwop92tdxv6dlv1vp0fbs"); // color.u.rgba[0] / 256.0, color.u.rgba[1] / 256.0,
199 UNSUPPORTED("3aw03ntnbxbvdxah2aeh3p24b"); // color.u.rgba[2] / 256.0, transparency);
200 UNSUPPORTED("9ekmvj13iaml5ndszqyxa8eq"); // break;
201 UNSUPPORTED("1drv0xz8hp34qnf72b4jpprg2"); // default:
202 UNSUPPORTED("18zn34qcs4vsdhhh831gn9vc9"); // fprintf(stderr,
203 UNSUPPORTED("4i3x2ar1txrydae0r4ejyuz6a"); // "oops, internal error: unhandled color type=%d %s\n",
204 UNSUPPORTED("11r7e8g9h9a5htgibzuoxopjl"); // color.type, color.u.string);
205 UNSUPPORTED("cgq902zwbdbdny3ekubc7rtwg"); // assert(0); //oops, wrong type set in gvrender_features_t?
206 UNSUPPORTED("flupwh3kosf3fkhkxllllt1"); // }
207 UNSUPPORTED("1umcnsvyiiij01szhjjwci3fw"); // pov = el(job, "pigment { color %s }\n", c);
208 UNSUPPORTED("5rfulyznntlt1olqapu82esby"); // free(c);
209 UNSUPPORTED("ec6nf0cxneh8g9w1p13kiy0dj"); // return pov;
210 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
211
212 throw new UnsupportedOperationException();
213 }
214
215
216
217
218 //3 blyo0peeuj2vdpa4s7h40t882
219 // static void pov_comment(GVJ_t * job, char *str)
220 public static Object pov_comment(Object... arg) {
221 UNSUPPORTED("5ny39zebhyjkf7c8wtacqvks9"); // static void pov_comment(GVJ_t * job, char *str)
222 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
223 UNSUPPORTED("ep887hrpmp4h57zbiq58d1fdl"); // gvprintf(job, "//*** comment: %s\n", str);
224 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
225
226 throw new UnsupportedOperationException();
227 }
228
229
230
231
232 //3 19jx65sbu7mzdlbpobkqmkcm5
233 // static void pov_begin_job(GVJ_t * job)
234 public static Object pov_begin_job(Object... arg) {
235 UNSUPPORTED("e7ucc8led9jhpy4503iyu1mx3"); // static void pov_begin_job(GVJ_t * job)
236 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
237 UNSUPPORTED("ezi9hebxdhn31a8g77mjddcho"); // gvputs(job, "#version 3.6;\n");
238 UNSUPPORTED("717tvalowegvfefto6nsu0ssr"); // gvputs(job, "global_settings { assumed_gamma 1.0 }\n");
239 UNSUPPORTED("ambfxfnqqcqjwa371wi2xxa7j"); // gvputs(job, "#default { finish { ambient 0.1 diffuse 0.9 } }\n");
240 UNSUPPORTED("2fr5g4jf2x5dkqy2rzur089sd"); // gvputs(job, "#include \"colors.inc\"\n" "#include \"textures.inc\"\n" "#include \"shapes.inc\"\n");
241 UNSUPPORTED("3p0r7bbc28ao5qtxrbbv16p1v"); // gvprintf(job, "#declare %s = %s;\n", "black", "Black");
242 UNSUPPORTED("bv59pn9i50oaiu2joqodi7v3m"); // gvprintf(job, "#declare %s = %s;\n", "white", "White");
243 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
244
245 throw new UnsupportedOperationException();
246 }
247
248
249
250
251 //3 2uod4qhdoe2sxk49g7jnnxej1
252 // static void pov_begin_graph(GVJ_t * job)
253 public static Object pov_begin_graph(Object... arg) {
254 UNSUPPORTED("7r54iz4ovg2j1636jr02tb0fq"); // static void pov_begin_graph(GVJ_t * job)
255 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
256 UNSUPPORTED("67e4xbpzccjioks12bk0w12s7"); // float x, y, d, px, py;
257 UNSUPPORTED("2np0pxewx2qr0hc4wvdsukjdi"); // gvprintf(job, "//*** begin_graph %s\n", agnameof(job->obj->u.g));
258 UNSUPPORTED("4p6634f0ays00wyvz0jqew496"); // //setup scene
259 UNSUPPORTED("c6yotkg0ed9f75gui9axv2rob"); // x = job->view.x / 2.0 * job->scale.x;
260 UNSUPPORTED("2jqapjhabefytb0cnl8zra3c1"); // y = job->view.y / 2.0 * job->scale.y;
261 UNSUPPORTED("eepp86bbm9j6kz7yrj6bxm7rd"); // d = -500;
262 UNSUPPORTED("8cvhzu1hyz5hi8nkkdodtwn49"); // px = atanf(x / abs(d)) * 180 / M_PI * 2;
263 UNSUPPORTED("6rvfie6mwp4jpauy66s5ef9po"); // py = atanf(y / abs(d)) * 180 / M_PI * 2;
264 UNSUPPORTED("a5t124x5xel6027dgfcxkc1k0"); // gvprintf(job, "camera { location <%.3f , %.3f , %.3f>\n" " look_at <%.3f , %.3f , %.3f>\n" " right x * image_width / image_height\n" " angle %.3f\n" "}\n", x, y, d, x, y, 0.0,
265 UNSUPPORTED("f0y37qj1uxr9qkprkzpddptic"); // (px > py ? px : py) * 1.2);
266 UNSUPPORTED("4ejvtub36nhniqc8kx0q9ugcc"); // gvputs(job, "//sky\n" "plane { <0, 1, 0>, 1 hollow\n" " texture {\n" " pigment { bozo turbulence 0.95\n" " color_map {\n" " [0.00 rgb <0.05, 0.20, 0.50>]\n" " [0.50 rgb <0.05, 0.20, 0.50>]\n" " [0.75 rgb <1.00, 1.00, 1.00>]\n" " [0.75 rgb <0.25, 0.25, 0.25>]\n" " [1.00 rgb <0.50, 0.50, 0.50>]\n" " }\n" " scale <1.00, 1.00, 1.50> * 2.50\n" " translate <0.00, 0.00, 0.00>\n" " }\n" " finish { ambient 1 diffuse 0 }\n" " }\n" " scale 10000\n" "}\n" "//mist\n" "fog { fog_type 2\n" " distance 50\n" " color rgb <1.00, 1.00, 1.00> * 0.75\n" " fog_offset 0.10\n" " fog_alt 1.50\n" " turbulence 1.75\n" "}\n" "//gnd\n" "plane { <0.00, 1.00, 0.00>, 0\n" " texture {\n" " pigment{ color rgb <0.25, 0.45, 0.00> }\n" " normal { bumps 0.75 scale 0.01 }\n" " finish { phong 0.10 }\n" " }\n" "}\n");
267 UNSUPPORTED("2wxid02webko3zekheejcp2ak"); // gvputs(job, "light_source { <1500,3000,-2500> color White }\n");
268 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
269
270 throw new UnsupportedOperationException();
271 }
272
273
274
275
276 //3 4i3fvchaaqy0lecs9urmfd8c9
277 // static void pov_end_graph(GVJ_t * job)
278 public static Object pov_end_graph(Object... arg) {
279 UNSUPPORTED("a62y9av6or8p2emv2p63mc48t"); // static void pov_end_graph(GVJ_t * job)
280 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
281 UNSUPPORTED("1hga3nvp22vfl40enmsok6fol"); // gvputs(job, "//*** end_graph\n");
282 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
283
284 throw new UnsupportedOperationException();
285 }
286
287
288
289
290 //3 e5tq67bjtp1mxou7ivnyjj96c
291 // static void pov_begin_layer(GVJ_t * job, char *layername, int layerNum, int numLayers)
292 public static Object pov_begin_layer(Object... arg) {
293 UNSUPPORTED("21l3qlfmtt9jj25ltili90086"); // static void pov_begin_layer(GVJ_t * job, char *layername, int layerNum, int numLayers)
294 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
295 UNSUPPORTED("6vxpb1gk8xxy3aeje3hukjj8f"); // gvprintf(job, "//*** begin_layer: %s, %d/%d\n", layername, layerNum,
296 UNSUPPORTED("3p7uxhm5ftq2vewm5vqpgyl52"); // numLayers);
297 UNSUPPORTED("7afht14wina8ef7t2obgzr53z"); // layerz = layerNum * -10;
298 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
299
300 throw new UnsupportedOperationException();
301 }
302
303
304
305
306 //3 6ot7jtlpa5ns5g8mrljucw73p
307 // static void pov_end_layer(GVJ_t * job)
308 public static Object pov_end_layer(Object... arg) {
309 UNSUPPORTED("msmg6mchcw6wk1hwzv4vfh9"); // static void pov_end_layer(GVJ_t * job)
310 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
311 UNSUPPORTED("6wmd7mpzynz9r6txzhga6hseq"); // gvputs(job, "//*** end_layer\n");
312 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
313
314 throw new UnsupportedOperationException();
315 }
316
317
318
319
320 //3 4z4wr7z5q5tb2nw3y70re05w2
321 // static void pov_begin_page(GVJ_t * job)
322 public static Object pov_begin_page(Object... arg) {
323 UNSUPPORTED("du0jdd44z91nfwdqe62phoc7c"); // static void pov_begin_page(GVJ_t * job)
324 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
325 UNSUPPORTED("jj3s1e88b3c3eeucmt9a2dl1"); // gvputs(job, "//*** begin_page\n");
326 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
327
328 throw new UnsupportedOperationException();
329 }
330
331
332
333
334 //3 6ort6jt20rg9fnad6wyg7pwor
335 // static void pov_end_page(GVJ_t * job)
336 public static Object pov_end_page(Object... arg) {
337 UNSUPPORTED("3rhzejrofrliwvfg22jrq09tg"); // static void pov_end_page(GVJ_t * job)
338 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
339 UNSUPPORTED("cpbqx0fkzv5v1omdltbdfb03"); // gvputs(job, "//*** end_page\n");
340 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
341
342 throw new UnsupportedOperationException();
343 }
344
345
346
347
348 //3 6knkobsw1frd76zp1qw7z53rj
349 // static void pov_begin_cluster(GVJ_t * job)
350 public static Object pov_begin_cluster(Object... arg) {
351 UNSUPPORTED("2juyfkoz2kja04ue6gwra6vd8"); // static void pov_begin_cluster(GVJ_t * job)
352 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
353 UNSUPPORTED("8g6u83xzr1yp6es8v82x6t712"); // gvputs(job, "//*** begin_cluster\n");
354 UNSUPPORTED("6xzjyk7shpggapmx9msnltpor"); // layerz -= 2;
355 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
356
357 throw new UnsupportedOperationException();
358 }
359
360
361
362
363 //3 1so9pfvjq4zz182ufinyv9fv2
364 // static void pov_end_cluster(GVJ_t * job)
365 public static Object pov_end_cluster(Object... arg) {
366 UNSUPPORTED("3vp8n8w4vn3uthzjzd0x0k41x"); // static void pov_end_cluster(GVJ_t * job)
367 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
368 UNSUPPORTED("5n89byozotfig7g8ibo1gao3p"); // gvputs(job, "//*** end_cluster\n");
369 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
370
371 throw new UnsupportedOperationException();
372 }
373
374
375
376
377 //3 2p7ma5wim7eq25qp8gx7cocuq
378 // static void pov_begin_node(GVJ_t * job)
379 public static Object pov_begin_node(Object... arg) {
380 UNSUPPORTED("es06i47dskbixwwotieeyv5mr"); // static void pov_begin_node(GVJ_t * job)
381 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
382 UNSUPPORTED("ez8i1j34mzm9in29mtx4b3v0"); // gvprintf(job, "//*** begin_node: %s\n", agnameof(job->obj->u.n));
383 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
384
385 throw new UnsupportedOperationException();
386 }
387
388
389
390
391 //3 4asyy6qwnihawoxqyey2uw0d5
392 // static void pov_end_node(GVJ_t * job)
393 public static Object pov_end_node(Object... arg) {
394 UNSUPPORTED("6o3vlh6gnxvtq9jdzf2it0x1b"); // static void pov_end_node(GVJ_t * job)
395 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
396 UNSUPPORTED("cbfh6mmc1rbt7m9l9s9ypvdj7"); // gvputs(job, "//*** end_node\n");
397 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
398
399 throw new UnsupportedOperationException();
400 }
401
402
403
404
405 //3 3nnmi75q7dx9uhggg3eqsssez
406 // static void pov_begin_edge(GVJ_t * job)
407 public static Object pov_begin_edge(Object... arg) {
408 UNSUPPORTED("2z40r4qoltjdiqjwr1htt5bp4"); // static void pov_begin_edge(GVJ_t * job)
409 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
410 UNSUPPORTED("c6ba404gdc9z8520xq82tknvw"); // gvputs(job, "//*** begin_edge\n");
411 UNSUPPORTED("b1i8thw6fnr132r6o719oly3i"); // layerz -= 5;
412 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
413
414 throw new UnsupportedOperationException();
415 }
416
417
418
419
420 //3 67ua9o3fipl6vujo4osgu6pew
421 // static void pov_end_edge(GVJ_t * job)
422 public static Object pov_end_edge(Object... arg) {
423 UNSUPPORTED("6e3hav877emt1quzaldcem28y"); // static void pov_end_edge(GVJ_t * job)
424 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
425 UNSUPPORTED("5n48qab4bxl9dxf8rgqw44ix2"); // gvputs(job, "//*** end_edge\n");
426 UNSUPPORTED("dhvja5wqkslqorvosluq18fwn"); // layerz += 5;
427 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
428
429 throw new UnsupportedOperationException();
430 }
431
432
433
434
435 //3 dzgi67xn3f7g3qpvtluivy9b4
436 // static void pov_textspan(GVJ_t * job, pointf c, textspan_t * span)
437 public static Object pov_textspan(Object... arg) {
438 UNSUPPORTED("da91j5br6qhlfr421zkx076tx"); // static void pov_textspan(GVJ_t * job, pointf c, textspan_t * span)
439 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
440 UNSUPPORTED("bhqtz42wh5ojvof66mrtbotz5"); // double x, y;
441 UNSUPPORTED("3cohebhm3opbm2vh6b4wzdlkl"); // char *pov, *s, *r, *t, *p;
442 UNSUPPORTED("caph5wpsys7oxxneh5xjl1ge2"); // gvprintf(job, "//*** textspan: %s, fontsize = %.3f, fontname = %s\n",
443 UNSUPPORTED("aatbh13pgi2seywuv58l164sg"); // span->str, span->font->size, span->font->name);
444 UNSUPPORTED("p78pafc3a70q01a93j3hakqj"); // z = layerz - 9;
445 UNSUPPORTED("8yrhor0piybk3cx5mqluj6ct0"); // //handle text justification
446 UNSUPPORTED("abi5cnvri7biecl3jbz3ljbqn"); // switch (span->just) {
447 UNSUPPORTED("f0b1gez33b7p2l2mh99g8szv9"); // case 'l': //left justified
448 UNSUPPORTED("9ekmvj13iaml5ndszqyxa8eq"); // break;
449 UNSUPPORTED("2unsigciyurjjkm59j0x51yks"); // case 'r': //right justified
450 UNSUPPORTED("bawpoz7lcmuf4ttemxc072smd"); // c.x = c.x - span->size.x;
451 UNSUPPORTED("9ekmvj13iaml5ndszqyxa8eq"); // break;
452 UNSUPPORTED("1drv0xz8hp34qnf72b4jpprg2"); // default:
453 UNSUPPORTED("6imja9q9r4w9xkws4jnkxaoib"); // case 'n': //centered
454 UNSUPPORTED("arerr6hl1fo2r21lgv6dq0fhe"); // c.x = c.x - span->size.x / 2.0;
455 UNSUPPORTED("9ekmvj13iaml5ndszqyxa8eq"); // break;
456 UNSUPPORTED("flupwh3kosf3fkhkxllllt1"); // }
457 UNSUPPORTED("5dp6hqhk8pdh35zmahjmrbil4"); // x = (c.x + job->translation.x) * job->scale.x;
458 UNSUPPORTED("8g5ivywnwkgbkamexmslhkbwl"); // y = (c.y + job->translation.y) * job->scale.y;
459 UNSUPPORTED("7ibjof57xyrrbjfq984fhq53q"); // s = el(job, "scale %.3f\n", span->font->size * job->scale.x);
460 UNSUPPORTED("12hm1ht9azi6mmxv4dvc2dvih"); // r = el(job, "rotate ""<%9.3f, %9.3f, %9.3f>""\n", 0.0, 0.0, (float)job->rotation);
461 UNSUPPORTED("9tdxqqkubd9vcc8ei2ek0ohsu"); // t = el(job, "translate""<%9.3f, %9.3f, %9.3f>""\n", x, y, z);
462 UNSUPPORTED("3boaqla3jgicjsvi0cj6tylfw"); // p = pov_color_as_str(job, job->obj->pencolor, 0.0);
463 UNSUPPORTED("b2ejqbz7lvl4hg7pgh487n64i"); // //pov bundled fonts: timrom.ttf, cyrvetic.ttf
464 UNSUPPORTED("6igjb924cisay3j6lgi0ongrm"); // pov = el(job, "text {\n" " ttf \"%s\",\n" " \"%s\", %.3f, %.3f\n" " %s %s %s %s %s" "}\n",
465 UNSUPPORTED("3xx9l0bux74bmtji5uhkw2ik8"); // span->font->name, 0.25, 0.0, //font, depth (0.5 ... 2.0), offset
466 UNSUPPORTED("a1wi2fm46kq0gl96wwx26fgab"); // span->str, " no_shadow\n", s, r, t, p);
467 UNSUPPORTED("3x0tju516ycfkyg76dbmy12z3"); // gvputs(job, pov);
468 UNSUPPORTED("1nwb9ca1mjxkgynagbneulg58"); // free(pov);
469 UNSUPPORTED("7scwdfzpkx03bafy8mo9p36ku"); // free(r);
470 UNSUPPORTED("cy5x5dma0v4hiepir7lrfuo17"); // free(p);
471 UNSUPPORTED("9r1kr4nla99ts81ivi2g8ne6q"); // free(t);
472 UNSUPPORTED("d285xdylp7oj81aar06ulc7kh"); // free(s);
473 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
474
475 throw new UnsupportedOperationException();
476 }
477
478
479
480
481 //3 80vqnzdsz7alwxdre4myzs7cz
482 // static void pov_ellipse(GVJ_t * job, pointf * A, int filled)
483 public static Object pov_ellipse(Object... arg) {
484 UNSUPPORTED("41s3h16cmnt5btexht7j82vat"); // static void pov_ellipse(GVJ_t * job, pointf * A, int filled)
485 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
486 UNSUPPORTED("3cohebhm3opbm2vh6b4wzdlkl"); // char *pov, *s, *r, *t, *p;
487 UNSUPPORTED("2c4bbxdmt2mx4fss2xa1kkfap"); // float cx, cy, rx, ry, w;
488 UNSUPPORTED("eposezldvr4ehjm1pb4ymq2u5"); // gvputs(job, "//*** ellipse\n");
489 UNSUPPORTED("4yafz83qky6zhzfs6o2wgxklk"); // z = layerz - 6;
490 UNSUPPORTED("bhf89737crzdptaovef0dh68a"); // // A[0] center, A[1] corner of ellipse
491 UNSUPPORTED("9fxk9sykye0f78f0i5b95gtaw"); // cx = (A[0].x + job->translation.x) * job->scale.x;
492 UNSUPPORTED("19fh9jhjbqwtt9qitwkzy7jb2"); // cy = (A[0].y + job->translation.y) * job->scale.y;
493 UNSUPPORTED("d48v01y3j249ssh8yx85xfm5u"); // rx = (A[1].x - A[0].x) * job->scale.x;
494 UNSUPPORTED("7rbc982nuc7nd1tuc5effk4fw"); // ry = (A[1].y - A[0].y) * job->scale.y;
495 UNSUPPORTED("aekbfd5p6hwhtk3o1acksvq6"); // w = job->obj->penwidth / (rx + ry) / 2.0 * 5;
496 UNSUPPORTED("2zqnnknbzl1cnu2qmt2uquiuh"); // //draw rim (torus)
497 UNSUPPORTED("d1xsz8zm5cmzpth3kx2ypj6ae"); // s = el(job, "scale ""<%9.3f, %9.3f, %9.3f>""\n", rx, (rx + ry) / 4.0, ry);
498 UNSUPPORTED("c8v01mji8vpxow1hdefxz0xy5"); // r = el(job, "rotate ""<%9.3f, %9.3f, %9.3f>""\n", 90.0, 0.0, (float)job->rotation);
499 UNSUPPORTED("995xgtqf93yds26fofxapqasn"); // t = el(job, "translate""<%9.3f, %9.3f, %9.3f>""\n", cx, cy, z);
500 UNSUPPORTED("3boaqla3jgicjsvi0cj6tylfw"); // p = pov_color_as_str(job, job->obj->pencolor, 0.0);
501 UNSUPPORTED("ditiwhg74so8wkvce2dz1ctsc"); // pov = el(job, "torus { %.3f, %.3f\n" " %s %s %s %s" "}\n", 1.0, w, //radius, size of ring
502 UNSUPPORTED("3k6wpzzzs2t4gtijl8zs1c6e"); // s, r, t, p);
503 UNSUPPORTED("3x0tju516ycfkyg76dbmy12z3"); // gvputs(job, pov);
504 UNSUPPORTED("d285xdylp7oj81aar06ulc7kh"); // free(s);
505 UNSUPPORTED("7scwdfzpkx03bafy8mo9p36ku"); // free(r);
506 UNSUPPORTED("9r1kr4nla99ts81ivi2g8ne6q"); // free(t);
507 UNSUPPORTED("cy5x5dma0v4hiepir7lrfuo17"); // free(p);
508 UNSUPPORTED("1nwb9ca1mjxkgynagbneulg58"); // free(pov);
509 UNSUPPORTED("b6xpllwn0s7t41md7rql9u6ps"); // //backgroud of ellipse if filled
510 UNSUPPORTED("2atgu691bmn6h9jvk8lve5qzc"); // if (filled) {
511 UNSUPPORTED("d55j0r2nj3jas2svuuhd22due"); // s = el(job, "scale ""<%9.3f, %9.3f, %9.3f>""\n", rx, ry, 1.0);
512 UNSUPPORTED("95ovvy40bmmuglc6s7uitv3jq"); // r = el(job, "rotate ""<%9.3f, %9.3f, %9.3f>""\n", 0.0, 0.0, (float)job->rotation);
513 UNSUPPORTED("58dmanx0lpf638fy0xe5bb2qu"); // t = el(job, "translate""<%9.3f, %9.3f, %9.3f>""\n", cx, cy, z);
514 UNSUPPORTED("a5gghuf60fymy4ca6p0yubyro"); // p = pov_color_as_str(job, job->obj->fillcolor, 0.0);
515 UNSUPPORTED("ek1cqknka7kxhnsb5frwqxjvk"); // pov = el(job, "sphere {""<%9.3f, %9.3f, %9.3f>"", 1.0\n" " %s %s %s %s" "}\n",
516 UNSUPPORTED("4glbfmpx1gp42z1y90x0sn18x"); // 0.0, 0.0, 0.0, s, r, t, p);
517 UNSUPPORTED("38o9oyyy59mzbbt6zzozzj5kp"); // gvputs(job, pov);
518 UNSUPPORTED("80itb1itky2rb7sgcktyeypr2"); // free(s);
519 UNSUPPORTED("3t86d4kz7zwqy3xx9m37y0eoa"); // free(r);
520 UNSUPPORTED("iagyh21osy84ww1ekih6gqlh"); // free(t);
521 UNSUPPORTED("8eho71vuxbyqy1c76wpeqzivl"); // free(p);
522 UNSUPPORTED("8aa1al3xqgdhiv4dq7n9t47bu"); // free(pov);
523 UNSUPPORTED("flupwh3kosf3fkhkxllllt1"); // }
524 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
525
526 throw new UnsupportedOperationException();
527 }
528
529
530
531
532 //3 1nwr700gjhj5a5axcdo060csj
533 // static void pov_bezier(GVJ_t * job, pointf * A, int n, int arrow_at_start, int arrow_at_end, int filled)
534 public static Object pov_bezier(Object... arg) {
535 UNSUPPORTED("ee8875esc1r7im8eq6n9m1bbb"); // static void pov_bezier(GVJ_t * job, pointf * A, int n, int arrow_at_start,
536 UNSUPPORTED("yl0kcnz0uvxq0ffk8eb6kcon"); // int arrow_at_end, int filled)
537 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
538 UNSUPPORTED("bbuxsg26kpzb2fl660hjri9l8"); // int i;
539 UNSUPPORTED("coyatly5x4mbjcq0bwhb3ky4k"); // char *v, *x;
540 UNSUPPORTED("3cohebhm3opbm2vh6b4wzdlkl"); // char *pov, *s, *r, *t, *p;
541 UNSUPPORTED("9swckmk8r5e9zhs7k5ljct6nt"); // gvputs(job, "//*** bezier\n");
542 UNSUPPORTED("6w5t2p8ujl2czgk9nm8q9twwq"); // z = layerz - 4;
543 UNSUPPORTED("2omh8jf0yjm0iz8fp4udk4f62"); // s = el(job, "scale ""<%9.3f, %9.3f, %9.3f>""\n", job->scale.x, job->scale.y, 1.0);
544 UNSUPPORTED("12hm1ht9azi6mmxv4dvc2dvih"); // r = el(job, "rotate ""<%9.3f, %9.3f, %9.3f>""\n", 0.0, 0.0, (float)job->rotation);
545 UNSUPPORTED("e4zn7gmaqed5rgvrdfmn4aws9"); // t = el(job, "translate""<%9.3f, %9.3f, %9.3f>""\n", 0.0, 0.0, z - 2);
546 UNSUPPORTED("av7kz9qqnv0p5fnbcld2iw2qa"); // p = pov_color_as_str(job, job->obj->fillcolor, 0.0);
547 UNSUPPORTED("a24ea5773bp2lh6m5pc3nb3cq"); // pov = el(job, "sphere_sweep {\n" " %s\n" " %d,\n", "b_spline", n + 2);
548 UNSUPPORTED("7lppn4o65696k131iftk9aihq"); // for (i = 0; i < n; i++) {
549 UNSUPPORTED("321e5283swfg4sm1s1vl257nh"); // v = el(job, "<%9.3f, %9.3f, %9.3f>" ", %.3f\n", A[i].x + job->translation.x, A[i].y + job->translation.y, 0.0, job->obj->penwidth); //z coordinate, thickness
550 UNSUPPORTED("4zdxrso8p4mqjcbsmj89gqlte"); // x = el(job, "%s %s", pov, v); //catenate pov & vector v
551 UNSUPPORTED("vfr0wm9gm15yrovhwdzvfjj3"); // free(v);
552 UNSUPPORTED("8aa1al3xqgdhiv4dq7n9t47bu"); // free(pov);
553 UNSUPPORTED("b536z5l52wpzyul7cr4nfyjml"); // pov = x;
554 UNSUPPORTED("a2hqs30x24m07r0la4yg21n03"); // //TODO: we currently just use the start and end points of the curve as
555 UNSUPPORTED("874oelxej10s2jdrj46nlkyhy"); // //control points but we should use center of nodes
556 UNSUPPORTED("33w4htg1ddnzrlrn3aaqx4mih"); // if (i == 0 || i == n - 1) {
557 UNSUPPORTED("ejfxr9c5tlyeymuqusujnge65"); // v = el(job, "<%9.3f, %9.3f, %9.3f>" ", %.3f\n", A[i].x + job->translation.x, A[i].y + job->translation.y, 0.0, job->obj->penwidth); //z coordinate, thickness
558 UNSUPPORTED("117aoj4wdcidfnr09ttcuh0bq"); // x = el(job, "%s %s", pov, v); //catenate pov & vector v
559 UNSUPPORTED("2ms9r7llvwurv03vshuwp33g0"); // free(v);
560 UNSUPPORTED("36ulf5u2x88apdfvl8575t0pw"); // free(pov);
561 UNSUPPORTED("52w8yci1wukx08u5iw209foki"); // pov = x;
562 UNSUPPORTED("6eq5kf0bj692bokt0bixy1ixh"); // }
563 UNSUPPORTED("flupwh3kosf3fkhkxllllt1"); // }
564 UNSUPPORTED("6rjarox8bj4qvyn5xm8l44ek3"); // x = el(job, " tolerance 0.01\n %s %s %s %s" "}\n", s, r, t,
565 UNSUPPORTED("75z6hiocdm99uxsymxnekqzz4"); // p);
566 UNSUPPORTED("57yf8g8kqm96q238qx5boux2p"); // pov = el(job, "%s%s", pov, x); //catenate pov & end str
567 UNSUPPORTED("6laycqh8jpxy4ruipf713audd"); // free(x);
568 UNSUPPORTED("3x0tju516ycfkyg76dbmy12z3"); // gvputs(job, pov);
569 UNSUPPORTED("d285xdylp7oj81aar06ulc7kh"); // free(s);
570 UNSUPPORTED("7scwdfzpkx03bafy8mo9p36ku"); // free(r);
571 UNSUPPORTED("9r1kr4nla99ts81ivi2g8ne6q"); // free(t);
572 UNSUPPORTED("cy5x5dma0v4hiepir7lrfuo17"); // free(p);
573 UNSUPPORTED("1nwb9ca1mjxkgynagbneulg58"); // free(pov);
574 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
575
576 throw new UnsupportedOperationException();
577 }
578
579
580
581
582 //3 byjm8zehiu37tz6v8axr9pw3n
583 // static void pov_polygon(GVJ_t * job, pointf * A, int n, int filled)
584 public static Object pov_polygon(Object... arg) {
585 UNSUPPORTED("66neyti84r77ayxgttnq6ja44"); // static void pov_polygon(GVJ_t * job, pointf * A, int n, int filled)
586 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
587 UNSUPPORTED("7w62ed76qkbpnwrmdmtxuvbqt"); // char *pov, *s, *r, *t, *p, *v, *x;
588 UNSUPPORTED("bbuxsg26kpzb2fl660hjri9l8"); // int i;
589 UNSUPPORTED("7qf2cy4yl409rjtqmxp9e15zk"); // gvputs(job, "//*** polygon\n");
590 UNSUPPORTED("egmkaiy8ma7d7wgilpj7gjfx8"); // z = layerz - 2;
591 UNSUPPORTED("2omh8jf0yjm0iz8fp4udk4f62"); // s = el(job, "scale ""<%9.3f, %9.3f, %9.3f>""\n", job->scale.x, job->scale.y, 1.0);
592 UNSUPPORTED("12hm1ht9azi6mmxv4dvc2dvih"); // r = el(job, "rotate ""<%9.3f, %9.3f, %9.3f>""\n", 0.0, 0.0, (float)job->rotation);
593 UNSUPPORTED("e4zn7gmaqed5rgvrdfmn4aws9"); // t = el(job, "translate""<%9.3f, %9.3f, %9.3f>""\n", 0.0, 0.0, z - 2);
594 UNSUPPORTED("3boaqla3jgicjsvi0cj6tylfw"); // p = pov_color_as_str(job, job->obj->pencolor, 0.0);
595 UNSUPPORTED("37ahpca2y7feyrvstporqhl8u"); // pov = el(job, "sphere_sweep {\n" " %s\n" " %d,\n", "linear_spline", n + 1);
596 UNSUPPORTED("7lppn4o65696k131iftk9aihq"); // for (i = 0; i < n; i++) {
597 UNSUPPORTED("321e5283swfg4sm1s1vl257nh"); // v = el(job, "<%9.3f, %9.3f, %9.3f>" ", %.3f\n", A[i].x + job->translation.x, A[i].y + job->translation.y, 0.0, job->obj->penwidth); //z coordinate, thickness
598 UNSUPPORTED("4zdxrso8p4mqjcbsmj89gqlte"); // x = el(job, "%s %s", pov, v); //catenate pov & vector v
599 UNSUPPORTED("vfr0wm9gm15yrovhwdzvfjj3"); // free(v);
600 UNSUPPORTED("8aa1al3xqgdhiv4dq7n9t47bu"); // free(pov);
601 UNSUPPORTED("b536z5l52wpzyul7cr4nfyjml"); // pov = x;
602 UNSUPPORTED("flupwh3kosf3fkhkxllllt1"); // }
603 UNSUPPORTED("514o3in8i24vfy9zenseu42h1"); // //close polygon, add starting point as final point^
604 UNSUPPORTED("9tnc5necekjr89isqg9turon9"); // v = el(job, "<%9.3f, %9.3f, %9.3f>" ", %.3f\n", A[0].x + job->translation.x, A[0].y + job->translation.y, 0.0, job->obj->penwidth); //z coordinate, thickness
605 UNSUPPORTED("4ktvr5g349qqwk467rn1z63az"); // x = el(job, "%s %s", pov, v); //catenate pov & vector v
606 UNSUPPORTED("cuo9qqlefcz4kzzualo1de3no"); // free(v);
607 UNSUPPORTED("1nwb9ca1mjxkgynagbneulg58"); // free(pov);
608 UNSUPPORTED("7xz82xouyjrr6uykusy7qpf2w"); // pov = x;
609 UNSUPPORTED("ht1aje0654drgytpm5le9rjh"); // x = el(job, " tolerance 0.1\n %s %s %s %s" "}\n", s, r, t, p);
610 UNSUPPORTED("57yf8g8kqm96q238qx5boux2p"); // pov = el(job, "%s%s", pov, x); //catenate pov & end str
611 UNSUPPORTED("6laycqh8jpxy4ruipf713audd"); // free(x);
612 UNSUPPORTED("3x0tju516ycfkyg76dbmy12z3"); // gvputs(job, pov);
613 UNSUPPORTED("d285xdylp7oj81aar06ulc7kh"); // free(s);
614 UNSUPPORTED("7scwdfzpkx03bafy8mo9p36ku"); // free(r);
615 UNSUPPORTED("9r1kr4nla99ts81ivi2g8ne6q"); // free(t);
616 UNSUPPORTED("cy5x5dma0v4hiepir7lrfuo17"); // free(p);
617 UNSUPPORTED("1nwb9ca1mjxkgynagbneulg58"); // free(pov);
618 UNSUPPORTED("aq1dxinpieit5q7d2nbxcebql"); // //create fill background
619 UNSUPPORTED("2atgu691bmn6h9jvk8lve5qzc"); // if (filled) {
620 UNSUPPORTED("3ruh2ygmjwz4qt3cdfolchjsr"); // s = el(job, "scale ""<%9.3f, %9.3f, %9.3f>""\n", job->scale.x, job->scale.y, 1.0);
621 UNSUPPORTED("95ovvy40bmmuglc6s7uitv3jq"); // r = el(job, "rotate ""<%9.3f, %9.3f, %9.3f>""\n", 0.0, 0.0, (float)job->rotation);
622 UNSUPPORTED("13w1x4vkx03vnimou254113c9"); // t = el(job, "translate""<%9.3f, %9.3f, %9.3f>""\n", 0.0, 0.0, z - 2);
623 UNSUPPORTED("2d03xv6bj4q7cciljhxeyma7w"); // p = pov_color_as_str(job, job->obj->fillcolor, 0.25);
624 UNSUPPORTED("ay7d9vngvzwvfr5gm3r67e4sg"); // pov = el(job, "polygon { %d,\n", n);
625 UNSUPPORTED("2rrnw2qr4kt708c1ryyszovp9"); // for (i = 0; i < n; i++) {
626 UNSUPPORTED("1yhl4u2jvgrqqs92asnmn634"); // //create on z = 0 plane, then translate to real z pos
627 UNSUPPORTED("323gm6pkek1kq1f80pdg2baje"); // v = el(job, "<%9.3f, %9.3f, %9.3f>",
628 UNSUPPORTED("9y7o0jvy5fig3ebzjjuvxrp9"); // A[i].x + job->translation.x,
629 UNSUPPORTED("7dm6pesqrr4ofolkoau22kfyw"); // A[i].y + job->translation.y, 0.0);
630 UNSUPPORTED("5426ydiaul7suvot22wcxj4ql"); // x = el(job, "%s\n %s", pov, v); //catenate pov & vector v
631 UNSUPPORTED("2ms9r7llvwurv03vshuwp33g0"); // free(v);
632 UNSUPPORTED("36ulf5u2x88apdfvl8575t0pw"); // free(pov);
633 UNSUPPORTED("52w8yci1wukx08u5iw209foki"); // pov = x;
634 UNSUPPORTED("6eq5kf0bj692bokt0bixy1ixh"); // }
635 UNSUPPORTED("1c5gz2uin3fm53ihebst7i310"); // x = el(job, "\n %s %s %s %s" "}\n", s, r, t, p);
636 UNSUPPORTED("a5ui5eg32sxrkxt68rvk1y6nd"); // pov = el(job, "%s%s", pov, x); //catenate pov & end str
637 UNSUPPORTED("akxc4ygimq2dxgjssmv2tcw24"); // free(x);
638 UNSUPPORTED("38o9oyyy59mzbbt6zzozzj5kp"); // gvputs(job, pov);
639 UNSUPPORTED("80itb1itky2rb7sgcktyeypr2"); // free(s);
640 UNSUPPORTED("3t86d4kz7zwqy3xx9m37y0eoa"); // free(r);
641 UNSUPPORTED("iagyh21osy84ww1ekih6gqlh"); // free(t);
642 UNSUPPORTED("8eho71vuxbyqy1c76wpeqzivl"); // free(p);
643 UNSUPPORTED("8aa1al3xqgdhiv4dq7n9t47bu"); // free(pov);
644 UNSUPPORTED("flupwh3kosf3fkhkxllllt1"); // }
645 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
646
647 throw new UnsupportedOperationException();
648 }
649
650
651
652
653 //3 4tenvyj7b9pbo2g8hb5qwdl5e
654 // static void pov_polyline(GVJ_t * job, pointf * A, int n)
655 public static Object pov_polyline(Object... arg) {
656 UNSUPPORTED("6y14qhe4e218exwzocw9x5gfq"); // static void pov_polyline(GVJ_t * job, pointf * A, int n)
657 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
658 UNSUPPORTED("7w62ed76qkbpnwrmdmtxuvbqt"); // char *pov, *s, *r, *t, *p, *v, *x;
659 UNSUPPORTED("bbuxsg26kpzb2fl660hjri9l8"); // int i;
660 UNSUPPORTED("diupy09i3wc1frcvkvjwnyty1"); // gvputs(job, "//*** polyline\n");
661 UNSUPPORTED("4yafz83qky6zhzfs6o2wgxklk"); // z = layerz - 6;
662 UNSUPPORTED("2omh8jf0yjm0iz8fp4udk4f62"); // s = el(job, "scale ""<%9.3f, %9.3f, %9.3f>""\n", job->scale.x, job->scale.y, 1.0);
663 UNSUPPORTED("12hm1ht9azi6mmxv4dvc2dvih"); // r = el(job, "rotate ""<%9.3f, %9.3f, %9.3f>""\n", 0.0, 0.0, (float)job->rotation);
664 UNSUPPORTED("9wdvdavwfn1nyjtjdobqa9137"); // t = el(job, "translate""<%9.3f, %9.3f, %9.3f>""\n", 0.0, 0.0, z);
665 UNSUPPORTED("3boaqla3jgicjsvi0cj6tylfw"); // p = pov_color_as_str(job, job->obj->pencolor, 0.0);
666 UNSUPPORTED("dp2pkyhb12fz76mwb5hgddd7l"); // pov = el(job, "sphere_sweep {\n" " %s\n" " %d,\n", "linear_spline", n);
667 UNSUPPORTED("7lppn4o65696k131iftk9aihq"); // for (i = 0; i < n; i++) {
668 UNSUPPORTED("321e5283swfg4sm1s1vl257nh"); // v = el(job, "<%9.3f, %9.3f, %9.3f>" ", %.3f\n", A[i].x + job->translation.x, A[i].y + job->translation.y, 0.0, job->obj->penwidth); //z coordinate, thickness
669 UNSUPPORTED("4zdxrso8p4mqjcbsmj89gqlte"); // x = el(job, "%s %s", pov, v); //catenate pov & vector v
670 UNSUPPORTED("vfr0wm9gm15yrovhwdzvfjj3"); // free(v);
671 UNSUPPORTED("8aa1al3xqgdhiv4dq7n9t47bu"); // free(pov);
672 UNSUPPORTED("b536z5l52wpzyul7cr4nfyjml"); // pov = x;
673 UNSUPPORTED("flupwh3kosf3fkhkxllllt1"); // }
674 UNSUPPORTED("5oy4ofx9kib8m20osqf5183js"); // x = el(job, " tolerance 0.01\n %s %s %s %s" "}\n", s, r, t, p);
675 UNSUPPORTED("57yf8g8kqm96q238qx5boux2p"); // pov = el(job, "%s%s", pov, x); //catenate pov & end str
676 UNSUPPORTED("6laycqh8jpxy4ruipf713audd"); // free(x);
677 UNSUPPORTED("3x0tju516ycfkyg76dbmy12z3"); // gvputs(job, pov);
678 UNSUPPORTED("d285xdylp7oj81aar06ulc7kh"); // free(s);
679 UNSUPPORTED("7scwdfzpkx03bafy8mo9p36ku"); // free(r);
680 UNSUPPORTED("9r1kr4nla99ts81ivi2g8ne6q"); // free(t);
681 UNSUPPORTED("cy5x5dma0v4hiepir7lrfuo17"); // free(p);
682 UNSUPPORTED("1nwb9ca1mjxkgynagbneulg58"); // free(pov);
683 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
684
685 throw new UnsupportedOperationException();
686 }
687
688
689 //1 60ddyecwuwk1q703j08lxofaw
690 // gvrender_engine_t pov_engine =
691
692
693 //1 3mk6p83k5m6nkdmz9a3zgngia
694 // gvrender_features_t render_features_pov =
695
696
697 //1 4vl7xgwqefutkozj8utzeuuwh
698 // gvdevice_features_t device_features_pov =
699
700
701 //1 4xnrqrdo6vuoa096fq2ib607n
702 // gvplugin_installed_t gvrender_pov_types[] =
703
704
705 //1 7glwt7v8poq3kemx5yiig02a8
706 // gvplugin_installed_t gvdevice_pov_types[] =
707
708
709 }