Debian Codegraph @

src/gen/plugin/core/gvrender_core_pic__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_pic__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 bfefdbmxgotf4qqkevk6qvjfy
151 // static int BezierSubdivision = 10
152
153
154 //1 8505t85skxggg0irl1tfmrgdy
155 // static int onetime = NOT(0)
156
157
158 //1 4xmsfk0yyzqo0cf2y9ajr36ty
159 // static double Fontscale
160
161
162 //1 dffduaq2lkvewi20yyl0idqlq
163 // static const char *EscComment =
164
165
166 //1 1u8ij16cx26ycd5fobsl8g2di
167 // static const char picgen_msghdr[] =
168
169
170
171
172 //3 ayos3jxehp1ztek0fzcl358ep
173 // static void unsupported(char *s)
174 public static Object unsupported(Object... arg) {
175 UNSUPPORTED("7088si6a7r2vno19b32uo8410"); // static void unsupported(char *s)
176 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
177 UNSUPPORTED("bf1fgr4hqu10lh6v19a4jkjgv"); // agerr(AGWARN, "%s%s unsupported\n", picgen_msghdr, s);
178 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
179
180 throw new UnsupportedOperationException();
181 }
182
183
184
185
186 //3 caqxhmpta2lx5mq13dxzj2u8x
187 // static void warn(char *s)
188 public static Object warn(Object... arg) {
189 UNSUPPORTED("eeixovji04zzi8o9wfp7t9t7o"); // static void warn(char *s)
190 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
191 UNSUPPORTED("w0ej7p9v7ag2pzzics45jb9x"); // agerr(AGWARN, "%s%s\n", picgen_msghdr, s);
192 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
193
194 throw new UnsupportedOperationException();
195 }
196
197
198 //1 554f31iuqyl7u1zcf17z53d5d
199 // static fontinfo fonttab[] =
200
201
202
203
204 //3 8rp81pt8d1m62r13763vzqa4x
205 // static char *picfontname(char *psname)
206 public static Object picfontname(Object... arg) {
207 UNSUPPORTED("3cgi3bkyyuwjkob8wjbv3j9jb"); // static char *picfontname(char *psname)
208 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
209 UNSUPPORTED("ehyq61leulhsbvzo34gv4br20"); // char *rv;
210 UNSUPPORTED("ddbhwe6t3q29agh7a7xgastxx"); // fontinfo *p;
211 UNSUPPORTED("1quze5gak9fidti4u2gpcgauq"); // for (p = fonttab; p->psname; p++)
212 UNSUPPORTED("2d2432dtxx1g5wbcjejux4jqi"); // if (strcmp(p->psname, psname) == 0)
213 UNSUPPORTED("dtx9szdvwh3uhziubh9zvgbk5"); // break;
214 UNSUPPORTED("epo8hgm34vxye7ud1qqax9ilb"); // if (p->psname)
215 UNSUPPORTED("kyhn9y1x9lm133bxfmj4bwek"); // rv = p->trname;
216 UNSUPPORTED("1nyzbeonram6636b1w955bypn"); // else {
217 UNSUPPORTED("k08w7t9x1k6guv6vfivs4v2s"); // agerr(AGERR, "%s%s is not a troff font\n", picgen_msghdr, psname);
218 UNSUPPORTED("6ulxsks045sya9n5eia1i7ddp"); // /* try base font names, e.g. Helvetica-Outline-Oblique -> Helvetica-Outline -> Helvetica */
219 UNSUPPORTED("72ll8tnxnsj2tpmxl5khlayu0"); // if ((rv = strrchr(psname, '-'))) {
220 UNSUPPORTED("btt8svsoi3k8j99f4n3rlc843"); // *rv = '\0'; /* psname is not specified as const ... */
221 UNSUPPORTED("aa0y2bm93qvnsy4kdck9f1f2a"); // rv = picfontname(psname);
222 UNSUPPORTED("59zykg2pjkae9ritp3zmr9eeo"); // } else
223 UNSUPPORTED("5zdgc0gkiq6npy5xb86pim6b7"); // rv = "R";
224 UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); // }
225 UNSUPPORTED("v7vqc9l7ge2bfdwnw11z7rzi"); // return rv;
226 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
227
228 throw new UnsupportedOperationException();
229 }
230
231
232
233
234 //3 wa4nhto9uu4kuly7ppruahop
235 // static void pic_set_color(GVJ_t *job, char *name)
236 public static Object pic_set_color(Object... arg) {
237 UNSUPPORTED("64zybybdqdszgcglznula2i6f"); // static void pic_set_color(GVJ_t *job, char *name)
238 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
239 UNSUPPORTED("dicmblysf3rxg5j4drimtm362"); // gvcolor_t color;
240 UNSUPPORTED("e5viuqy4awhjy9yfqag7onhm1"); // colorxlate(name, &color, HSVA_DOUBLE);
241 UNSUPPORTED("baelh9sxxexicjnrlbx7vdyb4"); // /* just v used to set grayscale value */
242 UNSUPPORTED("er4wz5rvcluf3o1z6qwlatuzh"); // gvprintf(job, "setfillval %f\n", color.u.HSVA[2]);
243 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
244
245 throw new UnsupportedOperationException();
246 }
247
248
249
250
251 //3 c5pyghjxe3qfm0n6mgm79rdlm
252 // static void pic_set_style(GVJ_t *job, char **s)
253 public static Object pic_set_style(Object... arg) {
254 UNSUPPORTED("96wpaw44vdacs0vh6jgoj4tz6"); // static void pic_set_style(GVJ_t *job, char **s)
255 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
256 UNSUPPORTED("balwwj76p8kmfix80qmjiugl4"); // const char *line, *p;
257 UNSUPPORTED("cs3d00usngkaxu4kgv7kkyckp"); // char skip = 0;
258 UNSUPPORTED("cf8w5z35zxww7q6yjin9lc9op"); // char buf[BUFSIZ];
259 UNSUPPORTED("32ofqlv8xfhdrh1ooiw235kv6"); // buf[0] = '\0';
260 UNSUPPORTED("6xleu4rgsqy1817r9he4r47b0"); // gvprintf(job, "define attrs%d %%", 0);
261 UNSUPPORTED("1azyqxax8ahnngehbhvuqt8gz"); // while ((p = line = *s++)) {
262 UNSUPPORTED("59gu8gjy0gkpkkgmy7w3c6hz8"); // while (*p)
263 UNSUPPORTED("a0t85lvr3qdf70ajg30c8eadd"); // p++;
264 UNSUPPORTED("5ms90gds9d7jyok5oqzrumfjz"); // p++;
265 UNSUPPORTED("8tvf313utqfv0v9axl6r3wlkl"); // while (*p) {
266 UNSUPPORTED("cf7nujm2cqcn2a02hkvyf1mvw"); // if (!strcmp(line, "setlinewidth")) { /* a hack to handle the user-defined (PS) style spec in proc3d.gv */
267 UNSUPPORTED("ai5a1136garr7covbnxk6pyxr"); // long n = atol(p);
268 UNSUPPORTED("16jrsjmpt5dozkg3fowz598p1"); // sprintf(buf,
269 UNSUPPORTED("1nvkg4g1u8xahxfewtp3c722z"); // "oldlinethick = linethick;linethick = %ld * scalethickness / %.0f\n",
270 UNSUPPORTED("eg7jvgq9596hgaq35cxgye91g"); // n, Fontscale);
271 UNSUPPORTED("5kcdmo80e6cptkdn6zgvgxf81"); // skip = 1;
272 UNSUPPORTED("8983k01wuaibmqpm7x4605bp7"); // } else
273 UNSUPPORTED("2fvo48a0txnpmru0ceovu13vm"); // gvprintf(job, " %s", p);
274 UNSUPPORTED("bc3tgg2q6b0su4mo7wfruc1lb"); // while (*p)
275 UNSUPPORTED("9qg60ras48o8da5tv4x27825z"); // p++;
276 UNSUPPORTED("a0t85lvr3qdf70ajg30c8eadd"); // p++;
277 UNSUPPORTED("4mhlpjofolwivhm0tl8cxznly"); // }
278 UNSUPPORTED("26drzkow7ea1ue7a2odilltn8"); // if (!skip)
279 UNSUPPORTED("32d5j591dz6q8zd5wzds7vbrw"); // gvprintf(job, " %s", line);
280 UNSUPPORTED("v8fuj86tc7ilar46z8lk0ou9"); // skip = 0;
281 UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); // }
282 UNSUPPORTED("3n37k03ptdiq5ledify5lcl9w"); // gvprintf(job, " %%\n");
283 UNSUPPORTED("7bnv6h5iccaz38t7o7b8u1dlh"); // gvprintf(job, "%s", buf);
284 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
285
286 throw new UnsupportedOperationException();
287 }
288
289
290
291
292 //3 48ntim1de294utfi4bxsk074i
293 // static void picptarray(GVJ_t *job, pointf * A, int n, int close)
294 public static Object picptarray(Object... arg) {
295 UNSUPPORTED("bmccbawo91lbcivkwyf8vc4hg"); // static void picptarray(GVJ_t *job, pointf * A, int n, int close)
296 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
297 UNSUPPORTED("b17di9c7wgtqm51bvsyxz6e2f"); // int i;
298 UNSUPPORTED("41nrdsugvfgw23s93g0dhizkn"); // point p;
299 UNSUPPORTED("1vi49g48u2rc9v88yhabta0yw"); // for (i = 0; i < n; i++) {
300 UNSUPPORTED("4pvmqbw3yqtv1skjcmzaxzz1j"); // PF2P(A[i],p);
301 UNSUPPORTED("9l156bri4abd87e44n6ponvf7"); // gvprintf(job, " %d %d", p.x, p.y);
302 UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); // }
303 UNSUPPORTED("125u8ocmya1ui6f2vy92ys41c"); // if (close) {
304 UNSUPPORTED("3nww6192gmqzcyq5v0whqebqg"); // PF2P(A[0],p);
305 UNSUPPORTED("9l156bri4abd87e44n6ponvf7"); // gvprintf(job, " %d %d", p.x, p.y);
306 UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); // }
307 UNSUPPORTED("b7eafy5bhxn361xe2c8x8553b"); // gvputs(job, "\n");
308 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
309
310 throw new UnsupportedOperationException();
311 }
312
313
314
315
316 //3 6ijginogo45k3r7evz06wou90
317 // static char *pic_string(char *s)
318 public static Object pic_string(Object... arg) {
319 UNSUPPORTED("dw9uiu4spxd1twnomgmszil97"); // static char *pic_string(char *s)
320 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
321 UNSUPPORTED("210phh7av8ei8ajjmpptx96m6"); // static char *buf = NULL;
322 UNSUPPORTED("6fpm1wk8mz0hofn15361g6nzn"); // static int bufsize = 0;
323 UNSUPPORTED("3xzujk207ipx0d60nbbrwyjez"); // int pos = 0;
324 UNSUPPORTED("aexhdud6z2wbwwi73yppp0ynl"); // char *p;
325 UNSUPPORTED("10sir32iwi5l2jyfgp65pihto"); // unsigned char c;
326 UNSUPPORTED("cjyiejw67ffjjsk60tgeebvif"); // if (!buf) {
327 UNSUPPORTED("7mna7k5m37x6jycc55rpeeje8"); // bufsize = 64;
328 UNSUPPORTED("ep0onxumq5jdi6uy8gbmbmcbb"); // buf = malloc(bufsize * sizeof(char));
329 UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); // }
330 UNSUPPORTED("dpfzdhkfq6u86uv5f9lnqfbpq"); // p = buf;
331 UNSUPPORTED("c5ryg6x0ohski7pfyjfenou9s"); // while ((c = *s++)) {
332 UNSUPPORTED("9zdb3w6p9hdzpyyb0migch83s"); // if (pos > (bufsize - 8)) {
333 UNSUPPORTED("6e6hti39a4qgpg5w8s3kln578"); // bufsize *= 2;
334 UNSUPPORTED("5ws50ei3kkqkw4ut1rt6a53bm"); // buf = realloc(buf, bufsize * sizeof(char));
335 UNSUPPORTED("7bji4miupgafja2y29safeneg"); // p = buf + pos;
336 UNSUPPORTED("4mhlpjofolwivhm0tl8cxznly"); // }
337 UNSUPPORTED("19kfsb89ftcmo72ye73cn1plm"); // if (isascii(c)) {
338 UNSUPPORTED("q0pniw6fxx771jygciq7vzx8"); // if (c == '\\') {
339 UNSUPPORTED("et6mc0jzry6p7o1acim2wudi9"); // *p++ = '\\';
340 UNSUPPORTED("e2z9y4j5uutkew1vp7bi9rhl4"); // pos++;
341 UNSUPPORTED("7g94ubxa48a1yi3mf9v521b7c"); // }
342 UNSUPPORTED("a9lw77m0m78a5a98c3vho52nx"); // *p++ = c;
343 UNSUPPORTED("80sypvk9gmir13zzfmeeey8ri"); // pos++;
344 UNSUPPORTED("7g575y36b78djy0o00izqx7eq"); // } else {
345 UNSUPPORTED("9x6j5mtq8ejbmg0m64b60ml"); // *p++ = '\\';
346 UNSUPPORTED("dev643k7td5xqer5x35ldenoh"); // sprintf(p, "%03o", c);
347 UNSUPPORTED("5xg21ei3admmdqgn97zgseutd"); // p += 3;
348 UNSUPPORTED("8sk7u4qhds42x15qm3hujzttc"); // pos += 4;
349 UNSUPPORTED("4mhlpjofolwivhm0tl8cxznly"); // }
350 UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); // }
351 UNSUPPORTED("2t1d66kwn86kqh0i665hqw6cl"); // *p = '\0';
352 UNSUPPORTED("5jfpogdyby101eyuw2dhtb5cg"); // return buf;
353 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
354
355 throw new UnsupportedOperationException();
356 }
357
358
359
360
361 //3 18gvpecdvza39yoravsxzyqgm
362 // static int picColorResolve(int *new, int r, int g, int b)
363 public static Object picColorResolve(Object... arg) {
364 UNSUPPORTED("50j17slpkgnb1ezx64xqzce87"); // static int picColorResolve(int *new, int r, int g, int b)
365 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
366 UNSUPPORTED("c2sddndcjmau5tt4mtu64l1ez"); // static int top = 0;
367 UNSUPPORTED("bnrhaqz49cielpy7fgo6dz2ub"); // static short red[256], green[256], blue[256];
368 UNSUPPORTED("53xzwretgdbd0atozc0w6hagb"); // int c;
369 UNSUPPORTED("5hsogcx940isfoos26t853z9j"); // int ct = -1;
370 UNSUPPORTED("4nf4ocdnzdty5edptkslzgrhc"); // long rd, gd, bd, dist;
371 UNSUPPORTED("b9jn6a9ked66uo0b0um0kfzfb"); // long mindist = 3 * 255 * 255; /* init to max poss dist */
372 UNSUPPORTED("c5tawsm7j8n0vkq0qcls0soc3"); // *new = 0; /* in case it is not a new color */
373 UNSUPPORTED("39bm5fhhzyquf4rlun9zbcbi4"); // for (c = 0; c < top; c++) {
374 UNSUPPORTED("6412n3rfkfyimbx1puriyeqqz"); // rd = (long) (red[c] - r);
375 UNSUPPORTED("amn29e9pu9d8t9ccunm7fn20f"); // gd = (long) (green[c] - g);
376 UNSUPPORTED("1qvtyk7n5kdkzxz8gi0t6sl7m"); // bd = (long) (blue[c] - b);
377 UNSUPPORTED("5awh60zjinxyaizmnt7bcnsgo"); // dist = rd * rd + gd * gd + bd * bd;
378 UNSUPPORTED("72niuav6m4ahb9zc0o87j3rup"); // if (dist < mindist) {
379 UNSUPPORTED("45pwtf48ibwznp83ycluh93rj"); // if (dist == 0)
380 UNSUPPORTED("39io4oxurhajbqm5r7elzwd3g"); // return c; /* Return exact match color */
381 UNSUPPORTED("9ctfnrqq05xpz8c2upf35fhfw"); // mindist = dist;
382 UNSUPPORTED("2b2qywvsce8xntf2r51qyo3lz"); // ct = c;
383 UNSUPPORTED("4mhlpjofolwivhm0tl8cxznly"); // }
384 UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); // }
385 UNSUPPORTED("92ga17xtfz92ju9egrpkatfx5"); // /* no exact match. We now know closest, but first try to allocate exact */
386 UNSUPPORTED("5ovv0tkjil1wqwcyc3cvzxgha"); // if (top++ == 256)
387 UNSUPPORTED("1qskgh83m3zps1l8d7o3ylo8g"); // return ct; /* Return closest available color */
388 UNSUPPORTED("7lij9fxsovvuk0nh18y6qq0cr"); // red[c] = r;
389 UNSUPPORTED("7uavxrqaipwwg1svkkt5e6gon"); // green[c] = g;
390 UNSUPPORTED("eew689jpibm80nsjrhdscvx6g"); // blue[c] = b;
391 UNSUPPORTED("4ocisp2giicxopfp4qg90x7u9"); // *new = 1; /* flag new color */
392 UNSUPPORTED("264d1dm29x04zyyqjdk3ddnl5"); // return c; /* Return newly allocated color */
393 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
394
395 throw new UnsupportedOperationException();
396 }
397
398
399
400
401 //3 ct81u9217meiyte0vlkysz69d
402 // static void pic_line_style(obj_state_t *obj, int *line_style, double *style_val)
403 public static Object pic_line_style(Object... arg) {
404 UNSUPPORTED("7vmwghtuxdgpvfbhfzdv2z1xm"); // static void pic_line_style(obj_state_t *obj, int *line_style, double *style_val)
405 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
406 UNSUPPORTED("1a0u5t2wyxdqipaswmaz0wsvz"); // switch (obj->pen) {
407 UNSUPPORTED("ersst7rw166izs2gaqp8nna81"); // case PEN_DASHED:
408 UNSUPPORTED("2anynsrc9mionezyitu3h8ust"); // *line_style = 1;
409 UNSUPPORTED("13xgbwsnirhzzkr4rhxlssp80"); // *style_val = 10.;
410 UNSUPPORTED("ai3czg6gaaxspsmndknpyvuiu"); // break;
411 UNSUPPORTED("5u2fwmkidl1tehl5ms86n9ior"); // case PEN_DOTTED:
412 UNSUPPORTED("6w3l2bm01hn2c597o758rnjdd"); // *line_style = 2;
413 UNSUPPORTED("13xgbwsnirhzzkr4rhxlssp80"); // *style_val = 10.;
414 UNSUPPORTED("ai3czg6gaaxspsmndknpyvuiu"); // break;
415 UNSUPPORTED("f0tv0x0m7ey5lru9fd0f8d6zq"); // case PEN_SOLID:
416 UNSUPPORTED("1drv0xz8hp34qnf72b4jpprg2"); // default:
417 UNSUPPORTED("d8wx5390c9r0unl07858cm345"); // *line_style = 0;
418 UNSUPPORTED("3eu0slevfiogpisxlbf0y2b5m"); // *style_val = 0.;
419 UNSUPPORTED("ai3czg6gaaxspsmndknpyvuiu"); // break;
420 UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); // }
421 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
422
423 throw new UnsupportedOperationException();
424 }
425
426
427
428
429 //3 7y7rby3rupqrhq7ae1qveool3
430 // static void pic_comment(GVJ_t *job, char *str)
431 public static Object pic_comment(Object... arg) {
432 UNSUPPORTED("bfsgdr1g2hvv18xxk5d8ghv5v"); // static void pic_comment(GVJ_t *job, char *str)
433 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
434 UNSUPPORTED("8h60idnupi1k47ro0clunyh5q"); // gvprintf(job, "%s %s\n", EscComment, str);
435 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
436
437 throw new UnsupportedOperationException();
438 }
439
440
441
442
443 //3 38dpgquwrcip8qpihgqze85vh
444 // static void pic_begin_graph(GVJ_t * job)
445 public static Object pic_begin_graph(Object... arg) {
446 UNSUPPORTED("4fvhhvcs3op3q4yyanzl48yik"); // static void pic_begin_graph(GVJ_t * job)
447 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
448 UNSUPPORTED("84llcpxtvxaggx841n2t03850"); // obj_state_t *obj = job->obj;
449 UNSUPPORTED("dcigebmf6s6f51j4m9qa6yymj"); // gvprintf(job, "%s Creator: %s version %s (%s)\n",
450 UNSUPPORTED("5998iss16ljg5pzhhht19mmwr"); // EscComment, job->common->info[0], job->common->info[1], job->common->info[2]);
451 UNSUPPORTED("equqpxkstjemlzo2j1dd344zl"); // gvprintf(job, "%s Title: %s\n", EscComment, agnameof(obj->u.g));
452 UNSUPPORTED("a8yoal1dchk0nt5nro0jh2f29"); // gvprintf(job,
453 UNSUPPORTED("7ktvkleeg0xcthzjlfhuhmzhl"); // "%s save point size and font\n.nr .S \\n(.s\n.nr DF \\n(.f\n",
454 UNSUPPORTED("4eth1b45y2w7jpem9jkc8sblp"); // EscComment);
455 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
456
457 throw new UnsupportedOperationException();
458 }
459
460
461
462
463 //3 cj0z02tehuufzejuqii6uk31t
464 // static void pic_end_graph(GVJ_t * job)
465 public static Object pic_end_graph(Object... arg) {
466 UNSUPPORTED("8n0jembcnqf86g3lkgvtafy41"); // static void pic_end_graph(GVJ_t * job)
467 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
468 UNSUPPORTED("a8yoal1dchk0nt5nro0jh2f29"); // gvprintf(job,
469 UNSUPPORTED("f2kfkuj6972o4mzg4g2s5v725"); // "%s restore point size and font\n.ps \\n(.S\n.ft \\n(DF\n",
470 UNSUPPORTED("4eth1b45y2w7jpem9jkc8sblp"); // EscComment);
471 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
472
473 throw new UnsupportedOperationException();
474 }
475
476
477
478
479 //3 4efot5904qdgxwian7og8s7yz
480 // static void pic_begin_page(GVJ_t * job)
481 public static Object pic_begin_page(Object... arg) {
482 UNSUPPORTED("59k0cacsr6yc1k00zy49jcoha"); // static void pic_begin_page(GVJ_t * job)
483 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
484 UNSUPPORTED("76g96x1rehn6s0a72jz2no0bi"); // box pbr = job->pageBoundingBox;
485 UNSUPPORTED("2b2vsocq8sefpglko8y2rk3za"); // double height, width;
486 UNSUPPORTED("m5wp5531idyj44zub1521718"); // if (onetime && job->rotation && (job->rotation != 90)) {
487 UNSUPPORTED("4bqo9fs7mwf1m4oohl243dc7g"); // unsupported("rotation");
488 UNSUPPORTED("6d9vivazko02yncki54y6wxr0"); // onetime = 0;
489 UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); // }
490 UNSUPPORTED("3qzghrup4vwvnoamerwu2xyju"); // height = (((double)(pbr.UR.y) -(double)(pbr.LL.y))/(double)72);
491 UNSUPPORTED("7gvykkmmv8bjpav4giilxkevx"); // width = (((double)(pbr.UR.x) -(double)(pbr.LL.x))/(double)72);
492 UNSUPPORTED("cipcm9rjowjd96dkcyfo6kj26"); // if (job->rotation == 90) {
493 UNSUPPORTED("b0dr2avp0yfrvx3x6lo32hcc9"); // double temp = width;
494 UNSUPPORTED("4ayhsbggju2dkkm9haen3dcuj"); // width = height;
495 UNSUPPORTED("vjy6msvtpf98lv27ygdmc3an"); // height = temp;
496 UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); // }
497 UNSUPPORTED("brwmt6ymnb9j9k57fp6dwx0z1"); // gvprintf(job, ".PS %.5f %.5f\n", width, height);
498 UNSUPPORTED("a8yoal1dchk0nt5nro0jh2f29"); // gvprintf(job,
499 UNSUPPORTED("4xv98dzt9da1iwfbed3qzbz51"); // "%s to change drawing size, multiply the width and height on the .PS line above and the number on the two lines below (rounded to the nearest integer) by a scale factor\n",
500 UNSUPPORTED("4eth1b45y2w7jpem9jkc8sblp"); // EscComment);
501 UNSUPPORTED("cvyjdl3qzdzycj7001kaj2al3"); // if (width > 0.0) {
502 UNSUPPORTED("8qqxw44yvv1gjotw76yaj9yiq"); // Fontscale = log10(width);
503 UNSUPPORTED("3gge74lntaihg4dvjhwv7oqhw"); // Fontscale += 3.0 - (int) Fontscale; /* between 3.0 and 4.0 */
504 UNSUPPORTED("2lkbqgh2h6urnppaik3zo7ywi"); // } else
505 UNSUPPORTED("hjzl5l4sn9hwtlrmk9lvsx80"); // Fontscale = 3.0;
506 UNSUPPORTED("1otido4r7tr5suta2iikwypjq"); // Fontscale = pow(10.0, Fontscale); /* a power of 10 times width, between 1000 and 10000 */
507 UNSUPPORTED("dpnhw47fss92k4dkrtrjk13ar"); // gvprintf(job, ".nr SF %.0f\nscalethickness = %.0f\n", Fontscale,
508 UNSUPPORTED("2eilbgmfjnjynn65kgq9ridff"); // Fontscale);
509 UNSUPPORTED("a8yoal1dchk0nt5nro0jh2f29"); // gvprintf(job,
510 UNSUPPORTED("dfbnxc3d0zif5ki61u2qhpi0u"); // "%s don't change anything below this line in this drawing\n",
511 UNSUPPORTED("4eth1b45y2w7jpem9jkc8sblp"); // EscComment);
512 UNSUPPORTED("a8yoal1dchk0nt5nro0jh2f29"); // gvprintf(job,
513 UNSUPPORTED("4q8frt9vf2a38v6cjjeow3hhv"); // "%s non-fatal run-time pic version determination, version 2\n",
514 UNSUPPORTED("4eth1b45y2w7jpem9jkc8sblp"); // EscComment);
515 UNSUPPORTED("a8yoal1dchk0nt5nro0jh2f29"); // gvprintf(job,
516 UNSUPPORTED("dc09zp41jpx1ar2yhyc3alm6p"); // "boxrad=2.0 %s will be reset to 0.0 by gpic only\n",
517 UNSUPPORTED("4eth1b45y2w7jpem9jkc8sblp"); // EscComment);
518 UNSUPPORTED("87vg3zmzozd5n9v73rd4rorjp"); // gvprintf(job, "scale=1.0 %s required for comparisons\n",
519 UNSUPPORTED("4eth1b45y2w7jpem9jkc8sblp"); // EscComment);
520 UNSUPPORTED("a8yoal1dchk0nt5nro0jh2f29"); // gvprintf(job,
521 UNSUPPORTED("fb2hg6vh04qtr5rds817ytzw"); // "%s boxrad is now 0.0 in gpic, else it remains 2.0\n",
522 UNSUPPORTED("4eth1b45y2w7jpem9jkc8sblp"); // EscComment);
523 UNSUPPORTED("a8yoal1dchk0nt5nro0jh2f29"); // gvprintf(job,
524 UNSUPPORTED("907w2hhexounybm744hrqew70"); // "%s dashwid is 0.1 in 10th Edition, 0.05 in DWB 2 and in gpic\n",
525 UNSUPPORTED("4eth1b45y2w7jpem9jkc8sblp"); // EscComment);
526 UNSUPPORTED("a8yoal1dchk0nt5nro0jh2f29"); // gvprintf(job,
527 UNSUPPORTED("b9scmygr8ue1db38lhe0ugf74"); // "%s fillval is 0.3 in 10th Edition (fill 0 means black), 0.5 in gpic (fill 0 means white), undefined in DWB 2\n",
528 UNSUPPORTED("4eth1b45y2w7jpem9jkc8sblp"); // EscComment);
529 UNSUPPORTED("a8yoal1dchk0nt5nro0jh2f29"); // gvprintf(job,
530 UNSUPPORTED("3q4puqndbhga2mrwvj5w2j7ss"); // "%s fill has no meaning in DWB 2, gpic can use fill or filled, 10th Edition uses fill only\n",
531 UNSUPPORTED("4eth1b45y2w7jpem9jkc8sblp"); // EscComment);
532 UNSUPPORTED("a8yoal1dchk0nt5nro0jh2f29"); // gvprintf(job,
533 UNSUPPORTED("a3x53q93b4sksa7vee61vtsls"); // "%s DWB 2 doesn't use fill and doesn't define fillval\n",
534 UNSUPPORTED("4eth1b45y2w7jpem9jkc8sblp"); // EscComment);
535 UNSUPPORTED("a8yoal1dchk0nt5nro0jh2f29"); // gvprintf(job,
536 UNSUPPORTED("cglsqpq97ek5itbkjjzdm0w8k"); // "%s reset works in gpic and 10th edition, but isn't defined in DWB 2\n",
537 UNSUPPORTED("4eth1b45y2w7jpem9jkc8sblp"); // EscComment);
538 UNSUPPORTED("6vzczz8vf0wqmrionyd7tqda8"); // gvprintf(job, "%s DWB 2 compatibility definitions\n",
539 UNSUPPORTED("4eth1b45y2w7jpem9jkc8sblp"); // EscComment);
540 UNSUPPORTED("a8yoal1dchk0nt5nro0jh2f29"); // gvprintf(job,
541 UNSUPPORTED("ce0em94lu4t3pt85r2za9mvf2"); // "if boxrad > 1.0 && dashwid < 0.075 then X\n\tfillval = 1;\n\tdefine fill Y Y;\n\tdefine solid Y Y;\n\tdefine reset Y scale=1.0 Y;\nX\n");
542 UNSUPPORTED("dq09jmz8i5yv8jt3stebgbyqd"); // gvprintf(job, "reset %s set to known state\n", EscComment);
543 UNSUPPORTED("dph08fr8e18senfvv4uvyofo6"); // gvprintf(job, "%s GNU pic vs. 10th Edition d\\(e'tente\n",
544 UNSUPPORTED("4eth1b45y2w7jpem9jkc8sblp"); // EscComment);
545 UNSUPPORTED("a8yoal1dchk0nt5nro0jh2f29"); // gvprintf(job,
546 UNSUPPORTED("dqdtm7xiklcacg5om9np226lc"); // "if fillval > 0.4 then X\n\tdefine setfillval Y fillval = 1 - Y;\n\tdefine bold Y thickness 2 Y;\n");
547 UNSUPPORTED("a8yoal1dchk0nt5nro0jh2f29"); // gvprintf(job,
548 UNSUPPORTED("18lex7q6g1l8eu6dnpt343s2e"); // "\t%s if you use gpic and it barfs on encountering \"solid\",\n",
549 UNSUPPORTED("4eth1b45y2w7jpem9jkc8sblp"); // EscComment);
550 UNSUPPORTED("a8yoal1dchk0nt5nro0jh2f29"); // gvprintf(job,
551 UNSUPPORTED("5ik7ebm2ec8itf29vezxtz2dd"); // "\t%s\tinstall a more recent version of gpic or switch to DWB or 10th Edition pic;\n",
552 UNSUPPORTED("4eth1b45y2w7jpem9jkc8sblp"); // EscComment);
553 UNSUPPORTED("a8yoal1dchk0nt5nro0jh2f29"); // gvprintf(job,
554 UNSUPPORTED("3y2bp6wbvp7p7lfnqdb8643gt"); // "\t%s\tsorry, the groff folks changed gpic; send any complaint to them;\n",
555 UNSUPPORTED("4eth1b45y2w7jpem9jkc8sblp"); // EscComment);
556 UNSUPPORTED("a8yoal1dchk0nt5nro0jh2f29"); // gvprintf(job,
557 UNSUPPORTED("bjxixh8i6komlukzxuq6bzuxm"); // "X else Z\n\tdefine setfillval Y fillval = Y;\n\tdefine bold Y Y;\n\tdefine filled Y fill Y;\nZ\n");
558 UNSUPPORTED("a8yoal1dchk0nt5nro0jh2f29"); // gvprintf(job,
559 UNSUPPORTED("1etnf378bbiv7frkkx646nc6x"); // "%s arrowhead has no meaning in DWB 2, arrowhead = 7 makes filled arrowheads in gpic and in 10th Edition\n",
560 UNSUPPORTED("4eth1b45y2w7jpem9jkc8sblp"); // EscComment);
561 UNSUPPORTED("a8yoal1dchk0nt5nro0jh2f29"); // gvprintf(job,
562 UNSUPPORTED("dypqrdzmizcvbpx12mt4t7n5t"); // "%s arrowhead is undefined in DWB 2, initially 1 in gpic, 2 in 10th Edition\n",
563 UNSUPPORTED("4eth1b45y2w7jpem9jkc8sblp"); // EscComment);
564 UNSUPPORTED("2laq9xrgobmth8qhrini8rhsi"); // gvprintf(job, "arrowhead = 7 %s not used by graphviz\n",
565 UNSUPPORTED("4eth1b45y2w7jpem9jkc8sblp"); // EscComment);
566 UNSUPPORTED("a8yoal1dchk0nt5nro0jh2f29"); // gvprintf(job,
567 UNSUPPORTED("avkzkz4i40ucrl9ssi3p6pyo5"); // "%s GNU pic supports a boxrad variable to draw boxes with rounded corners; DWB and 10th Ed. do not\n",
568 UNSUPPORTED("4eth1b45y2w7jpem9jkc8sblp"); // EscComment);
569 UNSUPPORTED("2oi2oo2n1kmide3fp6c7nidfb"); // gvprintf(job, "boxrad = 0 %s no rounded corners in graphviz\n",
570 UNSUPPORTED("4eth1b45y2w7jpem9jkc8sblp"); // EscComment);
571 UNSUPPORTED("a8yoal1dchk0nt5nro0jh2f29"); // gvprintf(job,
572 UNSUPPORTED("aa64gd28t5mwmg704oordujc5"); // "%s GNU pic supports a linethick variable to set line thickness; DWB and 10th Ed. do not\n",
573 UNSUPPORTED("4eth1b45y2w7jpem9jkc8sblp"); // EscComment);
574 UNSUPPORTED("53sr2p9jkfa612b87p2yb66sq"); // gvprintf(job, "linethick = 0; oldlinethick = linethick\n");
575 UNSUPPORTED("a8yoal1dchk0nt5nro0jh2f29"); // gvprintf(job,
576 UNSUPPORTED("db9i2enfon83i8aia8hn3nz90"); // "%s .PS w/o args causes GNU pic to scale drawing to fit 8.5x11 paper; DWB does not\n",
577 UNSUPPORTED("4eth1b45y2w7jpem9jkc8sblp"); // EscComment);
578 UNSUPPORTED("a8yoal1dchk0nt5nro0jh2f29"); // gvprintf(job,
579 UNSUPPORTED("3a8pqeqq1melrwpx86klp29z7"); // "%s maxpsht and maxpswid have no meaning in DWB 2.0, set page boundaries in gpic and in 10th Edition\n",
580 UNSUPPORTED("4eth1b45y2w7jpem9jkc8sblp"); // EscComment);
581 UNSUPPORTED("a8yoal1dchk0nt5nro0jh2f29"); // gvprintf(job,
582 UNSUPPORTED("3z8mzj59f8c2eyp4tue6ey7yc"); // "%s maxpsht and maxpswid are predefined to 11.0 and 8.5 in gpic\n",
583 UNSUPPORTED("4eth1b45y2w7jpem9jkc8sblp"); // EscComment);
584 UNSUPPORTED("e3g7qqt4wwzno1yygiv98l5o9"); // gvprintf(job, "maxpsht = %f\nmaxpswid = %f\n", height, width);
585 UNSUPPORTED("5ju4jha3xnti1j2ieoce0qmdf"); // gvprintf(job, "Dot: [\n");
586 UNSUPPORTED("a8yoal1dchk0nt5nro0jh2f29"); // gvprintf(job,
587 UNSUPPORTED("eynntob2c9h5peks987ekrzym"); // "define attrs0 %% %%; define unfilled %% %%; define rounded %% %%; define diagonals %% %%\n");
588 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
589
590 throw new UnsupportedOperationException();
591 }
592
593
594
595
596 //3 6nt6zbbo643w8j7t009y2v5bm
597 // static void pic_end_page(GVJ_t * job)
598 public static Object pic_end_page(Object... arg) {
599 UNSUPPORTED("c239lltddwrudapv2a7xxlxga"); // static void pic_end_page(GVJ_t * job)
600 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
601 UNSUPPORTED("a8yoal1dchk0nt5nro0jh2f29"); // gvprintf(job,
602 UNSUPPORTED("2teal9uw4ezwoi03qufhfiwlq"); // "]\n.PE\n");
603 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
604
605 throw new UnsupportedOperationException();
606 }
607
608
609
610
611 //3 d9e0jepdo8c58ajdoxng9e1h5
612 // static void pic_textspan(GVJ_t * job, pointf p, textspan_t * span)
613 public static Object pic_textspan(Object... arg) {
614 UNSUPPORTED("cauh218qle2ae9yjf61ud9p2r"); // static void pic_textspan(GVJ_t * job, pointf p, textspan_t * span)
615 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
616 UNSUPPORTED("2z4ulhebckee70a2cyx0dq01k"); // static char *lastname;
617 UNSUPPORTED("begkqws1spfd955d0kagsh1jc"); // static int lastsize;
618 UNSUPPORTED("bpt627vzs0r1tzo7jgpyjdssp"); // int sz;
619 UNSUPPORTED("bpqxh9mig0sh1gasrlkg6hbph"); // switch (span->just) {
620 UNSUPPORTED("b1mhc3reptgjo2p3hwaxyqgfu"); // case 'l':
621 UNSUPPORTED("bzxyddcf9jharsko2rb8asyik"); // break;
622 UNSUPPORTED("estx9pvff1tn1neki26jky2py"); // case 'r':
623 UNSUPPORTED("lzwxwwf5wl644m2hvx2zioue"); // p.x -= span->size.x;
624 UNSUPPORTED("bzxyddcf9jharsko2rb8asyik"); // break;
625 UNSUPPORTED("8l3rwj6ctswoa4gvh2j4poq70"); // default:
626 UNSUPPORTED("bb1f2erxhc1jxdi9awn26znil"); // case 'n':
627 UNSUPPORTED("6tzmt862u12ecdvt2d00dk679"); // p.x -= span->size.x / 2;
628 UNSUPPORTED("bzxyddcf9jharsko2rb8asyik"); // break;
629 UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); // }
630 UNSUPPORTED("4wr1p5fnqbdu0f5yq4dxvlir6"); // /* Why on earth would we do this. But it works. SCN 2/26/2002 */
631 UNSUPPORTED("d421di00t94nr476ghy7h70n3"); // p.y += span->font->size / (3.0 * 72);
632 UNSUPPORTED("ee4w493wyhc900xnxk58kqlin"); // p.x += span->size.x / (2.0 * 72);
633 UNSUPPORTED("cmznyqe6zlkta59u4wlkwm0b6"); // if (span->font->name && (!(lastname) || strcmp(lastname, span->font->name))) {
634 UNSUPPORTED("4mtb7uml2hzvmd5f3v4vak5ta"); // gvprintf(job, ".ft %s\n", picfontname(span->font->name));
635 UNSUPPORTED("7hlu4ruvtzkys6hdg160ghzq4"); // lastname = span->font->name;
636 UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); // }
637 UNSUPPORTED("1cwn7rsimk721vf93302dq6l3"); // if ((sz = (int)span->font->size) < 1);
638 UNSUPPORTED("8nr9q999sn2bf0neqzuypuipz"); // sz = 1;
639 UNSUPPORTED("3nh3xkjixssc69c7r9h07udba"); // if (sz != lastsize) {
640 UNSUPPORTED("7ve9efsns80c8bp56ezays3c5"); // gvprintf(job, ".ps %d*\\n(SFu/%.0fu\n", sz, Fontscale);
641 UNSUPPORTED("ar7ezodtm533ndxpfoz661cp9"); // lastsize = sz;
642 UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); // }
643 UNSUPPORTED("cpdm8yivurrmx8ub86bpgs4vn"); // gvprintf(job, "\"%s\" at (%.5f,%.5f);\n",
644 UNSUPPORTED("5zts6obdghaq7mbeyq13bucln"); // pic_string(span->str), p.x, p.y);
645 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
646
647 throw new UnsupportedOperationException();
648 }
649
650
651
652
653 //3 3rlk5pvbfad7rr584hs87fbaa
654 // static void pic_ellipse(GVJ_t * job, pointf * A, int filled)
655 public static Object pic_ellipse(Object... arg) {
656 UNSUPPORTED("1v59z1y3qs6icmg9adsga165a"); // static void pic_ellipse(GVJ_t * job, pointf * A, int filled)
657 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
658 UNSUPPORTED("8tuvacxowvjyekfxkm6dgvp8f"); // /* A[] contains 2 points: the center and corner. */
659 UNSUPPORTED("a8yoal1dchk0nt5nro0jh2f29"); // gvprintf(job,
660 UNSUPPORTED("dwfvg3ih86afd5uzqvndt9ur4"); // "ellipse attrs%d %swid %.5f ht %.5f at (%.5f,%.5f);\n", 1,
661 UNSUPPORTED("457e4jaeiuoxhg7v340gy9rw4"); // filled ? "fill " : "",
662 UNSUPPORTED("cfsz2r42gzz2n7gz9o93odh4i"); // ((2*(A[1].x - A[0].x))/(double)72),
663 UNSUPPORTED("9mgg3lvutbvo26fsphghc4c"); // ((2*(A[1].y - A[0].y))/(double)72),
664 UNSUPPORTED("4hj3y2hq0474p3ghy1l4x0lxf"); // ((A[0].x)/(double)72),
665 UNSUPPORTED("6ccewir86nmmtromy3mivt1ao"); // ((A[0].y)/(double)72));
666 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
667
668 throw new UnsupportedOperationException();
669 }
670
671
672
673
674 //3 1sw3gedor8k03dnq5rspgqe0b
675 // static void pic_bezier(GVJ_t * job, pointf * A, int n, int arrow_at_start,
676 public static Object pic_bezier(Object... arg) {
677 UNSUPPORTED("2mb1csja400u5qyc223ocy3me"); // static void pic_bezier(GVJ_t * job, pointf * A, int n, int arrow_at_start,
678 UNSUPPORTED("aucu2oah5hsehslkm52zjqn3q"); // // start_y, end_x, end_y);
679 UNSUPPORTED("77j21vz8ekimnj6b6uefavtz2"); // int arrow_at_end, int filled)
680 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
681 UNSUPPORTED("84llcpxtvxaggx841n2t03850"); // obj_state_t *obj = job->obj;
682 UNSUPPORTED("3slisz3umk8yx744ufnbbf50r"); // int object_code = 3; /* always 3 for spline */
683 UNSUPPORTED("dg2m9953dx1s3kh2xh49cl6j9"); // int sub_type;
684 UNSUPPORTED("7yz13t0sqtqvzxyddzcozxe33"); // int line_style; /* solid, dotted, dashed */
685 UNSUPPORTED("9pyxwz1r98uut10u02vkx6v1q"); // int thickness = obj->penwidth;
686 UNSUPPORTED("spi81120or5799hcfjb8itk6"); // int pen_color = obj->pencolor.u.index;
687 UNSUPPORTED("85qo3gmfwzm58xlqrukeg2vyr"); // int fill_color = obj->fillcolor.u.index;
688 UNSUPPORTED("4mqqliisakngnea1fbgw3n16w"); // int pen_style = 0; /* not used */
689 UNSUPPORTED("cv6hsumgyv706zrsc1mb79vjt"); // int area_fill;
690 UNSUPPORTED("erg3jyrsg6mbllclii9gqtczn"); // double style_val;
691 UNSUPPORTED("at27yenlhsw2mhidnzh560qs7"); // int cap_style = 0;
692 UNSUPPORTED("6aehzky7l6ssu826xre37yhtt"); // int forward_arrow = 0;
693 UNSUPPORTED("cvrcowx9gwh8vdfgelcwxhrhq"); // int backward_arrow = 0;
694 UNSUPPORTED("cnai2dhmnp0nlkurdvfgcftzp"); // int npoints = n;
695 UNSUPPORTED("b17di9c7wgtqm51bvsyxz6e2f"); // int i;
696 UNSUPPORTED("2ripxrfk1hjvzu0cnqlmtvz7q"); // pointf pf, V[4];
697 UNSUPPORTED("41nrdsugvfgw23s93g0dhizkn"); // point p;
698 UNSUPPORTED("54a5cffl70pabwgya54wkrjdt"); // int j, step;
699 UNSUPPORTED("551funk1bxiemly3silcqtngw"); // int count = 0;
700 UNSUPPORTED("cav0e7ncloqss0hsvc4fyfi7s"); // int size;
701 UNSUPPORTED("6wvmmuf1e3qp2qoi1k1njw0a0"); // char *buffer;
702 UNSUPPORTED("6ik3p99apk5rihypipg0uxu8i"); // char *buf;
703 UNSUPPORTED("2oge79a1lz0azw1572k9culsm"); // buffer =
704 UNSUPPORTED("7ls09ukxgkos4a02570trbo11"); // malloc((npoints + 1) * (6 +
705 UNSUPPORTED("82a2b3l9tnp4wb4zntqluobrf"); // 1) * 20 * sizeof(char));
706 UNSUPPORTED("3fe0hbpwq6bj9ioyuwkjdzyzz"); // buf = buffer;
707 UNSUPPORTED("e77xa6hsjckwgdadat7v55pl6"); // pic_line_style(obj, &line_style, &style_val);
708 UNSUPPORTED("9yhmhvzz81x2bovke5qc93036"); // if (filled) {
709 UNSUPPORTED("bj3webccz9d6zwkfor1wbs62"); // sub_type = 5; /* closed X-spline */
710 UNSUPPORTED("7zcxl4upa7xx6c4i5y2x03nm8"); // area_fill = 20; /* fully saturated color */
711 UNSUPPORTED("72p315i58kf1cm2zd3q0u8cn9"); // fill_color = job->obj->fillcolor.u.index;
712 UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); // }
713 UNSUPPORTED("1nyzbeonram6636b1w955bypn"); // else {
714 UNSUPPORTED("b42prafms4wcjet9oaqz2r9an"); // sub_type = 4; /* opened X-spline */
715 UNSUPPORTED("e8seyevdqkm3o522h0kw3ofoo"); // area_fill = -1;
716 UNSUPPORTED("cnfp5y1qtuaq6rg9e86neg62e"); // fill_color = 0;
717 UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); // }
718 UNSUPPORTED("a5n7zezdexpwwfy12hsc5q41m"); // V[3].x = A[0].x;
719 UNSUPPORTED("3wrmg8m53mwjg50y22lcyblmg"); // V[3].y = A[0].y;
720 UNSUPPORTED("d4fw6y4mj6hshwm4fwoegfv1"); // /* Write first point in line */
721 UNSUPPORTED("7ap9l0s2x29me32trtt38kph0"); // count++;
722 UNSUPPORTED("8hem85phuz76zejto4bkwovw1"); // PF2P(A[0], p);
723 UNSUPPORTED("73o6ys1pid2ocs41fxtzlcv8n"); // size = sprintf(buf, " %d %d", p.x, p.y);
724 UNSUPPORTED("1j1vfgxpkci66jmmmccgza2lm"); // buf += size;
725 UNSUPPORTED("a3w2dgd3a2dpgvb5n1a63c9ar"); // /* write subsequent points */
726 UNSUPPORTED("3s0blwgctqa0ygs872bnu4kye"); // for (i = 0; i + 3 < n; i += 3) {
727 UNSUPPORTED("4a58elv5pvvi5twh4hrzzzj3d"); // V[0] = V[3];
728 UNSUPPORTED("cr2c5h66bahjj7gd63bz4bhl7"); // for (j = 1; j <= 3; j++) {
729 UNSUPPORTED("d5p6lhssn8pxlfrjhmbm89neq"); // V[j].x = A[i + j].x;
730 UNSUPPORTED("aasvql7kiskb32j9te9gp5xif"); // V[j].y = A[i + j].y;
731 UNSUPPORTED("4mhlpjofolwivhm0tl8cxznly"); // }
732 UNSUPPORTED("afevm918v5rewrdihltcjtka7"); // for (step = 1; step <= 6; step++) {
733 UNSUPPORTED("cc15ym2418ncxwrvmrbf7d5fb"); // count++;
734 UNSUPPORTED("1maly6enkyv5xs410cfeocfo8"); // pf = Bezier (V, 3, (double) step / 6, NULL, NULL);
735 UNSUPPORTED("9hehuild0uke3e57cn1cu37d4"); // PF2P(pf, p);
736 UNSUPPORTED("dlhqn2sqdjrfl9iuem0x42sg7"); // size = sprintf(buf, " %d %d", p.x, p.y);
737 UNSUPPORTED("dc1iwkgf67a40ouxumqgp087o"); // buf += size;
738 UNSUPPORTED("4mhlpjofolwivhm0tl8cxznly"); // }
739 UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); // }
740 UNSUPPORTED("adja5audqilxvakjhc4ffv918"); // // gvprintf(job, "%d %d %d %d %d %d %d %d %d %.1f %d %d %d %d\n",
741 UNSUPPORTED("6biruvlzylxqarkvvvk8f1kj1"); // // object_code,
742 UNSUPPORTED("1gvy5x6e4tb8y1t58ea5a9gbr"); // // sub_type,
743 UNSUPPORTED("3j51v7djf78may8pc7fqmbfu9"); // // line_style,
744 UNSUPPORTED("6qk3rwg8n74pfvc3t1l02mcbk"); // // thickness,
745 UNSUPPORTED("e4i6ly0erhqrn6l0sdh52e09w"); // // pen_color,
746 UNSUPPORTED("e6lb1qzdgn5b1xs9adtu5z1a2"); // // fill_color,
747 UNSUPPORTED("du7j3ee3lzjzintra1dpg14fx"); // // depth,
748 UNSUPPORTED("3k0iccc4zc3dcn6wva0b62aue"); // // pen_style,
749 UNSUPPORTED("3i8kq2rp9dnqrluiipxuw59tv"); // // area_fill,
750 UNSUPPORTED("4yigk5lhyfyre5v90resjpok8"); // // style_val, cap_style, forward_arrow, backward_arrow, count);
751 UNSUPPORTED("cqyleb6lm2k4okgz6yyfsnyvs"); // gvprintf(job, " %s\n", buffer); /* print points */
752 UNSUPPORTED("2puk68crvxxdnxykmgd8hccpb"); // free(buffer);
753 UNSUPPORTED("880df02j7ml0ml3y149lcn5r0"); // for (i = 0; i < count; i++) {
754 UNSUPPORTED("aqnpclkffnis7si1mcldfnqzb"); // gvprintf(job, " %d", i % (count - 1) ? 1 : 0); /* -1 on all */
755 UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); // }
756 UNSUPPORTED("b7eafy5bhxn361xe2c8x8553b"); // gvputs(job, "\n");
757 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
758
759 throw new UnsupportedOperationException();
760 }
761
762
763
764
765 //3 6vpufqet2cxqbjkd7b1oz5nqd
766 // static void pic_polygon(GVJ_t * job, pointf * A, int n, int filled)
767 public static Object pic_polygon(Object... arg) {
768 UNSUPPORTED("72rnzkq710hqh92i1k0acfd37"); // static void pic_polygon(GVJ_t * job, pointf * A, int n, int filled)
769 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
770 UNSUPPORTED("84llcpxtvxaggx841n2t03850"); // obj_state_t *obj = job->obj;
771 UNSUPPORTED("1250jrnrnv2ts7w11no09s3c0"); // int object_code = 2; /* always 2 for polyline */
772 UNSUPPORTED("1u7xi4usjz62x26cm8thbbuzf"); // int sub_type = 3; /* always 3 for polygon */
773 UNSUPPORTED("7yz13t0sqtqvzxyddzcozxe33"); // int line_style; /* solid, dotted, dashed */
774 UNSUPPORTED("9pyxwz1r98uut10u02vkx6v1q"); // int thickness = obj->penwidth;
775 UNSUPPORTED("spi81120or5799hcfjb8itk6"); // int pen_color = obj->pencolor.u.index;
776 UNSUPPORTED("85qo3gmfwzm58xlqrukeg2vyr"); // int fill_color = obj->fillcolor.u.index;
777 UNSUPPORTED("4mqqliisakngnea1fbgw3n16w"); // int pen_style = 0; /* not used */
778 UNSUPPORTED("1rb7krh80rapa6zt9gze6d8y"); // int area_fill = filled ? 20 : -1;
779 UNSUPPORTED("erg3jyrsg6mbllclii9gqtczn"); // double style_val;
780 UNSUPPORTED("emk8vv370o9kkt54b48xbckqk"); // int join_style = 0;
781 UNSUPPORTED("at27yenlhsw2mhidnzh560qs7"); // int cap_style = 0;
782 UNSUPPORTED("5ah3zh0iiveyst5794k0axkys"); // int radius = 0;
783 UNSUPPORTED("6aehzky7l6ssu826xre37yhtt"); // int forward_arrow = 0;
784 UNSUPPORTED("cvrcowx9gwh8vdfgelcwxhrhq"); // int backward_arrow = 0;
785 UNSUPPORTED("b2q7ayijmq412v8tkb0p5a4xq"); // int npoints = n + 1;
786 UNSUPPORTED("e77xa6hsjckwgdadat7v55pl6"); // pic_line_style(obj, &line_style, &style_val);
787 UNSUPPORTED("5y46af2tm0pigzfxvxrfcb4lk"); // // gvprintf(job,
788 UNSUPPORTED("5jxusmce4v4hqmp46sfkrhqiu"); // // "%d %d %d %d %d %d %d %d %d %.1f %d %d %d %d %d %d\n",
789 UNSUPPORTED("9gl7rgac8iy5bwp4aik7fhxhm"); // // object_code, sub_type, line_style, thickness, pen_color,
790 UNSUPPORTED("f00qd9ts19m4zytpw9ul3nw86"); // // fill_color, depth, pen_style, area_fill, style_val, join_style,
791 UNSUPPORTED("6zilgzihyxax6qcclohoma171"); // // cap_style, radius, forward_arrow, backward_arrow, npoints);
792 UNSUPPORTED("bb2br2kig62zs308gqpx7dl6j"); // picptarray(job, A, n, 1); /* closed shape */
793 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
794
795 throw new UnsupportedOperationException();
796 }
797
798
799
800
801 //3 7rlxbmvn1s9o400xa6a47b3u0
802 // static void pic_polyline(GVJ_t * job, pointf * A, int n)
803 public static Object pic_polyline(Object... arg) {
804 UNSUPPORTED("2ifmtbi7jzs4ziyl98lik2sln"); // static void pic_polyline(GVJ_t * job, pointf * A, int n)
805 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
806 UNSUPPORTED("84llcpxtvxaggx841n2t03850"); // obj_state_t *obj = job->obj;
807 UNSUPPORTED("1250jrnrnv2ts7w11no09s3c0"); // int object_code = 2; /* always 2 for polyline */
808 UNSUPPORTED("2xiuwyphr1m2pc2o9smsohpy7"); // int sub_type = 1; /* always 1 for polyline */
809 UNSUPPORTED("7yz13t0sqtqvzxyddzcozxe33"); // int line_style; /* solid, dotted, dashed */
810 UNSUPPORTED("9pyxwz1r98uut10u02vkx6v1q"); // int thickness = obj->penwidth;
811 UNSUPPORTED("spi81120or5799hcfjb8itk6"); // int pen_color = obj->pencolor.u.index;
812 UNSUPPORTED("afxyknafudgf6s6v5jw9qx8p9"); // int fill_color = 0;
813 UNSUPPORTED("4mqqliisakngnea1fbgw3n16w"); // int pen_style = 0; /* not used */
814 UNSUPPORTED("1pvrunrk1ylb19scd5xzhf3lp"); // int area_fill = 0;
815 UNSUPPORTED("erg3jyrsg6mbllclii9gqtczn"); // double style_val;
816 UNSUPPORTED("emk8vv370o9kkt54b48xbckqk"); // int join_style = 0;
817 UNSUPPORTED("at27yenlhsw2mhidnzh560qs7"); // int cap_style = 0;
818 UNSUPPORTED("5ah3zh0iiveyst5794k0axkys"); // int radius = 0;
819 UNSUPPORTED("6aehzky7l6ssu826xre37yhtt"); // int forward_arrow = 0;
820 UNSUPPORTED("cvrcowx9gwh8vdfgelcwxhrhq"); // int backward_arrow = 0;
821 UNSUPPORTED("cnai2dhmnp0nlkurdvfgcftzp"); // int npoints = n;
822 UNSUPPORTED("e77xa6hsjckwgdadat7v55pl6"); // pic_line_style(obj, &line_style, &style_val);
823 UNSUPPORTED("5y46af2tm0pigzfxvxrfcb4lk"); // // gvprintf(job,
824 UNSUPPORTED("5jxusmce4v4hqmp46sfkrhqiu"); // // "%d %d %d %d %d %d %d %d %d %.1f %d %d %d %d %d %d\n",
825 UNSUPPORTED("9gl7rgac8iy5bwp4aik7fhxhm"); // // object_code, sub_type, line_style, thickness, pen_color,
826 UNSUPPORTED("f00qd9ts19m4zytpw9ul3nw86"); // // fill_color, depth, pen_style, area_fill, style_val, join_style,
827 UNSUPPORTED("6zilgzihyxax6qcclohoma171"); // // cap_style, radius, forward_arrow, backward_arrow, npoints);
828 UNSUPPORTED("aclk0i1g5h2w55leog4sbehnt"); // picptarray(job, A, n, 0); /* open shape */
829 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
830
831 throw new UnsupportedOperationException();
832 }
833
834
835 //1 1qbgpljw1sasfxrm2urmq04xv
836 // gvrender_engine_t pic_engine =
837
838
839 //1 562akbmoglmbe4vhlm4vhgl7d
840 // static gvrender_features_t render_features_pic =
841
842
843 //1 brpaeygrxu0b0eyu2x62og81
844 // static gvdevice_features_t device_features_pic =
845
846
847 //1 buvtiax25ah766ey9qhdtidlo
848 // gvplugin_installed_t gvrender_pic_types[] =
849
850
851 //1 3t0wgwjmiuh24ntyxb1zv6u5n
852 // gvplugin_installed_t gvdevice_pic_types[] =
853
854
855 }