Debian Codegraph @

src/gen/lib/common/emit__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.lib.common;
47 import static gen.lib.cgraph.attr__c.agget;
48 import static gen.lib.common.geom__c.ptToLine2;
49 import static gen.lib.common.utils__c.Bezier;
50 import static smetana.core.JUtilsDebug.ENTERING;
51 import static smetana.core.JUtilsDebug.LEAVING;
52 import static smetana.core.Macro.N;
53 import static smetana.core.Macro.UNSUPPORTED;
54 import h.ST_Agraph_s;
55 import h.ST_boxf;
56 import h.ST_pointf;
57 import h.xdot;
58 import smetana.core.CString;
59 import smetana.core.__ptr__;
60
61 public class emit__c {
62 //1 2digov3edok6d5srhgtlmrycs
63 // extern lt_symlist_t lt_preloaded_symbols[]
64
65
66 //1 baedz5i9est5csw3epz3cv7z
67 // typedef Ppoly_t Ppolyline_t
68
69
70 //1 9k44uhd5foylaeoekf3llonjq
71 // extern Dtmethod_t* Dtset
72
73
74 //1 1ahfywsmzcpcig2oxm7pt9ihj
75 // extern Dtmethod_t* Dtbag
76
77
78 //1 anhghfj3k7dmkudy2n7rvt31v
79 // extern Dtmethod_t* Dtoset
80
81
82 //1 5l6oj1ux946zjwvir94ykejbc
83 // extern Dtmethod_t* Dtobag
84
85
86 //1 2wtf222ak6cui8cfjnw6w377z
87 // extern Dtmethod_t* Dtlist
88
89
90 //1 d1s1s6ibtcsmst88e3057u9r7
91 // extern Dtmethod_t* Dtstack
92
93
94 //1 axa7mflo824p6fspjn1rdk0mt
95 // extern Dtmethod_t* Dtqueue
96
97
98 //1 ega812utobm4xx9oa9w9ayij6
99 // extern Dtmethod_t* Dtdeque
100
101
102 //1 cyfr996ur43045jv1tjbelzmj
103 // extern Dtmethod_t* Dtorder
104
105
106 //1 wlofoiftbjgrrabzb2brkycg
107 // extern Dtmethod_t* Dttree
108
109
110 //1 12bds94t7voj7ulwpcvgf6agr
111 // extern Dtmethod_t* Dthash
112
113
114 //1 9lqknzty480cy7zsubmabkk8h
115 // extern Dtmethod_t _Dttree
116
117
118 //1 bvn6zkbcp8vjdhkccqo1xrkrb
119 // extern Dtmethod_t _Dthash
120
121
122 //1 9lidhtd6nsmmv3e7vjv9e10gw
123 // extern Dtmethod_t _Dtlist
124
125
126 //1 34ujfamjxo7xn89u90oh2k6f8
127 // extern Dtmethod_t _Dtqueue
128
129
130 //1 3jy4aceckzkdv950h89p4wjc8
131 // extern Dtmethod_t _Dtstack
132
133
134 //1 8dfqgf3u1v830qzcjqh9o8ha7
135 // extern Agmemdisc_t AgMemDisc
136
137
138 //1 18k2oh2t6llfsdc5x0wlcnby8
139 // extern Agiddisc_t AgIdDisc
140
141
142 //1 a4r7hi80gdxtsv4hdoqpyiivn
143 // extern Agiodisc_t AgIoDisc
144
145
146 //1 bnzt5syjb7mgeru19114vd6xx
147 // extern Agdisc_t AgDefaultDisc
148
149
150 //1 35y2gbegsdjilegaribes00mg
151 // extern Agdesc_t Agdirected, Agstrictdirected, Agundirected, Agstrictundirected
152
153
154 //1 c2rygslq6bcuka3awmvy2b3ow
155 // typedef Agsubnode_t Agnoderef_t
156
157
158 //1 xam6yv0dcsx57dtg44igpbzn
159 // typedef Dtlink_t Agedgeref_t
160
161
162 //1 nye6dsi1twkbddwo9iffca1j
163 // extern char *Version
164
165
166 //1 65mu6k7h7lb7bx14jpiw7iyxr
167 // extern char **Files
168
169
170 //1 2rpjdzsdyrvomf00zcs3u3dyn
171 // extern const char **Lib
172
173
174 //1 6d2f111lntd2rsdt4gswh5909
175 // extern char *CmdName
176
177
178 //1 a0ltq04fpeg83soa05a2fkwb2
179 // extern char *specificFlags
180
181
182 //1 1uv30qeqq2jh6uznlr4dziv0y
183 // extern char *specificItems
184
185
186 //1 7i4hkvngxe3x7lmg5h6b3t9g3
187 // extern char *Gvfilepath
188
189
190 //1 9jp96pa73kseya3w6sulxzok6
191 // extern char *Gvimagepath
192
193
194 //1 40ylumfu7mrvawwf4v2asvtwk
195 // extern unsigned char Verbose
196
197
198 //1 93st8awjy1z0h07n28qycbaka
199 // extern unsigned char Reduce
200
201
202 //1 f2vs67ts992erf8onwfglurzp
203 // extern int MemTest
204
205
206 //1 c6f8whijgjwwagjigmxlwz3gb
207 // extern char *HTTPServerEnVar
208
209
210 //1 cp4hzj7p87m7arw776d3bt7aj
211 // extern char *Output_file_name
212
213
214 //1 a3rqagofsgraie6mx0krzkgsy
215 // extern int graphviz_errors
216
217
218 //1 5up05203r4kxvjn1m4njcgq5x
219 // extern int Nop
220
221
222 //1 umig46cco431x14b3kosde2t
223 // extern double PSinputscale
224
225
226 //1 52bj6v8fqz39khasobljfukk9
227 // extern int Syntax_errors
228
229
230 //1 9ekf2ina8fsjj6y6i0an6somj
231 // extern int Show_cnt
232
233
234 //1 38di5qi3nkxkq65onyvconk3r
235 // extern char** Show_boxes
236
237
238 //1 6ri6iu712m8mpc7t2670etpcw
239 // extern int CL_type
240
241
242 //1 bomxiw3gy0cgd1ydqtek7fpxr
243 // extern unsigned char Concentrate
244
245
246 //1 cqy3gqgcq8empdrbnrhn84058
247 // extern double Epsilon
248
249
250 //1 64slegfoouqeg0rmbyjrm8wgr
251 // extern int MaxIter
252
253
254 //1 88wdinpnmfs4mab4aw62yb0bg
255 // extern int Ndim
256
257
258 //1 8bbad3ogcelqnnvo5br5s05gq
259 // extern int State
260
261
262 //1 17rnd8q45zclfn68qqst2vxxn
263 // extern int EdgeLabelsDone
264
265
266 //1 ymx1z4s8cznjifl2d9f9m8jr
267 // extern double Initial_dist
268
269
270 //1 a33bgl0c3uqb3trx419qulj1x
271 // extern double Damping
272
273
274 //1 d9lvrpjg1r0ojv40pod1xwk8n
275 // extern int Y_invert
276
277
278 //1 71efkfs77q5tq9ex6y0f4kanh
279 // extern int GvExitOnUsage
280
281
282 //1 4xy2dkdkv0acs2ue9eca8hh2e
283 // extern Agsym_t *G_activepencolor, *G_activefillcolor, *G_selectedpencolor, *G_selectedfillcolor, *G_visitedpencolor, *G_visitedfillcolor, *G_deletedpencolor, *G_deletedfillcolor, *G_ordering, *G_peripheries, *G_penwidth, *G_gradientangle, *G_margin
284
285
286 //1 9js5gxgzr74eakgtfhnbws3t9
287 // extern Agsym_t *N_height, *N_width, *N_shape, *N_color, *N_fillcolor, *N_activepencolor, *N_activefillcolor, *N_selectedpencolor, *N_selectedfillcolor, *N_visitedpencolor, *N_visitedfillcolor, *N_deletedpencolor, *N_deletedfillcolor, *N_fontsize, *N_fontname, *N_fontcolor, *N_margin, *N_label, *N_xlabel, *N_nojustify, *N_style, *N_showboxes, *N_sides, *N_peripheries, *N_ordering, *N_orientation, *N_skew, *N_distortion, *N_fixed, *N_imagescale, *N_layer, *N_group, *N_comment, *N_vertices, *N_z, *N_penwidth, *N_gradientangle
288
289
290 //1 anqllp9sj7wo45w6bm11j8trn
291 // extern Agsym_t *E_weight, *E_minlen, *E_color, *E_fillcolor, *E_activepencolor, *E_activefillcolor, *E_selectedpencolor, *E_selectedfillcolor, *E_visitedpencolor, *E_visitedfillcolor, *E_deletedpencolor, *E_deletedfillcolor, *E_fontsize, *E_fontname, *E_fontcolor, *E_label, *E_xlabel, *E_dir, *E_style, *E_decorate, *E_showboxes, *E_arrowsz, *E_constr, *E_layer, *E_comment, *E_label_float, *E_samehead, *E_sametail, *E_arrowhead, *E_arrowtail, *E_headlabel, *E_taillabel, *E_labelfontsize, *E_labelfontname, *E_labelfontcolor, *E_labeldistance, *E_labelangle, *E_tailclip, *E_headclip, *E_penwidth
292
293
294 //1 bh0z9puipqw7gymjd5h5b8s6i
295 // extern struct fdpParms_s* fdp_parms
296
297
298
299
300 //3 ciez0pfggxdljedzsbklq49f0
301 // static inline point pointof(int x, int y)
302 public static Object pointof(Object... arg) {
303 UNSUPPORTED("8e4tj258yvfq5uhsdpk37n5eq"); // static inline point pointof(int x, int y)
304 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
305 UNSUPPORTED("c0j3k9xv06332q98k2pgpacto"); // point r;
306 UNSUPPORTED("12jimkrzqxavaie0cpapbx18c"); // r.x = x;
307 UNSUPPORTED("7ivmviysahgsc5nn9gtp7q2if"); // r.y = y;
308 UNSUPPORTED("a2hk6w52njqjx48nq3nnn2e5i"); // return r;
309 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
310
311 throw new UnsupportedOperationException();
312 }
313
314
315
316
317 //3 c1s4k85p1cdfn176o3uryeros
318 // static inline pointf pointfof(double x, double y)
319 public static ST_pointf pointfof(double x, double y) {
320 // WARNING!! STRUCT
321 return pointfof_w_(x, y).copy();
322 }
323 private static ST_pointf pointfof_w_(double x, double y) {
324 ENTERING("c1s4k85p1cdfn176o3uryeros","pointfof");
325 try {
326 final ST_pointf r = new ST_pointf();
327 r.setDouble("x", x);
328 r.setDouble("y", y);
329 return r;
330 } finally {
331 LEAVING("c1s4k85p1cdfn176o3uryeros","pointfof");
332 }
333 }
334
335
336
337
338 //3 7cufnfitrh935ew093mw0i4b7
339 // static inline box boxof(int llx, int lly, int urx, int ury)
340 public static Object boxof(Object... arg) {
341 UNSUPPORTED("3lzesfdd337h31jrlib1czocm"); // static inline box boxof(int llx, int lly, int urx, int ury)
342 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
343 UNSUPPORTED("52u27kayecy1i1e8bbo8f7s9r"); // box b;
344 UNSUPPORTED("cylhjlutoc0sc0uy7g98m9fb8"); // b.LL.x = llx, b.LL.y = lly;
345 UNSUPPORTED("242of6revxzx8hpe7yerrchz6"); // b.UR.x = urx, b.UR.y = ury;
346 UNSUPPORTED("2vmm1j57brhn455f8f3iyw6mo"); // return b;
347 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
348
349 throw new UnsupportedOperationException();
350 }
351
352
353
354
355
356
357
358
359 //3 1n5xl70wxuabyf97mclvilsm6
360 // static inline point add_point(point p, point q)
361 public static Object add_point(Object... arg) {
362 UNSUPPORTED("6iamka1fx8fk1rohzzse8phte"); // static inline point add_point(point p, point q)
363 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
364 UNSUPPORTED("c0j3k9xv06332q98k2pgpacto"); // point r;
365 UNSUPPORTED("3n2sizjd0civbzm6iq7su1s2p"); // r.x = p.x + q.x;
366 UNSUPPORTED("65ygdo31w09i5i6bd2f7azcd3"); // r.y = p.y + q.y;
367 UNSUPPORTED("a2hk6w52njqjx48nq3nnn2e5i"); // return r;
368 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
369
370 throw new UnsupportedOperationException();
371 }
372
373
374
375
376 //3 arrsbik9b5tnfcbzsm8gr2chx
377 // static inline pointf add_pointf(pointf p, pointf q)
378 public static ST_pointf add_pointf(final ST_pointf p, final ST_pointf q) {
379 // WARNING!! STRUCT
380 return add_pointf_w_(p.copy(), q.copy()).copy();
381 }
382 private static ST_pointf add_pointf_w_(final ST_pointf p, final ST_pointf q) {
383 ENTERING("arrsbik9b5tnfcbzsm8gr2chx","add_pointf");
384 try {
385 final ST_pointf r = new ST_pointf();
386 r.setDouble("x", p.x + q.x);
387 r.setDouble("y", p.y + q.y);
388 return r;
389 } finally {
390 LEAVING("arrsbik9b5tnfcbzsm8gr2chx","add_pointf");
391 }
392 }
393
394
395
396
397 //3 ai2dprak5y6obdsflguh5qbd7
398 // static inline point sub_point(point p, point q)
399 public static Object sub_point(Object... arg) {
400 UNSUPPORTED("cd602849h0bce8lu9xegka0ia"); // static inline point sub_point(point p, point q)
401 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
402 UNSUPPORTED("c0j3k9xv06332q98k2pgpacto"); // point r;
403 UNSUPPORTED("4q4q9dveah93si8ajfv59gz27"); // r.x = p.x - q.x;
404 UNSUPPORTED("9f90ik0o2yqhanzntpy3d2ydy"); // r.y = p.y - q.y;
405 UNSUPPORTED("a2hk6w52njqjx48nq3nnn2e5i"); // return r;
406 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
407
408 throw new UnsupportedOperationException();
409 }
410
411
412
413
414 //3 16f6pyogcv3j7n2p0n8giqqgh
415 // static inline pointf sub_pointf(pointf p, pointf q)
416 public static Object sub_pointf(Object... arg) {
417 UNSUPPORTED("dmufj44lddsnj0wjyxsg2fcso"); // static inline pointf sub_pointf(pointf p, pointf q)
418 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
419 UNSUPPORTED("cvexv13y9fq49v0j4d5t4cm9f"); // pointf r;
420 UNSUPPORTED("4q4q9dveah93si8ajfv59gz27"); // r.x = p.x - q.x;
421 UNSUPPORTED("9f90ik0o2yqhanzntpy3d2ydy"); // r.y = p.y - q.y;
422 UNSUPPORTED("a2hk6w52njqjx48nq3nnn2e5i"); // return r;
423 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
424
425 throw new UnsupportedOperationException();
426 }
427
428
429
430
431 //3 9k50jgrhc4f9824vf8ony74rw
432 // static inline point mid_point(point p, point q)
433 public static Object mid_point(Object... arg) {
434 UNSUPPORTED("evy44tdsmu3erff9dp2x835u2"); // static inline point mid_point(point p, point q)
435 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
436 UNSUPPORTED("c0j3k9xv06332q98k2pgpacto"); // point r;
437 UNSUPPORTED("1a6p6fm57o0wt5ze2btsx06c7"); // r.x = (p.x + q.x) / 2;
438 UNSUPPORTED("1kbj5tgdmfi6kf4jgg6skhr6e"); // r.y = (p.y + q.y) / 2;
439 UNSUPPORTED("a2hk6w52njqjx48nq3nnn2e5i"); // return r;
440 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
441
442 throw new UnsupportedOperationException();
443 }
444
445
446
447
448 //3 59c4f7im0ftyowhnzzq2v9o1x
449 // static inline pointf mid_pointf(pointf p, pointf q)
450 public static Object mid_pointf(Object... arg) {
451 UNSUPPORTED("381o63o9kb04d7gzg65v0r3q"); // static inline pointf mid_pointf(pointf p, pointf q)
452 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
453 UNSUPPORTED("cvexv13y9fq49v0j4d5t4cm9f"); // pointf r;
454 UNSUPPORTED("c5vboetlr3mf43wns7iik6m1w"); // r.x = (p.x + q.x) / 2.;
455 UNSUPPORTED("bcdf562ldr3bjn78hcay5xd63"); // r.y = (p.y + q.y) / 2.;
456 UNSUPPORTED("a2hk6w52njqjx48nq3nnn2e5i"); // return r;
457 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
458
459 throw new UnsupportedOperationException();
460 }
461
462
463
464
465 //3 5r18p38gisvcx3zsvbb9saixx
466 // static inline pointf interpolate_pointf(double t, pointf p, pointf q)
467 public static Object interpolate_pointf(Object... arg) {
468 UNSUPPORTED("894yimn33kmtm454llwdaotu8"); // static inline pointf interpolate_pointf(double t, pointf p, pointf q)
469 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
470 UNSUPPORTED("ef2acl8wa2ooqcb5vz3098maz"); // pointf r;
471 UNSUPPORTED("5tpwuyf5iidesy80v8o4nwkmk"); // r.x = p.x + t * (q.x - p.x);
472 UNSUPPORTED("ewnrc5uloj3w5jbmsjcn3wja0"); // r.y = p.y + t * (q.y - p.y);
473 UNSUPPORTED("a2hk6w52njqjx48nq3nnn2e5i"); // return r;
474 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
475
476 throw new UnsupportedOperationException();
477 }
478
479
480
481
482 //3 bxzrv2ghq04qk5cbyy68s4mol
483 // static inline point exch_xy(point p)
484 public static Object exch_xy(Object... arg) {
485 UNSUPPORTED("2vxya0v2fzlv5e0vjaa8d414"); // static inline point exch_xy(point p)
486 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
487 UNSUPPORTED("c0j3k9xv06332q98k2pgpacto"); // point r;
488 UNSUPPORTED("60cojdwc2h7f0m51s9jdwvup7"); // r.x = p.y;
489 UNSUPPORTED("evp2x66oa4s1tlnc0ytxq2qbq"); // r.y = p.x;
490 UNSUPPORTED("a2hk6w52njqjx48nq3nnn2e5i"); // return r;
491 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
492
493 throw new UnsupportedOperationException();
494 }
495
496
497
498
499 //3 9lt3e03tac6h6sydljrcws8fd
500 // static inline pointf exch_xyf(pointf p)
501 public static Object exch_xyf(Object... arg) {
502 UNSUPPORTED("8qamrobrqi8jsvvfrxkimrsnw"); // static inline pointf exch_xyf(pointf p)
503 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
504 UNSUPPORTED("cvexv13y9fq49v0j4d5t4cm9f"); // pointf r;
505 UNSUPPORTED("60cojdwc2h7f0m51s9jdwvup7"); // r.x = p.y;
506 UNSUPPORTED("evp2x66oa4s1tlnc0ytxq2qbq"); // r.y = p.x;
507 UNSUPPORTED("a2hk6w52njqjx48nq3nnn2e5i"); // return r;
508 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
509
510 throw new UnsupportedOperationException();
511 }
512
513
514
515
516 //3 8l9qhieokthntzdorlu5zn29b
517 // static inline box box_bb(box b0, box b1)
518 public static Object box_bb(Object... arg) {
519 UNSUPPORTED("36et5gmnjrby6o7bq9sgh1hx6"); // static inline box box_bb(box b0, box b1)
520 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
521 UNSUPPORTED("52u27kayecy1i1e8bbo8f7s9r"); // box b;
522 UNSUPPORTED("8mr2c9xitsqi8z1plbp7ox1hu"); // b.LL.x = MIN(b0.LL.x, b1.LL.x);
523 UNSUPPORTED("2egu55ef4u1i03nwz01k7kcrl"); // b.LL.y = MIN(b0.LL.y, b1.LL.y);
524 UNSUPPORTED("9n6ei3odbgefwfxvql9whcpe"); // b.UR.x = MAX(b0.UR.x, b1.UR.x);
525 UNSUPPORTED("19ocysbuh4pxyft2bqhyhigr1"); // b.UR.y = MAX(b0.UR.y, b1.UR.y);
526 UNSUPPORTED("2vmm1j57brhn455f8f3iyw6mo"); // return b;
527 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
528
529 throw new UnsupportedOperationException();
530 }
531
532
533
534
535 //3 clws9h3bbjm0lw3hexf8nl4c4
536 // static inline boxf boxf_bb(boxf b0, boxf b1)
537 public static Object boxf_bb(Object... arg) {
538 UNSUPPORTED("dyrqu4ww9osr9c86gqgmifcp6"); // static inline boxf boxf_bb(boxf b0, boxf b1)
539 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
540 UNSUPPORTED("c57pq0f87j6dnbcvygu7v6k84"); // boxf b;
541 UNSUPPORTED("8mr2c9xitsqi8z1plbp7ox1hu"); // b.LL.x = MIN(b0.LL.x, b1.LL.x);
542 UNSUPPORTED("2egu55ef4u1i03nwz01k7kcrl"); // b.LL.y = MIN(b0.LL.y, b1.LL.y);
543 UNSUPPORTED("9n6ei3odbgefwfxvql9whcpe"); // b.UR.x = MAX(b0.UR.x, b1.UR.x);
544 UNSUPPORTED("19ocysbuh4pxyft2bqhyhigr1"); // b.UR.y = MAX(b0.UR.y, b1.UR.y);
545 UNSUPPORTED("2vmm1j57brhn455f8f3iyw6mo"); // return b;
546 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
547
548 throw new UnsupportedOperationException();
549 }
550
551
552
553
554 //3 bit6ycxo1iqd2al92y8gkzlvb
555 // static inline box box_intersect(box b0, box b1)
556 public static Object box_intersect(Object... arg) {
557 UNSUPPORTED("34gv28cldst09bl71itjgviue"); // static inline box box_intersect(box b0, box b1)
558 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
559 UNSUPPORTED("52u27kayecy1i1e8bbo8f7s9r"); // box b;
560 UNSUPPORTED("9slu7bixuymxttjic76ha2nl2"); // b.LL.x = MAX(b0.LL.x, b1.LL.x);
561 UNSUPPORTED("3uv943c2f82yuif249pf5azob"); // b.LL.y = MAX(b0.LL.y, b1.LL.y);
562 UNSUPPORTED("74tf5h16bc9zabq3s3dyny543"); // b.UR.x = MIN(b0.UR.x, b1.UR.x);
563 UNSUPPORTED("d99gcv3i7xes7y7rqf8ii20ux"); // b.UR.y = MIN(b0.UR.y, b1.UR.y);
564 UNSUPPORTED("2vmm1j57brhn455f8f3iyw6mo"); // return b;
565 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
566
567 throw new UnsupportedOperationException();
568 }
569
570
571
572
573 //3 8gfybie7k6pgb3o1a6llgpwng
574 // static inline boxf boxf_intersect(boxf b0, boxf b1)
575 public static Object boxf_intersect(Object... arg) {
576 UNSUPPORTED("ape22b8z6jfg17gvo42hok9eb"); // static inline boxf boxf_intersect(boxf b0, boxf b1)
577 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
578 UNSUPPORTED("c57pq0f87j6dnbcvygu7v6k84"); // boxf b;
579 UNSUPPORTED("9slu7bixuymxttjic76ha2nl2"); // b.LL.x = MAX(b0.LL.x, b1.LL.x);
580 UNSUPPORTED("3uv943c2f82yuif249pf5azob"); // b.LL.y = MAX(b0.LL.y, b1.LL.y);
581 UNSUPPORTED("74tf5h16bc9zabq3s3dyny543"); // b.UR.x = MIN(b0.UR.x, b1.UR.x);
582 UNSUPPORTED("d99gcv3i7xes7y7rqf8ii20ux"); // b.UR.y = MIN(b0.UR.y, b1.UR.y);
583 UNSUPPORTED("2vmm1j57brhn455f8f3iyw6mo"); // return b;
584 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
585
586 throw new UnsupportedOperationException();
587 }
588
589
590
591
592 //3 7z8j2quq65govaaejrz7b4cvb
593 // static inline int box_overlap(box b0, box b1)
594 public static Object box_overlap(Object... arg) {
595 UNSUPPORTED("1e9k599x7ygct7r4cfdxlk9u9"); // static inline int box_overlap(box b0, box b1)
596 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
597 UNSUPPORTED("7a9wwpu7dhdphd08y1ecw54w5"); // return OVERLAP(b0, b1);
598 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
599
600 throw new UnsupportedOperationException();
601 }
602
603
604
605
606 //3 4z0suuut2acsay5m8mg9dqjdu
607 // static inline int boxf_overlap(boxf b0, boxf b1)
608 public static Object boxf_overlap(Object... arg) {
609 UNSUPPORTED("905nejsewihwhhc3bhnrz9nwo"); // static inline int boxf_overlap(boxf b0, boxf b1)
610 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
611 UNSUPPORTED("7a9wwpu7dhdphd08y1ecw54w5"); // return OVERLAP(b0, b1);
612 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
613
614 throw new UnsupportedOperationException();
615 }
616
617
618
619
620 //3 dd34swz5rmdgu3a2np2a4h1dy
621 // static inline int box_contains(box b0, box b1)
622 public static Object box_contains(Object... arg) {
623 UNSUPPORTED("aputfc30fjkvy6jx4otljaczq"); // static inline int box_contains(box b0, box b1)
624 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
625 UNSUPPORTED("87ap80vrh2a4gpprbxr33lrg3"); // return CONTAINS(b0, b1);
626 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
627
628 throw new UnsupportedOperationException();
629 }
630
631
632
633
634 //3 8laj1bspbu2i1cjd9upr7xt32
635 // static inline int boxf_contains(boxf b0, boxf b1)
636 public static Object boxf_contains(Object... arg) {
637 UNSUPPORTED("7ccnttkiwt834yfyw0evcm18v"); // static inline int boxf_contains(boxf b0, boxf b1)
638 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
639 UNSUPPORTED("87ap80vrh2a4gpprbxr33lrg3"); // return CONTAINS(b0, b1);
640 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
641
642 throw new UnsupportedOperationException();
643 }
644
645
646
647
648 //3 4wf5swkz24xx51ja2dynbycu1
649 // static inline pointf perp (pointf p)
650 public static Object perp(Object... arg) {
651 UNSUPPORTED("567wpqlg9rv63ynyvxd9sgkww"); // static inline pointf perp (pointf p)
652 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
653 UNSUPPORTED("cvexv13y9fq49v0j4d5t4cm9f"); // pointf r;
654 UNSUPPORTED("2fyydy6t6yifjsczccsb9szeg"); // r.x = -p.y;
655 UNSUPPORTED("evp2x66oa4s1tlnc0ytxq2qbq"); // r.y = p.x;
656 UNSUPPORTED("a2hk6w52njqjx48nq3nnn2e5i"); // return r;
657 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
658
659 throw new UnsupportedOperationException();
660 }
661
662
663
664
665 //3 6dtlpzv4mvgzb9o0b252yweuv
666 // static inline pointf scale (double c, pointf p)
667 public static Object scale(Object... arg) {
668 UNSUPPORTED("c1ngytew34bmkdb7vps5h3dh8"); // static inline pointf scale (double c, pointf p)
669 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
670 UNSUPPORTED("cvexv13y9fq49v0j4d5t4cm9f"); // pointf r;
671 UNSUPPORTED("dznf7nac14snww4usquyd6r3r"); // r.x = c * p.x;
672 UNSUPPORTED("33kk73m8vjcux5tnjl8co2pe6"); // r.y = c * p.y;
673 UNSUPPORTED("a2hk6w52njqjx48nq3nnn2e5i"); // return r;
674 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
675
676 throw new UnsupportedOperationException();
677 }
678
679
680
681
682 //3 7udip7yo3ddkp9ocjftokpm9y
683 // void* init_xdot (Agraph_t* g)
684 public static __ptr__ init_xdot(ST_Agraph_s g) {
685 ENTERING("7udip7yo3ddkp9ocjftokpm9y","init_xdot");
686 try {
687 CString p;
688 xdot xd = null;
689 if (N((p = agget(g, new CString("_background")))!=null && p.charAt(0)!='\0')) {
690 if (N((p = agget(g, new CString("_draw_")))!=null && p.charAt(0)!='\0')) {
691 return null;
692 }
693 }
694 UNSUPPORTED("16fu50ud9qppkwxzdy0nde3lm"); // xd = parseXDotF (p, NULL, sizeof (exdot_op));
695 UNSUPPORTED("1x2xrqe9on9i2dlb07gj02n65"); // if (!xd) {
696 UNSUPPORTED("b4emzm37tsv7edlai0fhwoul1"); // agerr(AGWARN, "Could not parse \"_background\" attribute in graph %s\n", agnameof(g));
697 UNSUPPORTED("72v3r8ey2hvh1o9qskrji8im4"); // agerr(AGPREV, " \"%s\"\n", p);
698 UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); // }
699 UNSUPPORTED("jujeh27uxxeyas8n09tnlnbu"); // return xd;
700 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
701
702 throw new UnsupportedOperationException();
703 } finally {
704 LEAVING("7udip7yo3ddkp9ocjftokpm9y","init_xdot");
705 }
706 }
707
708
709 //1 2mlc0h4j6tfwqvwqa6hyvz4o5
710 // static char *defaultlinestyle[3] =
711
712
713
714
715 //3 7d00uua41zvsvxe77gttfnmy
716 // obj_state_t* push_obj_state(GVJ_t *job)
717 public static Object push_obj_state(Object... arg) {
718 UNSUPPORTED("epyu2q1m9hozws9k2sjri40sa"); // obj_state_t* push_obj_state(GVJ_t *job)
719 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
720 UNSUPPORTED("e468kl46d9gv50x67guzl3gvx"); // obj_state_t *obj, *parent;
721 UNSUPPORTED("4iwsnw8sdl14e952mea0vbirj"); // if (! (obj = zmalloc(sizeof(obj_state_t))))
722 UNSUPPORTED("ehd3dhcaq9t6u9bppvv8uk9pq"); // agerr(AGERR, "no memory from zmalloc()\n");
723 UNSUPPORTED("4sj5l7lrob40gejr8efmsh7jd"); // parent = obj->parent = job->obj;
724 UNSUPPORTED("cymxgixtrn3cty2dfm0f5n993"); // job->obj = obj;
725 UNSUPPORTED("2yxuvhwao8vnwsdql2towwn8a"); // if (parent) {
726 UNSUPPORTED("at60efb0o2t6r5j89rkvnvmmz"); // obj->pencolor = parent->pencolor; /* default styles to parent's style */
727 UNSUPPORTED("2i4ng2pvtum10vrqr1k5jmdhy"); // obj->fillcolor = parent->fillcolor;
728 UNSUPPORTED("er3gsvbhtbl0f2njgt05z1ula"); // obj->pen = parent->pen;
729 UNSUPPORTED("e20x3563jh67vt1lll5yvztoa"); // obj->fill = parent->fill;
730 UNSUPPORTED("1vf36pbannt87rqhdedfp9tzg"); // obj->penwidth = parent->penwidth;
731 UNSUPPORTED("bm8svjgexuo58jrlla94c7lmf"); // obj->gradient_angle = parent->gradient_angle;
732 UNSUPPORTED("96a2xfansfphgn02ik2pzbgsk"); // obj->stopcolor = parent->stopcolor;
733 UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); // }
734 UNSUPPORTED("1nyzbeonram6636b1w955bypn"); // else {
735 UNSUPPORTED("2hztnghjdrq4iblkkiw28e6lp"); // /* obj->pencolor = NULL */
736 UNSUPPORTED("f1vt7k6jpnvkr3l5hnrufbo7n"); // /* obj->fillcolor = NULL */
737 UNSUPPORTED("1d8vwhh78wsjnjv3b66v7k71f"); // obj->pen = PEN_SOLID;
738 UNSUPPORTED("327rx5pyklem7b31hdikywlqb"); // obj->fill = FILL_NONE;
739 UNSUPPORTED("8jey9s92w1zm7gze74a8q4dp6"); // obj->penwidth = 1.;
740 UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); // }
741 UNSUPPORTED("5ps6tm8zierqwp3ptuy9ntbwr"); // return obj;
742 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
743
744 throw new UnsupportedOperationException();
745 }
746
747
748
749
750 //3 fky2di67il17v6esshx73u77
751 // void pop_obj_state(GVJ_t *job)
752 public static Object pop_obj_state(Object... arg) {
753 UNSUPPORTED("b5pcmjz1yx45rkkn6ihfese3y"); // void pop_obj_state(GVJ_t *job)
754 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
755 UNSUPPORTED("84llcpxtvxaggx841n2t03850"); // obj_state_t *obj = job->obj;
756 UNSUPPORTED("cvrjqjl5r3cwa1izxxgzgzrap"); // assert(obj);
757 UNSUPPORTED("1ngdn0iitk41tdtce8t4ip3nx"); // free(obj->id);
758 UNSUPPORTED("4di6e9e0vvr37qbzgje4ludyv"); // free(obj->url);
759 UNSUPPORTED("11bs83ywfvb5bc5pmq26xjbe1"); // free(obj->labelurl);
760 UNSUPPORTED("4iclkuumd2z23hcz3vtlmij9v"); // free(obj->tailurl);
761 UNSUPPORTED("7w1xqpnr4u8nds6opogcbvnya"); // free(obj->headurl);
762 UNSUPPORTED("b8dl0ih21bsnryi1pxe5tgqjp"); // free(obj->tooltip);
763 UNSUPPORTED("9l3frodyf6j4nlcj24te5nrwp"); // free(obj->labeltooltip);
764 UNSUPPORTED("tl0hkuk7y0kr8oegohd0xg83"); // free(obj->tailtooltip);
765 UNSUPPORTED("8td9te5re4sfu60jumgh7qvpd"); // free(obj->headtooltip);
766 UNSUPPORTED("azi0jshcues9wq2154bdnsfdu"); // free(obj->target);
767 UNSUPPORTED("1bv7lwtfb303gq0pr61b5ie5e"); // free(obj->labeltarget);
768 UNSUPPORTED("36xt1x2kwfa0fj8scj17o65hk"); // free(obj->tailtarget);
769 UNSUPPORTED("eikpmw4wrmt4519cz2ixxv4hn"); // free(obj->headtarget);
770 UNSUPPORTED("5g6xu70y47jbf9u1izz9d7lqm"); // free(obj->url_map_p);
771 UNSUPPORTED("9d3byqiz2l6m12o73jh9el0av"); // free(obj->url_bsplinemap_p);
772 UNSUPPORTED("e2337piojwep89s9v6hvret9f"); // free(obj->url_bsplinemap_n);
773 UNSUPPORTED("36q9rct12zy148w6hckc97kcj"); // job->obj = obj->parent;
774 UNSUPPORTED("8are8jqzwfj87yj4tkaohi3tf"); // free(obj);
775 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
776
777 throw new UnsupportedOperationException();
778 }
779
780
781
782
783 //3 z4e7tnt40d3c4kv5u7cyhl9x
784 // int initMapData (GVJ_t* job, char* lbl, char* url, char* tooltip, char* target, char *id, void* gobj)
785 public static Object initMapData(Object... arg) {
786 UNSUPPORTED("etrjsq5w49uo9jq5pzifohkqw"); // int
787 UNSUPPORTED("1r7179s3ntgv42pdh8lf7ri6p"); // initMapData (GVJ_t* job, char* lbl, char* url, char* tooltip, char* target, char *id,
788 UNSUPPORTED("us8je5vaodb65uh2al1w1c3h"); // void* gobj)
789 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
790 UNSUPPORTED("84llcpxtvxaggx841n2t03850"); // obj_state_t *obj = job->obj;
791 UNSUPPORTED("12bpksga44s9sfl7x8xn2rt2k"); // int flags = job->flags;
792 UNSUPPORTED("5x4jq493dtdcx7z85qo0l2vwm"); // int assigned = 0;
793 UNSUPPORTED("9c0gci8o1tk34epj1ssmue4dx"); // if ((flags & (1<<15)) && lbl)
794 UNSUPPORTED("6hfoiuvpq4uvwmw4pxqqcjro6"); // obj->label = lbl;
795 UNSUPPORTED("ekhzvq8l2u2frs2tl01cuf71s"); // if (flags & (1<<16)) {
796 UNSUPPORTED("5u6uuo67mo3c4f2ojvfudltt5"); // obj->id = strdup_and_subst_obj(id, gobj);
797 UNSUPPORTED("rss1781s9o1r7w5npkmc0bmg"); // if (url && url[0]) {
798 UNSUPPORTED("1sruesngpnjzqoec5jwxwxwj8"); // obj->url = strdup_and_subst_obj(url, gobj);
799 UNSUPPORTED("e9av6ob52m06dxds7d0uontab"); // assigned = 1;
800 UNSUPPORTED("4mhlpjofolwivhm0tl8cxznly"); // }
801 UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); // }
802 UNSUPPORTED("ep9t9tvrtouwjd7pulp378fzi"); // if (flags & (1<<22)) {
803 UNSUPPORTED("ccrueeib4dlvmyrlpzxl572jv"); // if (tooltip && tooltip[0]) {
804 UNSUPPORTED("96zad8kmhopk7wo5xdyxacpl0"); // obj->tooltip = strdup_and_subst_obj(tooltip, gobj);
805 UNSUPPORTED("3fiobhu1ragr2f099ghsonx1h"); // obj->explicit_tooltip = NOT(0);
806 UNSUPPORTED("e9av6ob52m06dxds7d0uontab"); // assigned = 1;
807 UNSUPPORTED("4mhlpjofolwivhm0tl8cxznly"); // }
808 UNSUPPORTED("a3azuqia2enebzovqhpnhquvj"); // else if (obj->label) {
809 UNSUPPORTED("2l7dzbw9rqphv63paqq8wvbrc"); // obj->tooltip = strdup(obj->label);
810 UNSUPPORTED("e9av6ob52m06dxds7d0uontab"); // assigned = 1;
811 UNSUPPORTED("4mhlpjofolwivhm0tl8cxznly"); // }
812 UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); // }
813 UNSUPPORTED("4lne2bv62nrpmlhj27vxjy1f6"); // if ((flags & (1<<23)) && target && target[0]) {
814 UNSUPPORTED("ebgucy53hwmcaz1m04q7dolf4"); // obj->target = strdup_and_subst_obj(target, gobj);
815 UNSUPPORTED("3wreyz9de84yyv079xk4ujkv3"); // assigned = 1;
816 UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); // }
817 UNSUPPORTED("2zpk6us1pyyltxkpge8hnuyn2"); // return assigned;
818 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
819
820 throw new UnsupportedOperationException();
821 }
822
823
824
825
826 //3 d74beympg4wulmk8p6lh8daql
827 // static void layerPagePrefix (GVJ_t* job, agxbuf* xb)
828 public static Object layerPagePrefix(Object... arg) {
829 UNSUPPORTED("e2z2o5ybnr5tgpkt8ty7hwan1"); // static void
830 UNSUPPORTED("6djudoziuh8bcxd8oxm1qch58"); // layerPagePrefix (GVJ_t* job, agxbuf* xb)
831 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
832 UNSUPPORTED("8gm1i2tpkqevee6guh43vbzjg"); // char buf[128]; /* large enough for 2 decimal 64-bit ints and "page_," */
833 UNSUPPORTED("cxr89wmz3j80aqc8410masvdn"); // if (job->layerNum > 1 && (job->flags & (1<<6))) {
834 UNSUPPORTED("bmg9rcy7b1x6gh95ojpwla6i8"); // agxbput (xb, job->gvc->layerIDs[job->layerNum]);
835 UNSUPPORTED("7eax6z8h47h2x1xxyqr1tkluc"); // ((((xb)->ptr >= (xb)->eptr) ? agxbmore(xb,1) : 0), (int)(*(xb)->ptr++ = ((unsigned char)'_')));
836 UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); // }
837 UNSUPPORTED("age7jtxi8adhl9jz4ne7xdp80"); // if ((job->pagesArrayElem.x > 0) || (job->pagesArrayElem.x > 0)) {
838 UNSUPPORTED("cnwkbrftohdks7u707na56420"); // sprintf (buf, "page%d,%d_", job->pagesArrayElem.x, job->pagesArrayElem.y);
839 UNSUPPORTED("2i6wv75y4aki5i8plhbvy276v"); // agxbput (xb, buf);
840 UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); // }
841 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
842
843 throw new UnsupportedOperationException();
844 }
845
846
847
848
849 //3 3uk5ht4qhgq91m46lw7xtdx8q
850 // char* getObjId (GVJ_t* job, void* obj, agxbuf* xb)
851 public static Object getObjId(Object... arg) {
852 UNSUPPORTED("cqm25rponse4rsi686sbn1lo0"); // char*
853 UNSUPPORTED("cxy7pg7aplrpxxilr17uxmir1"); // getObjId (GVJ_t* job, void* obj, agxbuf* xb)
854 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
855 UNSUPPORTED("e7icadj7xe1r3gypdnhaaqh0z"); // char* id;
856 UNSUPPORTED("c34mxcvhpn9flzo7mx3jta9v6"); // graph_t* root = job->gvc->g;
857 UNSUPPORTED("4vz75ugb6dvgui5r4b3vha9w5"); // char* gid = GD_drawing(root)->id;
858 UNSUPPORTED("b6fudxfj7yzgmij9ar0axs3cs"); // long idnum;
859 UNSUPPORTED("1y49dkdztswfqp8gc2fsgsfjt"); // char* pfx;
860 UNSUPPORTED("42dnqesv46qi3oy4hhv4xtngt"); // char buf[64]; /* large enough for a decimal 64-bit int */
861 UNSUPPORTED("eyzyn1uwtp0eb367awnyqsnu9"); // layerPagePrefix (job, xb);
862 UNSUPPORTED("4ivnihqhlqxt5urta85bj8cvo"); // id = agget(obj, "id");
863 UNSUPPORTED("b5lnfc5x2s74jwjfi17neykdl"); // if (id && (*id != '\0')) {
864 UNSUPPORTED("h8d3b8qgeb1asgpckee022dh"); // agxbput (xb, id);
865 UNSUPPORTED("7q3mbxgjfr96cttjsdev54twj"); // return (((((xb)->ptr >= (xb)->eptr) ? agxbmore(xb,1) : 0), (int)(*(xb)->ptr++ = ((unsigned char)'\0'))),(char*)((xb)->ptr = (xb)->buf));
866 UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); // }
867 UNSUPPORTED("442w4uruys9gula2urpooqejy"); // if ((obj != root) && gid) {
868 UNSUPPORTED("b58nurhwbw66quisr070n2wi8"); // agxbput (xb, gid);
869 UNSUPPORTED("7eax6z8h47h2x1xxyqr1tkluc"); // ((((xb)->ptr >= (xb)->eptr) ? agxbmore(xb,1) : 0), (int)(*(xb)->ptr++ = ((unsigned char)'_')));
870 UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); // }
871 UNSUPPORTED("91broiy562bqiwualvjbh1l0s"); // switch (agobjkind(obj)) {
872 UNSUPPORTED("eyna33dobiebmtd0nihpgura4"); // case AGRAPH:
873 UNSUPPORTED("250ofmvxldcwzahtn4zl83wcq"); // idnum = AGSEQ(obj);
874 UNSUPPORTED("7ivrapxz56e3axqq0wlp2c84o"); // if (root == obj)
875 UNSUPPORTED("8i5eqmk1n84h3oisk8qmr80fk"); // pfx = "graph";
876 UNSUPPORTED("9352ql3e58qs4fzapgjfrms2s"); // else
877 UNSUPPORTED("eghyuptvw5kbqlkky78xkyqch"); // pfx = "clust";
878 UNSUPPORTED("6aw91xzjmqvmtdvt1di23af8y"); // break;
879 UNSUPPORTED("6x7ztvlgv763oeop84udp1egg"); // case AGNODE:
880 UNSUPPORTED("dioszphfdf02j4mzkk1orixil"); // idnum = AGSEQ((Agnode_t*)obj);
881 UNSUPPORTED("24c6tv0vcpu7u1sf37b5vd6bn"); // pfx = "node";
882 UNSUPPORTED("6aw91xzjmqvmtdvt1di23af8y"); // break;
883 UNSUPPORTED("2dqikmmb6ag0anvbzo5tybf1r"); // case AGEDGE:
884 UNSUPPORTED("88j50o42ltjx7x5kljmhtaimc"); // idnum = AGSEQ((Agedge_t*)obj);
885 UNSUPPORTED("8dj6qoxln9rok8xeaycmhigg3"); // pfx = "edge";
886 UNSUPPORTED("6aw91xzjmqvmtdvt1di23af8y"); // break;
887 UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); // }
888 UNSUPPORTED("doz63noywyk8negzqyp5wtn7y"); // agxbput (xb, pfx);
889 UNSUPPORTED("9arliqoqxm070wy9ayr807ydh"); // sprintf (buf, "%ld", idnum);
890 UNSUPPORTED("4nzvose05k5ompo6nn67jyf82"); // agxbput (xb, buf);
891 UNSUPPORTED("ersrvcvo8qkfouomz222hiih7"); // return (((((xb)->ptr >= (xb)->eptr) ? agxbmore(xb,1) : 0), (int)(*(xb)->ptr++ = ((unsigned char)'\0'))),(char*)((xb)->ptr = (xb)->buf));
892 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
893
894 throw new UnsupportedOperationException();
895 }
896
897
898
899
900 //3 dcom8r4kkrsi0tbps20sjm7rl
901 // static void initObjMapData (GVJ_t* job, textlabel_t *lab, void* gobj)
902 public static Object initObjMapData(Object... arg) {
903 UNSUPPORTED("e2z2o5ybnr5tgpkt8ty7hwan1"); // static void
904 UNSUPPORTED("ezkgjtfltwmwf154o793aps7z"); // initObjMapData (GVJ_t* job, textlabel_t *lab, void* gobj)
905 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
906 UNSUPPORTED("4m1ejpxv77loq6ojxpmbi77gc"); // char* lbl;
907 UNSUPPORTED("dr7hyuwqwq1d5pbc066tdwb5g"); // char* url = agget(gobj, "href");
908 UNSUPPORTED("9eonbfqft5myxd7s5xqwvv974"); // char* tooltip = agget(gobj, "tooltip");
909 UNSUPPORTED("5tk1r0qbghssa155we7canz54"); // char* target = agget(gobj, "target");
910 UNSUPPORTED("e7icadj7xe1r3gypdnhaaqh0z"); // char* id;
911 UNSUPPORTED("h0or3v13348vfl22jqz895yc"); // unsigned char buf[128];
912 UNSUPPORTED("9gou5otj6s39l2cbyc8i5i5lq"); // agxbuf xb;
913 UNSUPPORTED("ci65k77x1b3nq6luu69s87oup"); // agxbinit(&xb, 128, buf);
914 UNSUPPORTED("e1z56ssmce7u8j50hn74nzs06"); // if (lab) lbl = lab->text;
915 UNSUPPORTED("bw2gbd060avck8ivr43eed32t"); // else lbl = NULL;
916 UNSUPPORTED("9kl6bihhj6lqk5907u9vx0svh"); // if (!url || !*url) /* try URL as an alias for href */
917 UNSUPPORTED("5x0bbp126wunx54k3b5z6kqiv"); // url = agget(gobj, "URL");
918 UNSUPPORTED("5n6h8udz66glqsnvzl6q0ax4d"); // id = getObjId (job, gobj, &xb);
919 UNSUPPORTED("5eb4m9ppzio68im6rq3z9owdi"); // initMapData (job, lbl, url, tooltip, target, id, gobj);
920 UNSUPPORTED("1at5m9ctjn3ukv5gqtfswik02"); // agxbfree(&xb);
921 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
922
923 throw new UnsupportedOperationException();
924 }
925
926
927
928
929 //3 hjkaeebrodvjebhg1hpg9z5e
930 // static void map_point(GVJ_t *job, pointf pf)
931 public static Object map_point(Object... arg) {
932 UNSUPPORTED("8blzxhihaqxozyztu9fj7nshg"); // static void map_point(GVJ_t *job, pointf pf)
933 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
934 UNSUPPORTED("84llcpxtvxaggx841n2t03850"); // obj_state_t *obj = job->obj;
935 UNSUPPORTED("12bpksga44s9sfl7x8xn2rt2k"); // int flags = job->flags;
936 UNSUPPORTED("aukx8c3dz83p6cpnh0fhhnqo8"); // pointf *p;
937 UNSUPPORTED("6ic0ku7wr32jsf5j0pwkrzq8j"); // if (flags & ((1<<16) | (1<<22))) {
938 UNSUPPORTED("68o2j7ic39aasjk49deprnnhh"); // if (flags & (1<<17)) {
939 UNSUPPORTED("69ud33lfpzxun6ls6bpequzo8"); // obj->url_map_shape = MAP_RECTANGLE;
940 UNSUPPORTED("d7uo4fiq8is4wmoeklxb9lrhm"); // obj->url_map_n = 2;
941 UNSUPPORTED("flupwh3kosf3fkhkxllllt1"); // }
942 UNSUPPORTED("8k75h069sv2k9b6tgz77dscwd"); // else {
943 UNSUPPORTED("5k8t4lz63jq26u2xqeoskhen7"); // obj->url_map_shape = MAP_POLYGON;
944 UNSUPPORTED("ah8hfbgy2ofsubklkazu04w4d"); // obj->url_map_n = 4;
945 UNSUPPORTED("flupwh3kosf3fkhkxllllt1"); // }
946 UNSUPPORTED("9wnyoic97gd28arr56l0i8iy3"); // free(obj->url_map_p);
947 UNSUPPORTED("ec0oubjt8fhapkogfpg8s7y13"); // obj->url_map_p = p = (pointf*)zmalloc((obj->url_map_n)*sizeof(pointf));
948 UNSUPPORTED("d7tqa8sc5yn0805hga1a0lhy2"); // (p[0].x = pf.x - 3, p[0].y = pf.y - 3, p[1].x = pf.x + 3, p[1].y = pf.y + 3);
949 UNSUPPORTED("cnadzqqicrskcdzko360llcg5"); // if (! (flags & (1<<13)))
950 UNSUPPORTED("9626u9a6bmyb4pqydfy9oe48w"); // gvrender_ptf_A(job, p, p, 2);
951 UNSUPPORTED("3qt79u8muuulxatmo48vjk6r3"); // if (! (flags & (1<<17)))
952 UNSUPPORTED("e0f10b7obog3b7z2tra14ajtx"); // rect2poly(p);
953 UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); // }
954 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
955
956 throw new UnsupportedOperationException();
957 }
958
959
960
961
962 //3 dlyzfsrfmu4fl7l50uzdvu3mc
963 // static char **checkClusterStyle(graph_t* sg, int *flagp)
964 public static Object checkClusterStyle(Object... arg) {
965 UNSUPPORTED("4fe1xtiblsit7upcg8o8vn11n"); // static char **checkClusterStyle(graph_t* sg, int *flagp)
966 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
967 UNSUPPORTED("byo308l1rmve5rmx8wt32juux"); // char *style;
968 UNSUPPORTED("1m69eum6fcxl62kbxksis88or"); // char **pstyle = 0;
969 UNSUPPORTED("1y4qclfm9xrlqe6oi5k512dih"); // int istyle = 0;
970 UNSUPPORTED("c77cb1sgh5mlnuscrdp9pxwm8"); // if (((style = agget(sg, "style")) != 0) && style[0]) {
971 UNSUPPORTED("h7xdp8l98vgmu8dkibee5kcm"); // char **pp;
972 UNSUPPORTED("9uleufnyvtzwmq2wbcnmeyp3a"); // char **qp;
973 UNSUPPORTED("1ys4x1uj0hoyf2yuvrmddwh9i"); // char *p;
974 UNSUPPORTED("6akvfrhnmmgier60pl8bkt42r"); // pp = pstyle = parse_style(style);
975 UNSUPPORTED("9vj0v0tutidnb2hxprdosjm39"); // while ((p = *pp)) {
976 UNSUPPORTED("e3mpm8potxtvjdd42cnwhluxl"); // if (strcmp(p, "filled") == 0) {
977 UNSUPPORTED("5uu1d9grveb0bmsov10mqrtj3"); // istyle |= (1 << 0);
978 UNSUPPORTED("5lcmi10wuwp3fyn36cloc29y3"); // pp++;
979 UNSUPPORTED("5fxeuc5zc3643ly5dyson06s5"); // }else if (strcmp(p, "radial") == 0) {
980 UNSUPPORTED("a3fnxu8lgm7c35op5nmoe8xj6"); // istyle |= ((1 << 0) | (1 << 1));
981 UNSUPPORTED("9bo1rem63xdcqaveddsqb89y"); // qp = pp; /* remove rounded from list passed to renderer */
982 UNSUPPORTED("21y8hlxutle9votbe86f2hfpl"); // do {
983 UNSUPPORTED("7ca407ksqxmxkuny8m7gr1rzj"); // qp++;
984 UNSUPPORTED("7jb3shp3mthw99uh3iir44z47"); // *(qp-1) = *qp;
985 UNSUPPORTED("1ujv3j8mb7i0c6nzdfgy27w4s"); // } while (*qp);
986 UNSUPPORTED("9wcwovvjpprmy66u5cc2hpy3i"); // }else if (strcmp(p, "striped") == 0) {
987 UNSUPPORTED("6tcwivyh9w6pmh1ys8hf9m48o"); // istyle |= (1 << 6);
988 UNSUPPORTED("9bo1rem63xdcqaveddsqb89y"); // qp = pp; /* remove rounded from list passed to renderer */
989 UNSUPPORTED("21y8hlxutle9votbe86f2hfpl"); // do {
990 UNSUPPORTED("7ca407ksqxmxkuny8m7gr1rzj"); // qp++;
991 UNSUPPORTED("7jb3shp3mthw99uh3iir44z47"); // *(qp-1) = *qp;
992 UNSUPPORTED("1ujv3j8mb7i0c6nzdfgy27w4s"); // } while (*qp);
993 UNSUPPORTED("agd1qpujy8ioolsnjhmz0zapr"); // }else if (strcmp(p, "rounded") == 0) {
994 UNSUPPORTED("dtj2r1tvn8fuoefvhmbg7k8es"); // istyle |= (1 << 2);
995 UNSUPPORTED("9bo1rem63xdcqaveddsqb89y"); // qp = pp; /* remove rounded from list passed to renderer */
996 UNSUPPORTED("21y8hlxutle9votbe86f2hfpl"); // do {
997 UNSUPPORTED("7ca407ksqxmxkuny8m7gr1rzj"); // qp++;
998 UNSUPPORTED("7jb3shp3mthw99uh3iir44z47"); // *(qp-1) = *qp;
999 UNSUPPORTED("1ujv3j8mb7i0c6nzdfgy27w4s"); // } while (*qp);
1000 UNSUPPORTED("7z03qzrkm0iobzqhlwp87ljr2"); // } else pp++;
1001 UNSUPPORTED("flupwh3kosf3fkhkxllllt1"); // }
1002 UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); // }
1003 UNSUPPORTED("8wc6gkmat3lo0h81wd7xv879k"); // *flagp = istyle;
1004 UNSUPPORTED("iuoxnbeo1cwfgz97k92ylegx"); // return pstyle;
1005 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
1006
1007 throw new UnsupportedOperationException();
1008 }
1009
1010
1011
1012
1013 //3 9iqjkcr5mukm81hrbwh0ea6fl
1014 // static void freeSegs (colorsegs_t* segs)
1015 public static Object freeSegs(Object... arg) {
1016 UNSUPPORTED("e2z2o5ybnr5tgpkt8ty7hwan1"); // static void
1017 UNSUPPORTED("464xlb3ygxv6p9mg54yjog4xx"); // freeSegs (colorsegs_t* segs)
1018 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
1019 UNSUPPORTED("byogskcr9egmgq0x5kmqvwi4v"); // free (segs->base);
1020 UNSUPPORTED("70o1qrp2ik2rtbnfye965jlti"); // free (segs->segs);
1021 UNSUPPORTED("864f5ylvxgoy5rwmwl4pstg2p"); // free (segs);
1022 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
1023
1024 throw new UnsupportedOperationException();
1025 }
1026
1027
1028
1029
1030 //3 97btw75unjbstma95wtq0zatf
1031 // static double getSegLen (char* s)
1032 public static Object getSegLen(Object... arg) {
1033 UNSUPPORTED("9xupxgb2zpj09jpcf9avjwewg"); // static double getSegLen (char* s)
1034 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
1035 UNSUPPORTED("2xm53iv3ul2vyq7751jovt7yv"); // char* p = strchr (s, ';');
1036 UNSUPPORTED("bkz9mqmemp1ljxdwdbu8xv3e9"); // char* endp;
1037 UNSUPPORTED("9gol5nm38e942ve1ebl1cjtlv"); // double v;
1038 UNSUPPORTED("e5uuzflrromc49aac8g763pcj"); // if (!p) {
1039 UNSUPPORTED("c9ckhc8veujmwcw0ar3u3zld4"); // return 0;
1040 UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); // }
1041 UNSUPPORTED("ad4vrj0twr5jijvunb1bz9koj"); // *p++ = '\0';
1042 UNSUPPORTED("8hxu46s395rpsel8pqxzl9ana"); // v = strtod (p, &endp);
1043 UNSUPPORTED("bog16vtrt7asrtd5qswrdityh"); // if (endp != p) { /* scanned something */
1044 UNSUPPORTED("rqt6x5hv72afst4yu8og4eh1"); // if (v >= 0)
1045 UNSUPPORTED("b9t6ne0njxrwqqcdw8t4lt7kt"); // return v;
1046 UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); // }
1047 UNSUPPORTED("8azkpi8o0wzdufa90lw8hpt6q"); // return -1;
1048 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
1049
1050 throw new UnsupportedOperationException();
1051 }
1052
1053
1054
1055
1056 //3 8zfj6ri8h66qg7vjb6r0gtwl5
1057 // static int parseSegs (char* clrs, int nseg, colorsegs_t** psegs)
1058 public static Object parseSegs(Object... arg) {
1059 UNSUPPORTED("eyp5xkiyummcoc88ul2b6tkeg"); // static int
1060 UNSUPPORTED("apdtd2ytdipe6mbcrtuzg8me3"); // parseSegs (char* clrs, int nseg, colorsegs_t** psegs)
1061 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
1062 UNSUPPORTED("b2p5bomt1ebfvkood2varaauq"); // colorsegs_t* segs = (colorsegs_t*)zmalloc(sizeof(colorsegs_t));
1063 UNSUPPORTED("8zv1ffgik05z2fcc41di32sn8"); // colorseg_t* s;
1064 UNSUPPORTED("elj0n3kcg90w49mdluubv8bns"); // char* colors = strdup (clrs);
1065 UNSUPPORTED("3tsetuywdzi8crkdp7yfkzgs0"); // char* color;
1066 UNSUPPORTED("c4mq9v0j066932j65m2kds553"); // int cnum = 0;
1067 UNSUPPORTED("5wbs6wytrjo8k4jbvke5n0u42"); // double v, left = 1;
1068 UNSUPPORTED("4tnoq3emby6jh6mtizghjicok"); // static int doWarn = 1;
1069 UNSUPPORTED("a8vxj66zhdcnifeyd5g50smwk"); // int i, rval = 0;
1070 UNSUPPORTED("a4px33i4moqe8ybwatz0g8k6"); // char* p;
1071 UNSUPPORTED("axv64lmdgc8l7wrse4f2uje2c"); // if (nseg == 0) {
1072 UNSUPPORTED("9kkvl2096j2mcfgl88zxrg3mt"); // nseg = 1;
1073 UNSUPPORTED("1p0odq4xbiiyk9zulrtgh78p7"); // /* need to know how many colors separated by ':' */
1074 UNSUPPORTED("8lwg5726u0argoi40r0o86mvp"); // for (p = colors; *p; p++) {
1075 UNSUPPORTED("1rfsopgavnlzprt3drtcsj0x4"); // if (*p == ':') nseg++;
1076 UNSUPPORTED("flupwh3kosf3fkhkxllllt1"); // }
1077 UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); // }
1078 UNSUPPORTED("9bp5sal0vgfug2x1wf511qs7f"); // segs->base = colors;
1079 UNSUPPORTED("2ivkw78cp3krrv7689cye5s78"); // segs->segs = s = (colorseg_t*)zmalloc((nseg+1)*sizeof(colorseg_t));
1080 UNSUPPORTED("4szmily3ea0fmu6uuro6gu156"); // for (color = strtok(colors, ":"); color; color = strtok(0, ":")) {
1081 UNSUPPORTED("4004f4k7a6sfsgb610fgbmu5w"); // if ((v = getSegLen (color)) >= 0) {
1082 UNSUPPORTED("azbip4rt1t97r5xu2s3fylz3y"); // double del = v - left;
1083 UNSUPPORTED("8h66ar8vsn5btqcntrimnkktm"); // if (del > 0) {
1084 UNSUPPORTED("ed89ssfw3aoze3hsxopkgecse"); // if (doWarn && !(((del) < 1E-5) && ((del) > -1E-5))) {
1085 UNSUPPORTED("bteqpt6c6yz7o7d5dbmof10wj"); // agerr (AGWARN, "Total size > 1 in \"%s\" color spec ", clrs);
1086 UNSUPPORTED("24grm1ux24glgzb3vunz0hgk2"); // doWarn = 0;
1087 UNSUPPORTED("7uujii1ibtc8h2vtmdczkb97f"); // rval = 3;
1088 UNSUPPORTED("6eq5kf0bj692bokt0bixy1ixh"); // }
1089 UNSUPPORTED("c5j07yi4nl2nzq8fjmkv7tsby"); // v = left;
1090 UNSUPPORTED("6t98dcecgbvbvtpycwiq2ynnj"); // }
1091 UNSUPPORTED("733sj1rtrkdhnykyrn3z1muzd"); // left -= v;
1092 UNSUPPORTED("7dvqls8r4achyytx9jb4ce5nd"); // if (v > 0) s[cnum].hasFraction = NOT(0);
1093 UNSUPPORTED("3jt663rt945dkhqkl1rv5w95u"); // if (*color) s[cnum].color = color;
1094 UNSUPPORTED("c1mbrfego3c40gci714lbozdu"); // s[cnum++].t = v;
1095 UNSUPPORTED("flupwh3kosf3fkhkxllllt1"); // }
1096 UNSUPPORTED("8k75h069sv2k9b6tgz77dscwd"); // else {
1097 UNSUPPORTED("7qqjev9ey61berllhtqdtio5j"); // if (doWarn) {
1098 UNSUPPORTED("1uclwqp3vls9evizalhsqup1f"); // agerr (AGERR, "Illegal length value in \"%s\" color attribute ", clrs);
1099 UNSUPPORTED("ccs8p4eo4ehywnii033x2xz3k"); // doWarn = 0;
1100 UNSUPPORTED("4o9eycynbr1xrbs7xu7wqkoqo"); // rval = 2;
1101 UNSUPPORTED("6t98dcecgbvbvtpycwiq2ynnj"); // }
1102 UNSUPPORTED("5spew51c4hokx3tvptq38hoif"); // else rval = 1;
1103 UNSUPPORTED("723lxfi188696x4nsqtjqibuc"); // freeSegs (segs);
1104 UNSUPPORTED("4sm28tt9yujgmryycwcj3ozcs"); // return rval;
1105 UNSUPPORTED("flupwh3kosf3fkhkxllllt1"); // }
1106 UNSUPPORTED("dcahiv0k45nuszddfmx52qvsl"); // if ((((left) < 1E-5) && ((left) > -1E-5))) {
1107 UNSUPPORTED("546rex5xh4grberu1heou0wg1"); // left = 0;
1108 UNSUPPORTED("ai3czg6gaaxspsmndknpyvuiu"); // break;
1109 UNSUPPORTED("flupwh3kosf3fkhkxllllt1"); // }
1110 UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); // }
1111 UNSUPPORTED("8wynr3ctvgfgo13bcha3yofvl"); // /* distribute remaining into slot with t == 0; if none, add to last */
1112 UNSUPPORTED("az8pyhrjnf2hzlv8tkhg72zw6"); // if (left > 0) {
1113 UNSUPPORTED("dutfiykx9omnitayjorbg1vx2"); // /* count zero segments */
1114 UNSUPPORTED("49ujuxia41bf3tqa9jq7skubi"); // nseg = 0;
1115 UNSUPPORTED("7wc6473fldnm8onr6x54aoknb"); // for (i = 0; i < cnum; i++) {
1116 UNSUPPORTED("hw7c0mgetn36f6qtikru7dxh"); // if (s[i].t == 0) nseg++;
1117 UNSUPPORTED("flupwh3kosf3fkhkxllllt1"); // }
1118 UNSUPPORTED("e5xpvo7h1n57u6ajux2emdsjl"); // if (nseg > 0) {
1119 UNSUPPORTED("b9220xzm85t055qqrbe3x2o91"); // double delta = left/nseg;
1120 UNSUPPORTED("2tpczuw50n6atxp3ugll97g2l"); // for (i = 0; i < cnum; i++) {
1121 UNSUPPORTED("datujg26m1qe4v9viophnfqmk"); // if (s[i].t == 0) s[i].t = delta;
1122 UNSUPPORTED("6t98dcecgbvbvtpycwiq2ynnj"); // }
1123 UNSUPPORTED("flupwh3kosf3fkhkxllllt1"); // }
1124 UNSUPPORTED("8k75h069sv2k9b6tgz77dscwd"); // else {
1125 UNSUPPORTED("cpvqe6ppslph7n78gdtd33ll2"); // s[cnum-1].t += left;
1126 UNSUPPORTED("flupwh3kosf3fkhkxllllt1"); // }
1127 UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); // }
1128 UNSUPPORTED("bzphdbk9lv18c2kha9yj9p9bq"); // /* Make sure last positive segment is followed by a sentinel. */
1129 UNSUPPORTED("dnru0y416hypltckpasyalvi1"); // nseg = 0;
1130 UNSUPPORTED("8es1vpe9qvsc5j4mi98x0h6ml"); // for (i = cnum-1; i >= 0; i--) {
1131 UNSUPPORTED("8eg8vanptayonxgtj46f8qo4h"); // if (s[i].t > 0) break;
1132 UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); // }
1133 UNSUPPORTED("63bgrye6x8o4p2w5u6ix8cfnh"); // s[i+1].color = NULL;
1134 UNSUPPORTED("cg9otruqfz0hiw1to7o5dbvz2"); // segs->numc = i+1;
1135 UNSUPPORTED("9evut88r5b01zyynad10pnqj6"); // *psegs = segs;
1136 UNSUPPORTED("bhpm3hntm4gkn66ozolahaqhb"); // return rval;
1137 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
1138
1139 throw new UnsupportedOperationException();
1140 }
1141
1142
1143
1144
1145 //3 5mu8biu5ww33wd5ieraclh88z
1146 // int wedgedEllipse (GVJ_t* job, pointf * pf, char* clrs)
1147 public static Object wedgedEllipse(Object... arg) {
1148 UNSUPPORTED("7zkpme13g8rxxwloxvpvvnbcw"); // int
1149 UNSUPPORTED("aa0ojv015bm44zwcwqav8hg79"); // wedgedEllipse (GVJ_t* job, pointf * pf, char* clrs)
1150 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
1151 UNSUPPORTED("8z3a2qjysx0m326m5qjy91tnu"); // colorsegs_t* segs;
1152 UNSUPPORTED("8zv1ffgik05z2fcc41di32sn8"); // colorseg_t* s;
1153 UNSUPPORTED("ecz4e03zumggc8tfymqvirexq"); // int rv;
1154 UNSUPPORTED("8vpvinya0zfrnowhlphkyccd5"); // double save_penwidth = job->obj->penwidth;
1155 UNSUPPORTED("1nq1fbyjqq72b0sc2bulz00rw"); // pointf ctr, semi;
1156 UNSUPPORTED("qw8wtu53e7k1aubdv962neuz"); // Ppolyline_t* pp;
1157 UNSUPPORTED("ecf4tlsg5qocdf5cl3xt0usir"); // double angle0, angle1;
1158 UNSUPPORTED("7w32bzfgk50pyvzfs7qaxoi1e"); // rv = parseSegs (clrs, 0, &segs);
1159 UNSUPPORTED("45tn760kszitmijgc00zjux63"); // if ((rv == 1) || (rv == 2)) return rv;
1160 UNSUPPORTED("5a05hfj5quc4ubw4bd0bbtjoq"); // ctr.x = (pf[0].x + pf[1].x) / 2.;
1161 UNSUPPORTED("65mz1z9ktoe9whfa6lwcmvscf"); // ctr.y = (pf[0].y + pf[1].y) / 2.;
1162 UNSUPPORTED("8ji2e4xqar7owxkedpin2m8ez"); // semi.x = pf[1].x - ctr.x;
1163 UNSUPPORTED("92ipp30q5f40j3d2wqk9xu4od"); // semi.y = pf[1].y - ctr.y;
1164 UNSUPPORTED("2qlp0rgdgbozdtvtuwqp37pa4"); // if (save_penwidth > 0.5)
1165 UNSUPPORTED("hmdk2acbhhzqbukut4pqgz2q"); // gvrender_set_penwidth(job, 0.5);
1166 UNSUPPORTED("dddsxf9cjjlgn8v2snkxl6e1z"); // angle0 = 0;
1167 UNSUPPORTED("9lw73gbrcdxipj1j1b1kpyvfc"); // for (s = segs->segs; s->color; s++) {
1168 UNSUPPORTED("8wmjgptzcrcqkza35tcf7btrq"); // if (s->t == 0) continue;
1169 UNSUPPORTED("40pn9i6e6b8aw6gvfysg075ae"); // gvrender_set_fillcolor (job, (s->color?s->color:"black"));
1170 UNSUPPORTED("4vzp246p162a5yt5k0d62gcz6"); // if (s[1].color == NULL)
1171 UNSUPPORTED("9647s4q9zvdoqktuh274a9y3e"); // angle1 = 2*M_PI;
1172 UNSUPPORTED("9352ql3e58qs4fzapgjfrms2s"); // else
1173 UNSUPPORTED("caiwb8g1acalpp0esm3dy0be2"); // angle1 = angle0 + 2*M_PI*(s->t);
1174 UNSUPPORTED("9ll9d8jthp2hl8sh52a8h2dgp"); // pp = ellipticWedge (ctr, semi.x, semi.y, angle0, angle1);
1175 UNSUPPORTED("7arx1xvmroi48xi8occ15h0qj"); // gvrender_beziercurve(job, pp->ps, pp->pn, 0, 0, 1);
1176 UNSUPPORTED("dtpeo119iz3e8pf4sty2eypec"); // angle0 = angle1;
1177 UNSUPPORTED("bku6jthxqindqm1lycet3lgq1"); // freePath (pp);
1178 UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); // }
1179 UNSUPPORTED("2qlp0rgdgbozdtvtuwqp37pa4"); // if (save_penwidth > 0.5)
1180 UNSUPPORTED("efgc8uu9zhn5gek92wvnw2cqt"); // gvrender_set_penwidth(job, save_penwidth);
1181 UNSUPPORTED("dwbftn5fib1yir7gshhy14cup"); // freeSegs (segs);
1182 UNSUPPORTED("v7vqc9l7ge2bfdwnw11z7rzi"); // return rv;
1183 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
1184
1185 throw new UnsupportedOperationException();
1186 }
1187
1188
1189
1190
1191 //3 1lx9cef1wqmf2k66twye6mf9g
1192 // int stripedBox (GVJ_t * job, pointf* AF, char* clrs, int rotate)
1193 public static Object stripedBox(Object... arg) {
1194 UNSUPPORTED("etrjsq5w49uo9jq5pzifohkqw"); // int
1195 UNSUPPORTED("ekv2bika3f3ammx903i7szf5x"); // stripedBox (GVJ_t * job, pointf* AF, char* clrs, int rotate)
1196 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
1197 UNSUPPORTED("8z3a2qjysx0m326m5qjy91tnu"); // colorsegs_t* segs;
1198 UNSUPPORTED("8zv1ffgik05z2fcc41di32sn8"); // colorseg_t* s;
1199 UNSUPPORTED("ecz4e03zumggc8tfymqvirexq"); // int rv;
1200 UNSUPPORTED("cvn5016us8gcyjc73vgd06clq"); // double xdelta;
1201 UNSUPPORTED("d8sp6cfkpfyndzmid92shiq50"); // pointf pts[4];
1202 UNSUPPORTED("aqsj4hnm1mckt6pv4pqok37cv"); // double lastx;
1203 UNSUPPORTED("8vpvinya0zfrnowhlphkyccd5"); // double save_penwidth = job->obj->penwidth;
1204 UNSUPPORTED("7w32bzfgk50pyvzfs7qaxoi1e"); // rv = parseSegs (clrs, 0, &segs);
1205 UNSUPPORTED("45tn760kszitmijgc00zjux63"); // if ((rv == 1) || (rv == 2)) return rv;
1206 UNSUPPORTED("csirqgn1exx47m56awd7suhlq"); // if (rotate) {
1207 UNSUPPORTED("6yvxg6bp1ape4nmefxjyjjhti"); // pts[0] = AF[2];
1208 UNSUPPORTED("7x2bhgf39q42g2fhxk0vfkxxk"); // pts[1] = AF[3];
1209 UNSUPPORTED("f179v6qur6kketo9cy3lotml7"); // pts[2] = AF[0];
1210 UNSUPPORTED("b1kk11zisn7fvypwmt593hdwp"); // pts[3] = AF[1];
1211 UNSUPPORTED("c07up7zvrnu2vhzy6d7zcu94g"); // } else {
1212 UNSUPPORTED("eolhyp22bac440ap3o96c3mqz"); // pts[0] = AF[0];
1213 UNSUPPORTED("7bgongoew7lrxnvqed64y1aq5"); // pts[1] = AF[1];
1214 UNSUPPORTED("dsj2jtc38wd64ffe18qloaybe"); // pts[2] = AF[2];
1215 UNSUPPORTED("w8lcp07u15ugb9pbyz628ux6"); // pts[3] = AF[3];
1216 UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); // }
1217 UNSUPPORTED("8cka942q7qvwsisxeamy9xfgs"); // lastx = pts[1].x;
1218 UNSUPPORTED("el6wjonhvfaekmhry0o1xncfi"); // xdelta = (pts[1].x - pts[0].x);
1219 UNSUPPORTED("m16l42bmexhmji8xy54ow3ac"); // pts[1].x = pts[2].x = pts[0].x;
1220 UNSUPPORTED("2qlp0rgdgbozdtvtuwqp37pa4"); // if (save_penwidth > 0.5)
1221 UNSUPPORTED("hmdk2acbhhzqbukut4pqgz2q"); // gvrender_set_penwidth(job, 0.5);
1222 UNSUPPORTED("9lw73gbrcdxipj1j1b1kpyvfc"); // for (s = segs->segs; s->color; s++) {
1223 UNSUPPORTED("8wmjgptzcrcqkza35tcf7btrq"); // if (s->t == 0) continue;
1224 UNSUPPORTED("40pn9i6e6b8aw6gvfysg075ae"); // gvrender_set_fillcolor (job, (s->color?s->color:"black"));
1225 UNSUPPORTED("3r3zv42eo8ubdity1juxhmhh4"); // /* gvrender_polygon(job, pts, 4, FILL | NO_POLY); */
1226 UNSUPPORTED("4vzp246p162a5yt5k0d62gcz6"); // if (s[1].color == NULL)
1227 UNSUPPORTED("9zsrpebctk9utmb3xexrrnn5n"); // pts[1].x = pts[2].x = lastx;
1228 UNSUPPORTED("9352ql3e58qs4fzapgjfrms2s"); // else
1229 UNSUPPORTED("cnyxri62od5y8ghnijv4z9wsb"); // pts[1].x = pts[2].x = pts[0].x + xdelta*(s->t);
1230 UNSUPPORTED("7s4cl2nfmsmuphbzuu24n43gk"); // gvrender_polygon(job, pts, 4, 1);
1231 UNSUPPORTED("8g6jo6gn7rt47zmjtrbh705qi"); // pts[0].x = pts[3].x = pts[1].x;
1232 UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); // }
1233 UNSUPPORTED("2qlp0rgdgbozdtvtuwqp37pa4"); // if (save_penwidth > 0.5)
1234 UNSUPPORTED("efgc8uu9zhn5gek92wvnw2cqt"); // gvrender_set_penwidth(job, save_penwidth);
1235 UNSUPPORTED("dwbftn5fib1yir7gshhy14cup"); // freeSegs (segs);
1236 UNSUPPORTED("v7vqc9l7ge2bfdwnw11z7rzi"); // return rv;
1237 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
1238
1239 throw new UnsupportedOperationException();
1240 }
1241
1242
1243
1244
1245 //3 a4ze3nkth5n070iajraile73b
1246 // void emit_map_rect(GVJ_t *job, boxf b)
1247 public static Object emit_map_rect(Object... arg) {
1248 UNSUPPORTED("co9kbfer4pfzrsg32xzdxnu2u"); // void emit_map_rect(GVJ_t *job, boxf b)
1249 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
1250 UNSUPPORTED("84llcpxtvxaggx841n2t03850"); // obj_state_t *obj = job->obj;
1251 UNSUPPORTED("12bpksga44s9sfl7x8xn2rt2k"); // int flags = job->flags;
1252 UNSUPPORTED("aukx8c3dz83p6cpnh0fhhnqo8"); // pointf *p;
1253 UNSUPPORTED("6ic0ku7wr32jsf5j0pwkrzq8j"); // if (flags & ((1<<16) | (1<<22))) {
1254 UNSUPPORTED("68o2j7ic39aasjk49deprnnhh"); // if (flags & (1<<17)) {
1255 UNSUPPORTED("69ud33lfpzxun6ls6bpequzo8"); // obj->url_map_shape = MAP_RECTANGLE;
1256 UNSUPPORTED("d7uo4fiq8is4wmoeklxb9lrhm"); // obj->url_map_n = 2;
1257 UNSUPPORTED("flupwh3kosf3fkhkxllllt1"); // }
1258 UNSUPPORTED("8k75h069sv2k9b6tgz77dscwd"); // else {
1259 UNSUPPORTED("5k8t4lz63jq26u2xqeoskhen7"); // obj->url_map_shape = MAP_POLYGON;
1260 UNSUPPORTED("ah8hfbgy2ofsubklkazu04w4d"); // obj->url_map_n = 4;
1261 UNSUPPORTED("flupwh3kosf3fkhkxllllt1"); // }
1262 UNSUPPORTED("9wnyoic97gd28arr56l0i8iy3"); // free(obj->url_map_p);
1263 UNSUPPORTED("ec0oubjt8fhapkogfpg8s7y13"); // obj->url_map_p = p = (pointf*)zmalloc((obj->url_map_n)*sizeof(pointf));
1264 UNSUPPORTED("67z1fedypeeyro29m0t5h6cii"); // p[0] = b.LL;
1265 UNSUPPORTED("dskfal9yhsof4338w6yry9mve"); // p[1] = b.UR;
1266 UNSUPPORTED("cnadzqqicrskcdzko360llcg5"); // if (! (flags & (1<<13)))
1267 UNSUPPORTED("9626u9a6bmyb4pqydfy9oe48w"); // gvrender_ptf_A(job, p, p, 2);
1268 UNSUPPORTED("3qt79u8muuulxatmo48vjk6r3"); // if (! (flags & (1<<17)))
1269 UNSUPPORTED("e0f10b7obog3b7z2tra14ajtx"); // rect2poly(p);
1270 UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); // }
1271 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
1272
1273 throw new UnsupportedOperationException();
1274 }
1275
1276
1277
1278
1279 //3 3ai5lu5hhd5fuikmo022v1jm0
1280 // static void map_label(GVJ_t *job, textlabel_t *lab)
1281 public static Object map_label(Object... arg) {
1282 UNSUPPORTED("c4rnzzthoq9f8agcrqudi4mz"); // static void map_label(GVJ_t *job, textlabel_t *lab)
1283 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
1284 UNSUPPORTED("84llcpxtvxaggx841n2t03850"); // obj_state_t *obj = job->obj;
1285 UNSUPPORTED("12bpksga44s9sfl7x8xn2rt2k"); // int flags = job->flags;
1286 UNSUPPORTED("aukx8c3dz83p6cpnh0fhhnqo8"); // pointf *p;
1287 UNSUPPORTED("6ic0ku7wr32jsf5j0pwkrzq8j"); // if (flags & ((1<<16) | (1<<22))) {
1288 UNSUPPORTED("68o2j7ic39aasjk49deprnnhh"); // if (flags & (1<<17)) {
1289 UNSUPPORTED("69ud33lfpzxun6ls6bpequzo8"); // obj->url_map_shape = MAP_RECTANGLE;
1290 UNSUPPORTED("d7uo4fiq8is4wmoeklxb9lrhm"); // obj->url_map_n = 2;
1291 UNSUPPORTED("flupwh3kosf3fkhkxllllt1"); // }
1292 UNSUPPORTED("8k75h069sv2k9b6tgz77dscwd"); // else {
1293 UNSUPPORTED("5k8t4lz63jq26u2xqeoskhen7"); // obj->url_map_shape = MAP_POLYGON;
1294 UNSUPPORTED("ah8hfbgy2ofsubklkazu04w4d"); // obj->url_map_n = 4;
1295 UNSUPPORTED("flupwh3kosf3fkhkxllllt1"); // }
1296 UNSUPPORTED("9wnyoic97gd28arr56l0i8iy3"); // free(obj->url_map_p);
1297 UNSUPPORTED("ec0oubjt8fhapkogfpg8s7y13"); // obj->url_map_p = p = (pointf*)zmalloc((obj->url_map_n)*sizeof(pointf));
1298 UNSUPPORTED("pv2pug94o7tyi304mtm18jaw"); // (p[0].x = lab->pos.x - lab->dimen.x / 2., p[0].y = lab->pos.y - lab->dimen.y / 2., p[1].x = lab->pos.x + lab->dimen.x / 2., p[1].y = lab->pos.y + lab->dimen.y / 2.);
1299 UNSUPPORTED("cnadzqqicrskcdzko360llcg5"); // if (! (flags & (1<<13)))
1300 UNSUPPORTED("9626u9a6bmyb4pqydfy9oe48w"); // gvrender_ptf_A(job, p, p, 2);
1301 UNSUPPORTED("3qt79u8muuulxatmo48vjk6r3"); // if (! (flags & (1<<17)))
1302 UNSUPPORTED("e0f10b7obog3b7z2tra14ajtx"); // rect2poly(p);
1303 UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); // }
1304 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
1305
1306 throw new UnsupportedOperationException();
1307 }
1308
1309
1310
1311
1312 //3 9hfoy16yb9l36g778lx6o4loa
1313 // static boolean isRect(polygon_t * p)
1314 public static Object isRect(Object... arg) {
1315 UNSUPPORTED("9boj1p1495tsl7kbb9os62euc"); // static boolean isRect(polygon_t * p)
1316 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
1317 UNSUPPORTED("jq836u6s0o7a40yevy0sjlhv"); // return (p->sides == 4 && (ROUND(p->orientation) % 90) == 0
1318 UNSUPPORTED("2pp49cjtsontnjugs7vlomdvi"); // && p->distortion == 0.0 && p->skew == 0.0);
1319 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
1320
1321 throw new UnsupportedOperationException();
1322 }
1323
1324
1325
1326
1327 //3 drf7d6idpinqx579kloyv3tjf
1328 // static int ifFilled(node_t * n)
1329 public static Object ifFilled(Object... arg) {
1330 UNSUPPORTED("576n3ll5ycnzfrne5a0vg4kmb"); // static int ifFilled(node_t * n)
1331 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
1332 UNSUPPORTED("ezo17twsxmg7baw2hkcmffhbr"); // char *style, *p, **pp;
1333 UNSUPPORTED("9lfwryf4m8bo4travw1edcxtr"); // int r = 0;
1334 UNSUPPORTED("8pjk3xuss8ew2p7e7t0djo8qp"); // style = late_nnstring(n, N_style, "");
1335 UNSUPPORTED("4ouo3ttcnk1yyzsz5wrt88zw"); // if (style[0]) {
1336 UNSUPPORTED("a7llauzxp1up7djc1wq1dnfco"); // pp = parse_style(style);
1337 UNSUPPORTED("307dibrb4o6rniseaep5vofol"); // while ((p = *pp)) {
1338 UNSUPPORTED("36yyrnflvlp1fqax3117d8a7o"); // if (strcmp(p, "filled") == 0)
1339 UNSUPPORTED("dxmd648tdx5y1devieu0sclw"); // r = 1;
1340 UNSUPPORTED("8dkwt30u4binxrx5y6sqggg8i"); // pp++;
1341 UNSUPPORTED("4mhlpjofolwivhm0tl8cxznly"); // }
1342 UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); // }
1343 UNSUPPORTED("a2hk6w52njqjx48nq3nnn2e5i"); // return r;
1344 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
1345
1346 throw new UnsupportedOperationException();
1347 }
1348
1349
1350
1351
1352 //3 3sh9756i5zm4vgebijiohr21q
1353 // static pointf *pEllipse(double a, double b, int np)
1354 public static Object pEllipse(Object... arg) {
1355 UNSUPPORTED("81ja3n1hoznf26wc2vhvhl9fj"); // static pointf *pEllipse(double a, double b, int np)
1356 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
1357 UNSUPPORTED("39lrh4yp65e7bz2yxmw4eykrf"); // double theta = 0.0;
1358 UNSUPPORTED("eyglfufrpugwrnbykbifud876"); // double deltheta = 2 * M_PI / np;
1359 UNSUPPORTED("b17di9c7wgtqm51bvsyxz6e2f"); // int i;
1360 UNSUPPORTED("2rkzhui0essisp5zlw44vx4j9"); // pointf *ps;
1361 UNSUPPORTED("9plpwtwefveugoac2qi9x6chi"); // ps = (pointf*)zmalloc((np)*sizeof(pointf));
1362 UNSUPPORTED("8sd8edat3oeyfbnetgt6bwa6l"); // for (i = 0; i < np; i++) {
1363 UNSUPPORTED("78zadymnp5kv296ust519rwwy"); // ps[i].x = a * cos(theta);
1364 UNSUPPORTED("7aqmygicj0weq2ez2gpdasxzj"); // ps[i].y = b * sin(theta);
1365 UNSUPPORTED("4tksxfn79hejj7dk9u7587tdx"); // theta += deltheta;
1366 UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); // }
1367 UNSUPPORTED("b0dfwpxhogdrp9mwkzc8oa9vt"); // return ps;
1368 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
1369
1370 throw new UnsupportedOperationException();
1371 }
1372
1373
1374
1375
1376 //3 7nqmdkcnal35ollpstkk707t8
1377 // static int check_control_points(pointf *cp)
1378 public static boolean check_control_points(__ptr__ cp) {
1379 ENTERING("7nqmdkcnal35ollpstkk707t8","check_control_points");
1380 try {
1381 double dis1 = ptToLine2 ((ST_pointf)cp.plus(0).getStruct(), (ST_pointf)cp.plus(3).getStruct(), (ST_pointf)cp.plus(1).getStruct());
1382 double dis2 = ptToLine2 ((ST_pointf)cp.plus(0).getStruct(), (ST_pointf)cp.plus(3).getStruct(), (ST_pointf)cp.plus(2).getStruct());
1383 if (dis1 < 2.0*2.0 && dis2 < 2.0*2.0)
1384 return true;
1385 else
1386 return false;
1387 } finally {
1388 LEAVING("7nqmdkcnal35ollpstkk707t8","check_control_points");
1389 }
1390 }
1391
1392
1393
1394
1395 //3 5wldemr88fdxl6101ugewclw9
1396 // void update_bb_bz(boxf *bb, pointf *cp)
1397 public static void update_bb_bz(ST_boxf bb, ST_pointf.Array cp) {
1398 ENTERING("5wldemr88fdxl6101ugewclw9","update_bb_bz");
1399 try {
1400 /* if any control point of the segment is outside the bounding box */
1401 if (cp.get(0).x > bb.UR.x || cp.get(0).x < bb.LL.x ||
1402 cp.get(0).y > bb.UR.y || cp.get(0).y < bb.LL.y ||
1403 cp.get(1).x > bb.UR.x || cp.get(1).x < bb.LL.x ||
1404 cp.get(1).y > bb.UR.y || cp.get(1).y < bb.LL.y ||
1405 cp.get(2).x > bb.UR.x || cp.get(2).x < bb.LL.x ||
1406 cp.get(2).y > bb.UR.y || cp.get(2).y < bb.LL.y ||
1407 cp.get(3).x > bb.UR.x || cp.get(3).x < bb.LL.x ||
1408 cp.get(3).y > bb.UR.y || cp.get(3).y < bb.LL.y) {
1409 /* if the segment is sufficiently refined */
1410 if (check_control_points(cp.asPtr())) {
1411 int i;
1412 /* expand the bounding box */
1413 for (i = 0; i < 4; i++) {
1414 if (cp.get(i).x > bb.UR.x)
1415 bb.UR.setDouble("x", cp.get(i).x);
1416 else if (cp.get(i).x < bb.LL.x)
1417 bb.LL.setDouble("x", cp.get(i).x);
1418 if (cp.get(i).y > bb.UR.y)
1419 bb.UR.setDouble("y", cp.get(i).y);
1420 else if (cp.get(i).y < bb.LL.y)
1421 bb.LL.setDouble("y", cp.get(i).y);
1422 }
1423 }
1424 else { /* else refine the segment */
1425 final ST_pointf.Array left = new ST_pointf.Array( 4);
1426 final ST_pointf.Array right = new ST_pointf.Array( 4);
1427 Bezier (cp, 3, 0.5, left.asPtr(), right.asPtr());
1428 update_bb_bz(bb, left);
1429 update_bb_bz(bb, right);
1430 }
1431 }
1432 } finally {
1433 LEAVING("5wldemr88fdxl6101ugewclw9","update_bb_bz");
1434 }
1435 }
1436
1437
1438
1439
1440 //3 5inp24tkswwr4gef832cfsh04
1441 // static segitem_t* appendSeg (pointf p, segitem_t* lp)
1442 public static Object appendSeg(Object... arg) {
1443 UNSUPPORTED("9ox1lgfkkrjj3l9g1jpe0gs04"); // static segitem_t* appendSeg (pointf p, segitem_t* lp)
1444 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
1445 UNSUPPORTED("bk3628thwysou5cfzrxarcqte"); // segitem_t* s = (segitem_t*)gmalloc(sizeof(segitem_t));
1446 UNSUPPORTED("3tnumckwljivhxj7b6mdf24d6"); // {(s)->next = 0; (s)->p = p;};
1447 UNSUPPORTED("46ylfb4pi0znpxitzsije2mhw"); // lp->next = s;
1448 UNSUPPORTED("3y6wj3ntgmr1qkdpm7wp1dsch"); // return s;
1449 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
1450
1451 throw new UnsupportedOperationException();
1452 }
1453
1454
1455
1456
1457 //3 4n0kvrpdwpl0e1imvz963aa1o
1458 // static void map_bspline_poly(pointf **pbs_p, int **pbs_n, int *pbs_poly_n, int n, pointf* p1, pointf* p2)
1459 public static Object map_bspline_poly(Object... arg) {
1460 UNSUPPORTED("1r3l20vlipm0x1r2dprvygc9i"); // static void map_bspline_poly(pointf **pbs_p, int **pbs_n, int *pbs_poly_n, int n, pointf* p1, pointf* p2)
1461 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
1462 UNSUPPORTED("30xnf4zdgb1ykf89oqbuo4l2a"); // int i = 0, nump = 0, last = 2*n-1;
1463 UNSUPPORTED("f06mx73hq0m616fggpl7pm6l0"); // for ( ; i < *pbs_poly_n; i++)
1464 UNSUPPORTED("9bq6z8tgn463c2b2b1ujzzu64"); // nump += (*pbs_n)[i];
1465 UNSUPPORTED("6xsx7pggjnc2umqgysrjf2o7f"); // (*pbs_poly_n)++;
1466 UNSUPPORTED("cavf92uaf58wsqimp1tktt9u5"); // *pbs_n = grealloc(*pbs_n, (*pbs_poly_n) * sizeof(int));
1467 UNSUPPORTED("9v28ohj2y5y341vn7mh44qo8"); // (*pbs_n)[i] = 2*n;
1468 UNSUPPORTED("8uvz87etb5208kleb7ehkzyfc"); // *pbs_p = grealloc(*pbs_p, (nump + 2*n) * sizeof(pointf));
1469 UNSUPPORTED("1vi49g48u2rc9v88yhabta0yw"); // for (i = 0; i < n; i++) {
1470 UNSUPPORTED("6hab7v9b2nr1fy1es1y7q8vhn"); // (*pbs_p)[nump+i] = p1[i];
1471 UNSUPPORTED("2qtwscm7pv5eahjzljn3gwez3"); // (*pbs_p)[nump+last-i] = p2[i];
1472 UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); // }
1473 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
1474
1475 throw new UnsupportedOperationException();
1476 }
1477
1478
1479
1480
1481 //3 7vktvjafa2lmwlaxsy0nbulut
1482 // static segitem_t* approx_bezier (pointf *cp, segitem_t* lp)
1483 public static Object approx_bezier(Object... arg) {
1484 UNSUPPORTED("al673209lz1hskkt7drx6qaib"); // static segitem_t* approx_bezier (pointf *cp, segitem_t* lp)
1485 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
1486 UNSUPPORTED("9460wahmu30hhy9lbmjxls3ju"); // pointf left[4], right[4];
1487 UNSUPPORTED("eomhceyowlehxg33yuxfclcdz"); // if (check_control_points(cp)) {
1488 UNSUPPORTED("czol56efilyo93ev9cxz3ytyo"); // if (((lp)->next == (segitem_t*)1)) {(lp)->next = 0; (lp)->p = cp[0];};
1489 UNSUPPORTED("1358cb4a22h5h06oy1a6j08sq"); // lp = appendSeg (cp[3], lp);
1490 UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); // }
1491 UNSUPPORTED("1nyzbeonram6636b1w955bypn"); // else {
1492 UNSUPPORTED("9czjzt923nh9t1r0ofwg1uiqi"); // Bezier (cp, 3, 0.5, left, right);
1493 UNSUPPORTED("b0liuqott07bzgsycyywz3wgi"); // lp = approx_bezier (left, lp);
1494 UNSUPPORTED("3fohjex9x5u6w5e9ivere17uz"); // lp = approx_bezier (right, lp);
1495 UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); // }
1496 UNSUPPORTED("22f0z0bsq8tczqmt8rdxhmye9"); // return lp;
1497 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
1498
1499 throw new UnsupportedOperationException();
1500 }
1501
1502
1503
1504
1505 //3 3nlf0dmvl0qwc88vhsi69eo85
1506 // static double bisect (pointf pp, pointf cp, pointf np)
1507 public static Object bisect(Object... arg) {
1508 UNSUPPORTED("8h36arb302hy4bmfyuq5lvq4d"); // static double bisect (pointf pp, pointf cp, pointf np)
1509 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
1510 UNSUPPORTED("8kh11h44zj580voonfm37tko9"); // double ang, theta, phi;
1511 UNSUPPORTED("85xsvegtkipyc8fvrmffpt7on"); // theta = atan2(np.y - cp.y,np.x - cp.x);
1512 UNSUPPORTED("c3wm3ceipv4mlnttlnfmsnx9c"); // phi = atan2(pp.y - cp.y,pp.x - cp.x);
1513 UNSUPPORTED("b0ntn6nfptzm2qbjo2ls49i1c"); // ang = theta - phi;
1514 UNSUPPORTED("4li40ysz6584mc8iejchar0ej"); // if (ang > 0) ang -= 2*M_PI;
1515 UNSUPPORTED("col2agnktr81l4ybzpnuvni0b"); // return (phi + ang/2.0);
1516 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
1517
1518 throw new UnsupportedOperationException();
1519 }
1520
1521
1522
1523
1524 //3 45zvw50w2tfskogjqa2wzlmhg
1525 // static void mkSegPts (segitem_t* prv, segitem_t* cur, segitem_t* nxt, pointf* p1, pointf* p2, double w2)
1526 public static Object mkSegPts(Object... arg) {
1527 UNSUPPORTED("5hv5nomfe90vtds8hxhox7yej"); // static void mkSegPts (segitem_t* prv, segitem_t* cur, segitem_t* nxt,
1528 UNSUPPORTED("78rchge0ctod4mkpq2fslrh0s"); // pointf* p1, pointf* p2, double w2)
1529 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
1530 UNSUPPORTED("egh0kbv4tt7cyg4y0jqpw892u"); // pointf cp, pp, np;
1531 UNSUPPORTED("biw1k2scxl82ky4h2e5gzzz3w"); // double theta, delx, dely;
1532 UNSUPPORTED("2bghyit203pd6xw2ihhenzyn8"); // pointf p;
1533 UNSUPPORTED("1uw3lcxgjre9mhnye9n5mc3nq"); // cp = cur->p;
1534 UNSUPPORTED("8oyy7q664cu8y31s5gm98jaok"); // /* if prv or nxt are NULL, use the one given to create a collinear
1535 UNSUPPORTED("7cujcl5h2n20wpsmy96ce8y1t"); // * prv or nxt. This could be more efficiently done with special case code,
1536 UNSUPPORTED("90m6pb4mxn7bdssm66d6ex652"); // * but this way is more uniform.
1537 UNSUPPORTED("795vpnc8yojryr8b46aidsu69"); // */
1538 UNSUPPORTED("4m73973c5to6aicgd30f6yzaf"); // if (prv) {
1539 UNSUPPORTED("c1rauhosdsgiv6485akroiljy"); // pp = prv->p;
1540 UNSUPPORTED("ethb044vg7vhe5m2lhq81kab3"); // if (nxt)
1541 UNSUPPORTED("5svwwfzkdun5jxqdn4mouh5n6"); // np = nxt->p;
1542 UNSUPPORTED("3jir07ymknf0hmb9pv9x4dr3o"); // else {
1543 UNSUPPORTED("b6z52jimoq1wmtvxf8qjyx889"); // np.x = 2*cp.x - pp.x;
1544 UNSUPPORTED("7plg4dt2urchak7x50b0qhyz2"); // np.y = 2*cp.y - pp.y;
1545 UNSUPPORTED("4mhlpjofolwivhm0tl8cxznly"); // }
1546 UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); // }
1547 UNSUPPORTED("1nyzbeonram6636b1w955bypn"); // else {
1548 UNSUPPORTED("8hw6aqovl83yx8u0xlbnkcbw2"); // np = nxt->p;
1549 UNSUPPORTED("a6vni7nsbr4l53ceg9tyv09i8"); // pp.x = 2*cp.x - np.x;
1550 UNSUPPORTED("9r62maaemrr57dm3tdh7fuva6"); // pp.y = 2*cp.y - np.y;
1551 UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); // }
1552 UNSUPPORTED("3ktptkz1bjdklvgym7woyu60x"); // theta = bisect(pp,cp,np);
1553 UNSUPPORTED("a4adtr9lu9kofe8mqolr4fg4r"); // delx = w2*cos(theta);
1554 UNSUPPORTED("4uljbij5lrj26jqovnqnbkzxc"); // dely = w2*sin(theta);
1555 UNSUPPORTED("6r23zes3ngn7ela6z0elabnsq"); // p.x = cp.x + delx;
1556 UNSUPPORTED("4uzttmp6bugdo2qudn1xrr8fj"); // p.y = cp.y + dely;
1557 UNSUPPORTED("bntn382sm9mnloab7gci08f64"); // *p1 = p;
1558 UNSUPPORTED("92rv8dekgpna6e0qh7la8kyg0"); // p.x = cp.x - delx;
1559 UNSUPPORTED("2czgguvp48sudmjwiuoanrvbq"); // p.y = cp.y - dely;
1560 UNSUPPORTED("823jqic6za2w9bn6bxd5sfovp"); // *p2 = p;
1561 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
1562
1563 throw new UnsupportedOperationException();
1564 }
1565
1566
1567
1568
1569 //3 3xmhrtq5g7trpp4u40xr0b8y2
1570 // static void map_output_bspline (pointf **pbs, int **pbs_n, int *pbs_poly_n, bezier* bp, double w2)
1571 public static Object map_output_bspline(Object... arg) {
1572 UNSUPPORTED("6lvrwl802yfwlo7kfixgg5nez"); // static void map_output_bspline (pointf **pbs, int **pbs_n, int *pbs_poly_n, bezier* bp, double w2)
1573 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
1574 UNSUPPORTED("460a9s2we7gle00rxon2fthvv"); // segitem_t* segl = (segitem_t*)gmalloc(sizeof(segitem_t));
1575 UNSUPPORTED("7jg00n3u4jk162hmdo63f64lo"); // segitem_t* segp = segl;
1576 UNSUPPORTED("b8pna82nkq66ot9l709idym2o"); // segitem_t* segprev;
1577 UNSUPPORTED("agsgwjn5iwlfedcqbv8ckm57"); // segitem_t* segnext;
1578 UNSUPPORTED("8kw0juwrrjw2z97umyrg0g1qd"); // int nc, j, k, cnt;
1579 UNSUPPORTED("8d1z0mjgb910nvnha97hjtek8"); // pointf pts[4], pt1[50], pt2[50];
1580 UNSUPPORTED("asm74enhle0g30mwnz8t1buui"); // ((segl)->next = (segitem_t*)1);
1581 UNSUPPORTED("2adno2mo8kzsvrdtc21rhj4v5"); // nc = (bp->size - 1)/3; /* nc is number of bezier curves */
1582 UNSUPPORTED("7swib3bakj4z6ubjcayxfitj6"); // for (j = 0; j < nc; j++) {
1583 UNSUPPORTED("95y530ux2hdmxrhr3nyzp3g9t"); // for (k = 0; k < 4; k++) {
1584 UNSUPPORTED("c9uvgse79w32172gjma953aq2"); // pts[k] = bp->list[3*j + k];
1585 UNSUPPORTED("4mhlpjofolwivhm0tl8cxznly"); // }
1586 UNSUPPORTED("5sy2c7piyke76572zgaizewud"); // segp = approx_bezier (pts, segp);
1587 UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); // }
1588 UNSUPPORTED("6ivsqczanxvoll90ol5rf9nwj"); // segp = segl;
1589 UNSUPPORTED("7934mrgiu0ms3qybvycy3cgay"); // segprev = 0;
1590 UNSUPPORTED("3wtn792c3ql5yhn77alu6r5d8"); // cnt = 0;
1591 UNSUPPORTED("2aqvc301awlepsejrafp4yyc6"); // while (segp) {
1592 UNSUPPORTED("3aw5thxio3mh4yvrwep3op3cb"); // segnext = segp->next;
1593 UNSUPPORTED("4ov54jbry4z74fejjwuepxe84"); // mkSegPts (segprev, segp, segnext, pt1+cnt, pt2+cnt, w2);
1594 UNSUPPORTED("77mslev6fngkh87g2jkd6j87j"); // cnt++;
1595 UNSUPPORTED("2r5ivfdgqpq5a6nyot9hijti3"); // if ((segnext == NULL) || (cnt == 50)) {
1596 UNSUPPORTED("8upks3wb9w2i7a6fib6tg86so"); // map_bspline_poly (pbs, pbs_n, pbs_poly_n, cnt, pt1, pt2);
1597 UNSUPPORTED("br4bzacgnowkbgloqwj6hi6xi"); // pt1[0] = pt1[cnt-1];
1598 UNSUPPORTED("1a82ke2ad8rgjec4c9c58r8nz"); // pt2[0] = pt2[cnt-1];
1599 UNSUPPORTED("5n5phg49hlzthwyjtssepk4pr"); // cnt = 1;
1600 UNSUPPORTED("4mhlpjofolwivhm0tl8cxznly"); // }
1601 UNSUPPORTED("3m3komtzmujd239y2dgskiyj6"); // segprev = segp;
1602 UNSUPPORTED("7gox3cmouztk9pgbp4kyi21n3"); // segp = segnext;
1603 UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); // }
1604 UNSUPPORTED("f3da2ac9kdmfwv0pfno2zrouc"); // /* free segl */
1605 UNSUPPORTED("5h71fr0i2yoyjffmruxsjp21z"); // while (segl) {
1606 UNSUPPORTED("diwidyhfydftnczhbvpa03d1"); // segp = segl->next;
1607 UNSUPPORTED("n2x8n88pew5ot3r4s1zgnqw9"); // free (segl);
1608 UNSUPPORTED("9facw1k96gpqu3xnm2hjb1d2c"); // segl = segp;
1609 UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); // }
1610 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
1611
1612 throw new UnsupportedOperationException();
1613 }
1614
1615
1616
1617
1618 //3 9xju3of8zy5f2mk0f6vd6kxoi
1619 // static boolean is_natural_number(char *sstr)
1620 public static Object is_natural_number(Object... arg) {
1621 UNSUPPORTED("9rhheqjcnai59q1k0d8y9jynt"); // static boolean is_natural_number(char *sstr)
1622 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
1623 UNSUPPORTED("1dlob9vbxvn4cj6g0rosu94jd"); // unsigned char *str = (unsigned char *) sstr;
1624 UNSUPPORTED("alw7hro2r95xcs6yzutcluxtm"); // while (*str)
1625 UNSUPPORTED("9m3itcf8i2mq6xorvv3zdwhh"); // if (NOT(isdigit(*str++)))
1626 UNSUPPORTED("6f1138i13x0xz1bf1thxgjgka"); // return 0;
1627 UNSUPPORTED("8fwlqtemsmckleh6946lyd8mw"); // return NOT(0);
1628 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
1629
1630 throw new UnsupportedOperationException();
1631 }
1632
1633
1634
1635
1636 //3 4udru8pf61208dtuf22zzmmqd
1637 // static int layer_index(GVC_t *gvc, char *str, int all)
1638 public static Object layer_index(Object... arg) {
1639 UNSUPPORTED("3lxm6mluhtqpfsa9nzkd3apqi"); // static int layer_index(GVC_t *gvc, char *str, int all)
1640 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
1641 UNSUPPORTED("3ak6myanfllb9z1xz4e6c0nhf"); // /* GVJ_t *job = gvc->job; */
1642 UNSUPPORTED("b17di9c7wgtqm51bvsyxz6e2f"); // int i;
1643 UNSUPPORTED("ddtbvyocaoyzuds5nmnsodhqb"); // if ((*(str)==*("all")&&!strcmp(str,"all")))
1644 UNSUPPORTED("8duf2go7r0jiqw3wnkiqbol4r"); // return all;
1645 UNSUPPORTED("8ztkkwz0e702fr9np4y6o4kuu"); // if (is_natural_number(str))
1646 UNSUPPORTED("34uc4omjjar6x7rskk72va3j6"); // return atoi(str);
1647 UNSUPPORTED("1s842n3ke9usoirca1dwsrrzx"); // if (gvc->layerIDs)
1648 UNSUPPORTED("cpogmg64n6exvblx87d1pmwfo"); // for (i = 1; i <= gvc->numLayers; i++)
1649 UNSUPPORTED("939rzzi8dp0sws71xjv2n1d66"); // if ((*(str)==*(gvc->layerIDs[i])&&!strcmp(str,gvc->layerIDs[i])))
1650 UNSUPPORTED("b9e4nv60rh6o1ai85uu0ougv"); // return i;
1651 UNSUPPORTED("8azkpi8o0wzdufa90lw8hpt6q"); // return -1;
1652 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
1653
1654 throw new UnsupportedOperationException();
1655 }
1656
1657
1658
1659
1660 //3 a8rdk6dogn52h5grbbxfoq34z
1661 // static boolean selectedLayer(GVC_t *gvc, int layerNum, int numLayers, char *spec)
1662 public static Object selectedLayer(Object... arg) {
1663 UNSUPPORTED("eri18s9ivcrynir2bpx4jnw8g"); // static boolean selectedLayer(GVC_t *gvc, int layerNum, int numLayers, char *spec)
1664 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
1665 UNSUPPORTED("15uc40a82mi1mztghnyvoy460"); // int n0, n1;
1666 UNSUPPORTED("h0or3v13348vfl22jqz895yc"); // unsigned char buf[128];
1667 UNSUPPORTED("2zdui2eukxklqn2ig8nh0bw1t"); // char *w0, *w1;
1668 UNSUPPORTED("ccg75yolmilezu48nio7ksbf9"); // char *buf_part_p = NULL, *buf_p = NULL, *cur, *part_in_p;
1669 UNSUPPORTED("9gou5otj6s39l2cbyc8i5i5lq"); // agxbuf xb;
1670 UNSUPPORTED("9h6icoq4cc2e2ibff10l3xrob"); // boolean rval = 0;
1671 UNSUPPORTED("ci65k77x1b3nq6luu69s87oup"); // agxbinit(&xb, 128, buf);
1672 UNSUPPORTED("bhiyk7f25o6jysgsxycaf5vbo"); // agxbput(&xb, spec);
1673 UNSUPPORTED("aww221dmkj4h9x0qmlvai6bun"); // part_in_p = (((((&xb)->ptr >= (&xb)->eptr) ? agxbmore(&xb,1) : 0), (int)(*(&xb)->ptr++ = ((unsigned char)'\0'))),(char*)((&xb)->ptr = (&xb)->buf));
1674 UNSUPPORTED("8o0g4i9g8jc2qoljztsf5l69"); // /* Thanks to Matteo Nastasi for this extended code. */
1675 UNSUPPORTED("5wc9kd553mqdmeqrzv5u3kuyv"); // while ((rval == 0) && (cur = strtok_r(part_in_p, gvc->layerListDelims, &buf_part_p))) {
1676 UNSUPPORTED("5mvzc9us20jr0bcopdypz0mfo"); // w1 = w0 = strtok_r (cur, gvc->layerDelims, &buf_p);
1677 UNSUPPORTED("snrpgbkmqz2ba186d24cmfnx"); // if (w0)
1678 UNSUPPORTED("bx1n828umga5916irui1tb7cx"); // w1 = strtok_r (NULL, gvc->layerDelims, &buf_p);
1679 UNSUPPORTED("crroc3un37wt9d0omuvaq8gca"); // switch ((w0 != NULL) + (w1 != NULL)) {
1680 UNSUPPORTED("46lzlkypfilrge90rkaiveuyb"); // case 0:
1681 UNSUPPORTED("1y7jah5hullcu9snkfa1oy1f2"); // rval = 0;
1682 UNSUPPORTED("ai3czg6gaaxspsmndknpyvuiu"); // break;
1683 UNSUPPORTED("2o83im06dulx11wjpy469gkoa"); // case 1:
1684 UNSUPPORTED("1jygz6h6idqhtvh7bqd78fhy2"); // n0 = layer_index(gvc, w0, layerNum);
1685 UNSUPPORTED("c8zzp13vx1yth31xuqj1661c8"); // rval = (n0 == layerNum);
1686 UNSUPPORTED("ai3czg6gaaxspsmndknpyvuiu"); // break;
1687 UNSUPPORTED("b8vgbvwzllfs4lrqmmqyr1spk"); // case 2:
1688 UNSUPPORTED("9y7cribaclzkutrf9lusdgb73"); // n0 = layer_index(gvc, w0, 0);
1689 UNSUPPORTED("45uxr9q1d74dbhay2ugv205w0"); // n1 = layer_index(gvc, w1, numLayers);
1690 UNSUPPORTED("2gcf1ylvtukspepmlgp37irq5"); // if ((n0 >= 0) || (n1 >= 0)) {
1691 UNSUPPORTED("ad3pm1secuibs7iqrobtxw2is"); // if (n0 > n1) {
1692 UNSUPPORTED("en01k6v1n32c2swyx0elf6pcg"); // int t = n0;
1693 UNSUPPORTED("2bjyjz9cvls6hyytpcmbkgmcs"); // n0 = n1;
1694 UNSUPPORTED("bpseot9l807jidv28yid809wm"); // n1 = t;
1695 UNSUPPORTED("6eq5kf0bj692bokt0bixy1ixh"); // }
1696 UNSUPPORTED("cer1dt8c42dt0eigzkalgg0u4"); // rval = BETWEEN(n0, layerNum, n1);
1697 UNSUPPORTED("6t98dcecgbvbvtpycwiq2ynnj"); // }
1698 UNSUPPORTED("ai3czg6gaaxspsmndknpyvuiu"); // break;
1699 UNSUPPORTED("flupwh3kosf3fkhkxllllt1"); // }
1700 UNSUPPORTED("59btplbumo93hp7myb8mvi5ee"); // part_in_p = NULL;
1701 UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); // }
1702 UNSUPPORTED("1at5m9ctjn3ukv5gqtfswik02"); // agxbfree(&xb);
1703 UNSUPPORTED("bhpm3hntm4gkn66ozolahaqhb"); // return rval;
1704 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
1705
1706 throw new UnsupportedOperationException();
1707 }
1708
1709
1710
1711
1712 //3 2zlzcril6uiesf8z9zo8bvfyz
1713 // static boolean selectedlayer(GVJ_t *job, char *spec)
1714 public static Object selectedlayer(Object... arg) {
1715 UNSUPPORTED("3nzphmy08w2y4a3yntr24xw0p"); // static boolean selectedlayer(GVJ_t *job, char *spec)
1716 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
1717 UNSUPPORTED("any52sc1hzc52gsl6k37qteok"); // return selectedLayer (job->gvc, job->layerNum, job->numLayers, spec);
1718 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
1719
1720 throw new UnsupportedOperationException();
1721 }
1722
1723
1724
1725
1726 //3 8elt2ktgbiurz9gdlvgjpr8mp
1727 // static int* parse_layerselect(GVC_t *gvc, graph_t * g, char *p)
1728 public static Object parse_layerselect(Object... arg) {
1729 UNSUPPORTED("6lvivuwtc6e4wjgguepfq8nud"); // static int* parse_layerselect(GVC_t *gvc, graph_t * g, char *p)
1730 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
1731 UNSUPPORTED("ezxtli9973z4een4uoj2cfsho"); // int* laylist = (int*)gmalloc((gvc->numLayers+2)*sizeof(int));
1732 UNSUPPORTED("b5a93beg34iiqtnufv9wanh2r"); // int i, cnt = 0;
1733 UNSUPPORTED("c2uuo0qyuykgxql7fsz1al9h4"); // for (i = 1; i <=gvc->numLayers; i++) {
1734 UNSUPPORTED("7u51wobeze34in0qy7cnjmqv5"); // if (selectedLayer (gvc, i, gvc->numLayers, p)) {
1735 UNSUPPORTED("b5ymvvr45fvj1wbcdyoe57nnd"); // laylist[++cnt] = i;
1736 UNSUPPORTED("8nzcpbtoi924xzu8ze3z6dbft"); // }
1737 UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); // }
1738 UNSUPPORTED("77njmf3w9m7xk714hk5o8hjv5"); // if (cnt) {
1739 UNSUPPORTED("f3878e9jng3sa7ipt8cmlofqs"); // laylist[0] = cnt;
1740 UNSUPPORTED("a3k7ll5ie5r0j4h3t4tefex3b"); // laylist[cnt+1] = gvc->numLayers+1;
1741 UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); // }
1742 UNSUPPORTED("1nyzbeonram6636b1w955bypn"); // else {
1743 UNSUPPORTED("c0ejg4cn6ao9jn7vtsuqug4gl"); // agerr(AGWARN, "The layerselect attribute \"%s\" does not match any layer specifed by the layers attribute - ignored.\n", p);
1744 UNSUPPORTED("f3878e9jng3sa7ipt8cmlofqs"); // laylist[0] = cnt;
1745 UNSUPPORTED("8skx11npk6vn3hbxvcuxklf6v"); // free (laylist);
1746 UNSUPPORTED("45iwrgdr374i74cf8em6uwfmx"); // laylist = NULL;
1747 UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); // }
1748 UNSUPPORTED("30gwy84osotlzmeicu7kfluyp"); // return laylist;
1749 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
1750
1751 throw new UnsupportedOperationException();
1752 }
1753
1754
1755
1756
1757 //3 4kiahfclenuf921uyxg4lzlbs
1758 // static int parse_layers(GVC_t *gvc, graph_t * g, char *p)
1759 public static Object parse_layers(Object... arg) {
1760 UNSUPPORTED("1spuppzfx1me4g279wfftgu5n"); // static int parse_layers(GVC_t *gvc, graph_t * g, char *p)
1761 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
1762 UNSUPPORTED("7v0207mxa8hqzexz49lscukl8"); // int ntok;
1763 UNSUPPORTED("eqt7m58ywry2anaa5wpii01ri"); // char *tok;
1764 UNSUPPORTED("bpt627vzs0r1tzo7jgpyjdssp"); // int sz;
1765 UNSUPPORTED("2v5nye0hqxoem0cn4n22cgcov"); // gvc->layerDelims = agget(g, "layersep");
1766 UNSUPPORTED("2gnxlhqmvfrjzjd75hm5mx6em"); // if (!gvc->layerDelims)
1767 UNSUPPORTED("aia1lj9r0sseuxbuefdo14bao"); // gvc->layerDelims = ":\t ";
1768 UNSUPPORTED("6b9c2dn4yffcjru8dxyzsu37e"); // gvc->layerListDelims = agget(g, "layerlistsep");
1769 UNSUPPORTED("7wf2w4t3x9ak3skyqq8y1okhb"); // if (!gvc->layerListDelims)
1770 UNSUPPORTED("563hs3cgmcdcqb6l4rrpv75ek"); // gvc->layerListDelims = ",";
1771 UNSUPPORTED("8r1h2mlb2u87klqp21y9ilhie"); // if ((tok = strpbrk (gvc->layerDelims, gvc->layerListDelims))) { /* conflict in delimiter strings */
1772 UNSUPPORTED("q0y5qqfvuie4x5nbuh4ltwml"); // agerr(AGWARN, "The character \'%c\' appears in both the layersep and layerlistsep attributes - layerlistsep ignored.\n", *tok);
1773 UNSUPPORTED("5yy5l7k4jffs33fkk86gnxx1y"); // gvc->layerListDelims = "";
1774 UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); // }
1775 UNSUPPORTED("c4wye11e21cuxetha8fjaezcj"); // ntok = 0;
1776 UNSUPPORTED("1gxcbnw3tixp11pk9jkijirao"); // sz = 0;
1777 UNSUPPORTED("2ejr8g3scrhv7fxwj1tno13zd"); // gvc->layers = strdup(p);
1778 UNSUPPORTED("6q7eqo62kv90x2ch8rce2nhwq"); // for (tok = strtok(gvc->layers, gvc->layerDelims); tok;
1779 UNSUPPORTED("577hr51xn1w20008653y51w8j"); // tok = strtok(NULL, gvc->layerDelims)) {
1780 UNSUPPORTED("7gwdsxgme4t8qinotj0dxsvcw"); // ntok++;
1781 UNSUPPORTED("2ffbgwipxpwoyr4fd0k4ha0nq"); // if (ntok > sz) {
1782 UNSUPPORTED("d3yzx9720tr2kq7hefgjdkrp6"); // sz += 128;
1783 UNSUPPORTED("32u0qx8yeqxu4r0bk3enhqi0n"); // gvc->layerIDs = ALLOC(sz, gvc->layerIDs, char *);
1784 UNSUPPORTED("4mhlpjofolwivhm0tl8cxznly"); // }
1785 UNSUPPORTED("3q96x283efzk6afscurxeve1h"); // gvc->layerIDs[ntok] = tok;
1786 UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); // }
1787 UNSUPPORTED("b0n1l1dvbn6aov6g3xvi2i0ur"); // if (ntok) {
1788 UNSUPPORTED("epu81n9xme9sxje3laz6szujx"); // gvc->layerIDs = RALLOC(ntok + 2, gvc->layerIDs, char *); /* shrink to minimum size */
1789 UNSUPPORTED("yd1fq95zbahnl8ztvhpjb71k"); // gvc->layerIDs[0] = NULL;
1790 UNSUPPORTED("557694uxqmnbvy9qb7t1armld"); // gvc->layerIDs[ntok + 1] = NULL;
1791 UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); // }
1792 UNSUPPORTED("c4f8xkcsh8jpj7admwanbez66"); // return ntok;
1793 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
1794
1795 throw new UnsupportedOperationException();
1796 }
1797
1798
1799
1800
1801 //3 4gyjzihgl8che7plolivfm89h
1802 // static int chkOrder(graph_t * g)
1803 public static Object chkOrder(Object... arg) {
1804 UNSUPPORTED("9jzoupo86al5szoppdb9ug4jm"); // static int chkOrder(graph_t * g)
1805 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
1806 UNSUPPORTED("7g8u2dbeh9st5st5kp6oshdu5"); // char *p = agget(g, "outputorder");
1807 UNSUPPORTED("3cvmixd2u1g2d9l03kuxyyxxw"); // if (p) {
1808 UNSUPPORTED("a88zp39raphu4mpw0pi8oq1hi"); // char c = *p;
1809 UNSUPPORTED("a11i71rfjtl0mxznvr2rsxg4r"); // if ((c == 'n') && !strcmp(p + 1, "odesfirst"))
1810 UNSUPPORTED("d6qsecgbj60rq8xaef9umqge9"); // return (1<<0);
1811 UNSUPPORTED("a5f5xut0kypunfkizx4yu77ae"); // if ((c == 'e') && !strcmp(p + 1, "dgesfirst"))
1812 UNSUPPORTED("9boy87u68njstsw43wxf5urh9"); // return (1<<4);
1813 UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); // }
1814 UNSUPPORTED("5oxhd3fvp0gfmrmz12vndnjt"); // return 0;
1815 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
1816
1817 throw new UnsupportedOperationException();
1818 }
1819
1820
1821
1822
1823 //3 33hjwrwudmjobd5yhbvu86jxz
1824 // static void init_layering(GVC_t * gvc, graph_t * g)
1825 public static Object init_layering(Object... arg) {
1826 UNSUPPORTED("7iqktnxyjnxn51eeuuy0oh1uz"); // static void init_layering(GVC_t * gvc, graph_t * g)
1827 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
1828 UNSUPPORTED("76nok3eiyr33qf4ecv69ujxn6"); // char *str;
1829 UNSUPPORTED("avab4390fpb68yais5eijodkt"); // /* free layer strings and pointers from previous graph */
1830 UNSUPPORTED("8zsh0fgdj4ri6w73fr47391cy"); // if (gvc->layers) {
1831 UNSUPPORTED("6zw20p1kbgu9ycram23hk8ece"); // free(gvc->layers);
1832 UNSUPPORTED("a012u6bc7d55ctuf92taryny"); // gvc->layers = NULL;
1833 UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); // }
1834 UNSUPPORTED("42i2j3ry654uexmr231uhaqw8"); // if (gvc->layerIDs) {
1835 UNSUPPORTED("5x7zl391qtijlzmv7wg3my1uh"); // free(gvc->layerIDs);
1836 UNSUPPORTED("b4z8eoj6aem9v33o3snekjt37"); // gvc->layerIDs = NULL;
1837 UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); // }
1838 UNSUPPORTED("1zd3la1zp34vbtw6eiyojzrxi"); // if (gvc->layerlist) {
1839 UNSUPPORTED("c2onv8y2o0rubycnv6cvmfgxx"); // free(gvc->layerlist);
1840 UNSUPPORTED("1ovwh9w5ny7xovqo71y582jpw"); // gvc->layerlist = NULL;
1841 UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); // }
1842 UNSUPPORTED("efigtm6w6713gs6f8j1kdon3p"); // if ((str = agget(g, "layers")) != 0) {
1843 UNSUPPORTED("vdhfuyl28ln9lsrhizcu26ri"); // gvc->numLayers = parse_layers(gvc, g, str);
1844 UNSUPPORTED("2zl1bqc97q5o2qjpkdo7svkrj"); // if (((str = agget(g, "layerselect")) != 0) && *str) {
1845 UNSUPPORTED("428c4zbkpplv4awwcg3ne3q2i"); // gvc->layerlist = parse_layerselect(gvc, g, str);
1846 UNSUPPORTED("flupwh3kosf3fkhkxllllt1"); // }
1847 UNSUPPORTED("c07up7zvrnu2vhzy6d7zcu94g"); // } else {
1848 UNSUPPORTED("b4z8eoj6aem9v33o3snekjt37"); // gvc->layerIDs = NULL;
1849 UNSUPPORTED("d1k0kld2zrm4eln7qp4kx6yaz"); // gvc->numLayers = 1;
1850 UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); // }
1851 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
1852
1853 throw new UnsupportedOperationException();
1854 }
1855
1856
1857
1858
1859 //3 3edoapk4bnc3rsmt3huwoqf9g
1860 // static int numPhysicalLayers (GVJ_t *job)
1861 public static Object numPhysicalLayers(Object... arg) {
1862 UNSUPPORTED("5zoarmqyf1m3t67nl5xahrslu"); // static int numPhysicalLayers (GVJ_t *job)
1863 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
1864 UNSUPPORTED("bzx9zh3zx8kyugkbdhlk4qzte"); // if (job->gvc->layerlist) {
1865 UNSUPPORTED("60ik4am7yzmctb72j26n5lr2q"); // return job->gvc->layerlist[0];
1866 UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); // }
1867 UNSUPPORTED("div10atae09n36x269sl208r1"); // else
1868 UNSUPPORTED("1aeayu3ipqii7ienwaw2fclmc"); // return job->numLayers;
1869 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
1870
1871 throw new UnsupportedOperationException();
1872 }
1873
1874
1875
1876
1877 //3 cpiumi39pczm8e5154f9udcco
1878 // static void firstlayer(GVJ_t *job, int** listp)
1879 public static Object firstlayer(Object... arg) {
1880 UNSUPPORTED("5e25vrbqvnj3q41zkb05shjgt"); // static void firstlayer(GVJ_t *job, int** listp)
1881 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
1882 UNSUPPORTED("90n549z2ovp2q6sbcp8ovmgl5"); // job->numLayers = job->gvc->numLayers;
1883 UNSUPPORTED("bzx9zh3zx8kyugkbdhlk4qzte"); // if (job->gvc->layerlist) {
1884 UNSUPPORTED("2fuv307u38d5mdk8l04r6u4wq"); // int *list = job->gvc->layerlist;
1885 UNSUPPORTED("y80sygu21ondz3a4lzihqypj"); // int cnt = *list++;
1886 UNSUPPORTED("5pz4cc2cq395z3znk5opultm2"); // if ((cnt > 1) && (! (job->flags & (1<<6)))) {
1887 UNSUPPORTED("4gruo7b3gf61r0fw9j6awgase"); // agerr(AGWARN, "layers not supported in %s output\n",
1888 UNSUPPORTED("6aw3ie76clejxz6q2120b63i8"); // job->output_langname);
1889 UNSUPPORTED("edlmftq4sdx2y0m6ghban11vo"); // list[1] = job->numLayers + 1; /* only one layer printed */
1890 UNSUPPORTED("flupwh3kosf3fkhkxllllt1"); // }
1891 UNSUPPORTED("397jrexm8oa7doqg2bmttotgy"); // job->layerNum = *list++;
1892 UNSUPPORTED("74506hoopc6w4pd2tieyyk052"); // *listp = list;
1893 UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); // }
1894 UNSUPPORTED("1nyzbeonram6636b1w955bypn"); // else {
1895 UNSUPPORTED("9njkqrmknfdjv143rey9fn21b"); // if ((job->numLayers > 1)
1896 UNSUPPORTED("b6082dq1axeyie3r2u3gmt90y"); // && (! (job->flags & (1<<6)))) {
1897 UNSUPPORTED("4gruo7b3gf61r0fw9j6awgase"); // agerr(AGWARN, "layers not supported in %s output\n",
1898 UNSUPPORTED("6aw3ie76clejxz6q2120b63i8"); // job->output_langname);
1899 UNSUPPORTED("7aldo2ccuxu5nz7wrjpi2kgbk"); // job->numLayers = 1;
1900 UNSUPPORTED("flupwh3kosf3fkhkxllllt1"); // }
1901 UNSUPPORTED("8fsuke0q52rma3v3dzl4r7nxl"); // job->layerNum = 1;
1902 UNSUPPORTED("8by4zer0vztykds6f7wo09dxl"); // *listp = NULL;
1903 UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); // }
1904 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
1905
1906 throw new UnsupportedOperationException();
1907 }
1908
1909
1910
1911
1912 //3 b445mlh9alsqmydjwlh3lzsnz
1913 // static boolean validlayer(GVJ_t *job)
1914 public static Object validlayer(Object... arg) {
1915 UNSUPPORTED("bfi9hniz5k2qe0dadeqq4ki5b"); // static boolean validlayer(GVJ_t *job)
1916 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
1917 UNSUPPORTED("45m14336nzkr3zwmroo7wwmop"); // return (job->layerNum <= job->numLayers);
1918 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
1919
1920 throw new UnsupportedOperationException();
1921 }
1922
1923
1924
1925
1926 //3 3y21gcvzhj6vn9gl9g6gag119
1927 // static void nextlayer(GVJ_t *job, int** listp)
1928 public static Object nextlayer(Object... arg) {
1929 UNSUPPORTED("28yugcvd6qow68yasmq967pbn"); // static void nextlayer(GVJ_t *job, int** listp)
1930 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
1931 UNSUPPORTED("20yv9az4kpafd26nxc9kj1ggt"); // int *list = *listp;
1932 UNSUPPORTED("essmww0ueu4ulfn9wjtq7m4vl"); // if (list) {
1933 UNSUPPORTED("397jrexm8oa7doqg2bmttotgy"); // job->layerNum = *list++;
1934 UNSUPPORTED("74506hoopc6w4pd2tieyyk052"); // *listp = list;
1935 UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); // }
1936 UNSUPPORTED("div10atae09n36x269sl208r1"); // else
1937 UNSUPPORTED("2xz0u3jthtaln82mr50e5afw8"); // job->layerNum++;
1938 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
1939
1940 throw new UnsupportedOperationException();
1941 }
1942
1943
1944
1945
1946 //3 dpqjdl72ma03lvh522bej00pf
1947 // static point pagecode(GVJ_t *job, char c)
1948 public static Object pagecode(Object... arg) {
1949 UNSUPPORTED("858jif62sg7t8bfj0q5dgi77b"); // static point pagecode(GVJ_t *job, char c)
1950 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
1951 UNSUPPORTED("e5r3mj8btrkw973m7l0rritko"); // point rv;
1952 UNSUPPORTED("b2ritu2u2kl5u66e81tvv21f8"); // rv.x = rv.y = 0;
1953 UNSUPPORTED("8amt8fmqdipygnxirowfbawox"); // switch (c) {
1954 UNSUPPORTED("2s6hwvc7utwke7l45suhmumhk"); // case 'T':
1955 UNSUPPORTED("13gd95p7284sp2kf1rup3gssg"); // job->pagesArrayFirst.y = job->pagesArraySize.y - 1;
1956 UNSUPPORTED("6nseewwep98wlkw901fwmkkr4"); // rv.y = -1;
1957 UNSUPPORTED("6aw91xzjmqvmtdvt1di23af8y"); // break;
1958 UNSUPPORTED("9nbe45sgjnq9pebqfddm57j34"); // case 'B':
1959 UNSUPPORTED("8wyp8gbxgnri6agdl2zv0nzbv"); // rv.y = 1;
1960 UNSUPPORTED("6aw91xzjmqvmtdvt1di23af8y"); // break;
1961 UNSUPPORTED("92wd4259ggzetbnn56kh75cap"); // case 'L':
1962 UNSUPPORTED("9zlyi4rkx1oa6app1mk6zdqs1"); // rv.x = 1;
1963 UNSUPPORTED("6aw91xzjmqvmtdvt1di23af8y"); // break;
1964 UNSUPPORTED("9rqaici2t4gmxgbc4jjbi5147"); // case 'R':
1965 UNSUPPORTED("d4nni7llszxdo8f1w0qosk8n2"); // job->pagesArrayFirst.x = job->pagesArraySize.x - 1;
1966 UNSUPPORTED("92r9rc8z07ot90pz7kfoilce8"); // rv.x = -1;
1967 UNSUPPORTED("6aw91xzjmqvmtdvt1di23af8y"); // break;
1968 UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); // }
1969 UNSUPPORTED("v7vqc9l7ge2bfdwnw11z7rzi"); // return rv;
1970 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
1971
1972 throw new UnsupportedOperationException();
1973 }
1974
1975
1976
1977
1978 //3 4wn2yfi2l0bfzlw5fyeeunug7
1979 // static void init_job_pagination(GVJ_t * job, graph_t *g)
1980 public static Object init_job_pagination(Object... arg) {
1981 UNSUPPORTED("3i2vk6s34y6kty29dnciiqr2i"); // static void init_job_pagination(GVJ_t * job, graph_t *g)
1982 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
1983 UNSUPPORTED("eyew5ay5wwktz4fysz0b78ugv"); // GVC_t *gvc = job->gvc;
1984 UNSUPPORTED("1p9i7j8ykvafmept9v326ki38"); // pointf pageSize; /* page size for the graph - points*/
1985 UNSUPPORTED("cbreumvyopnc8jb823f3fg490"); // pointf imageSize; /* image size on one page of the graph - points */
1986 UNSUPPORTED("bvl8rq7rhjfofyjexcv6ath9j"); // pointf margin; /* margin for a page of the graph - points */
1987 UNSUPPORTED("dlxve5gfi5a0trnjntul0l7vt"); // pointf centering = {0.0, 0.0}; /* centering offset - points */
1988 UNSUPPORTED("7wipi75cu71j2ubfdid86r3mz"); // /* unpaginated image size - in points - in graph orientation */
1989 UNSUPPORTED("4hd3j07l34jpp34kggybuv7g7"); // imageSize = job->view;
1990 UNSUPPORTED("euhifkui6pusftx1ts79yvw64"); // /* rotate imageSize to page orientation */
1991 UNSUPPORTED("eoj2n5u9aqzo40fe4thgnio4v"); // if (job->rotation)
1992 UNSUPPORTED("5bktmmmrdanogwscr9akvqvgp"); // imageSize = exch_xyf(imageSize);
1993 UNSUPPORTED("cj9bqu9dsr79jfgtfgxyw1bt7"); // /* margin - in points - in page orientation */
1994 UNSUPPORTED("2prr8ugshi1wh3b0uqq1rytbq"); // margin = job->margin;
1995 UNSUPPORTED("e0syewo5shkbuvckfgxahgawk"); // /* determine pagination */
1996 UNSUPPORTED("3ben86oxo4b9mvbfear0uaa5k"); // if (gvc->graph_sets_pageSize && (job->flags & (1<<5))) {
1997 UNSUPPORTED("e9k3pfk8bwgj68mf5plbws00a"); // /* page was set by user */
1998 UNSUPPORTED("26ouotfw5qjqy45epxvh85q2a"); // /* determine size of page for image */
1999 UNSUPPORTED("cmeyghelvujbqypzncob2k347"); // pageSize.x = gvc->pageSize.x - 2 * margin.x;
2000 UNSUPPORTED("4hhbnhebhvdvguv07gl1exqzr"); // pageSize.y = gvc->pageSize.y - 2 * margin.y;
2001 UNSUPPORTED("7dzf9uvb5ahp4ja7cchy16e9q"); // if (pageSize.x < .0001)
2002 UNSUPPORTED("8qfk6mlrxuxel1fxryn3xxsw7"); // job->pagesArraySize.x = 1;
2003 UNSUPPORTED("8k75h069sv2k9b6tgz77dscwd"); // else {
2004 UNSUPPORTED("39zkkuuxu0d1bo4xiaa6rvio1"); // job->pagesArraySize.x = (int)(imageSize.x / pageSize.x);
2005 UNSUPPORTED("crpbptuooqpagkwwoovfr87ze"); // if ((imageSize.x - (job->pagesArraySize.x * pageSize.x)) > .0001)
2006 UNSUPPORTED("fvkmj6z0flmool752kj3ezui"); // job->pagesArraySize.x++;
2007 UNSUPPORTED("flupwh3kosf3fkhkxllllt1"); // }
2008 UNSUPPORTED("aeqvjc584z1k3o3btf1z27yi"); // if (pageSize.y < .0001)
2009 UNSUPPORTED("9i2hzfup3uawsgs8xz84cvm3u"); // job->pagesArraySize.y = 1;
2010 UNSUPPORTED("8k75h069sv2k9b6tgz77dscwd"); // else {
2011 UNSUPPORTED("eu05pk9cbv4r7teo48863rut5"); // job->pagesArraySize.y = (int)(imageSize.y / pageSize.y);
2012 UNSUPPORTED("9ec6tcamvhf35mwg760yp31tj"); // if ((imageSize.y - (job->pagesArraySize.y * pageSize.y)) > .0001)
2013 UNSUPPORTED("2ptmkss0hqmoiaitn5hc03ccy"); // job->pagesArraySize.y++;
2014 UNSUPPORTED("flupwh3kosf3fkhkxllllt1"); // }
2015 UNSUPPORTED("dz4mq3t7i81irfy7jpgoo8slq"); // job->numPages = job->pagesArraySize.x * job->pagesArraySize.y;
2016 UNSUPPORTED("8umi1sn4x93betwy7p6c2ceqk"); // /* find the drawable size in points */
2017 UNSUPPORTED("eei96a8vzvruyjbss0f6i4qe9"); // imageSize.x = MIN(imageSize.x, pageSize.x);
2018 UNSUPPORTED("a7bw5k7czo7ubsb5x8785vxd7"); // imageSize.y = MIN(imageSize.y, pageSize.y);
2019 UNSUPPORTED("c07up7zvrnu2vhzy6d7zcu94g"); // } else {
2020 UNSUPPORTED("226xpnvf8rs1n0r4ei8klybwz"); // /* page not set by user, use default from renderer */
2021 UNSUPPORTED("916om7kp0deyvh2ghmt7tmt47"); // if (job->render.features) {
2022 UNSUPPORTED("21jloev0l8fed4itydbq5py3k"); // pageSize.x = job->device.features->default_pagesize.x - 2*margin.x;
2023 UNSUPPORTED("6c84lafv8rataik7pt8umib2"); // if (pageSize.x < 0.)
2024 UNSUPPORTED("86x0hskgajl1rvbco28b3ftih"); // pageSize.x = 0.;
2025 UNSUPPORTED("bvs3ijknux4wq8q8oh2adxyyp"); // pageSize.y = job->device.features->default_pagesize.y - 2*margin.y;
2026 UNSUPPORTED("5ff2kpbbm9iear9jk4p33l1eu"); // if (pageSize.y < 0.)
2027 UNSUPPORTED("nnszo3g5yfwbcgr1rfyh9htr"); // pageSize.y = 0.;
2028 UNSUPPORTED("flupwh3kosf3fkhkxllllt1"); // }
2029 UNSUPPORTED("9352ql3e58qs4fzapgjfrms2s"); // else
2030 UNSUPPORTED("7flj6fib45vcdli5dtp5hzydu"); // pageSize.x = pageSize.y = 0.;
2031 UNSUPPORTED("563r9ecafak4g1eplsnjkqdi3"); // job->pagesArraySize.x = job->pagesArraySize.y = job->numPages = 1;
2032 UNSUPPORTED("2ey4w19bytoq2sls78pheoku7"); // if (pageSize.x < imageSize.x)
2033 UNSUPPORTED("15499m2w5qjd6yd4xa4ixhvjr"); // pageSize.x = imageSize.x;
2034 UNSUPPORTED("austii7xnr5g8y2fjg8l6gl3"); // if (pageSize.y < imageSize.y)
2035 UNSUPPORTED("bblz8gxp9uoak4lx31ok0b8b8"); // pageSize.y = imageSize.y;
2036 UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); // }
2037 UNSUPPORTED("bbafhwu8tnhlc6acwajgx43vy"); // /* initial window size */
2038 UNSUPPORTED("8362vxhywm5vjg5yy2rukot0l"); // //fprintf(stderr,"page=%g,%g dpi=%g,%g zoom=%g\n", pageSize.x, pageSize.y, job->dpi.x, job->dpi.y, job->zoom);
2039 UNSUPPORTED("9ov3mqr5woomu5pa3ijim18bp"); // job->width = ROUND((pageSize.x + 2*margin.x) * job->dpi.x / 72);
2040 UNSUPPORTED("dtc0guw406xkcekddmamm5rae"); // job->height = ROUND((pageSize.y + 2*margin.y) * job->dpi.y / 72);
2041 UNSUPPORTED("7osvdh761zt2s8mi855ch8az8"); // /* set up pagedir */
2042 UNSUPPORTED("1cf5m3zu5ms9hd5uutq68nzfr"); // job->pagesArrayMajor.x = job->pagesArrayMajor.y
2043 UNSUPPORTED("cuhzmvcf28hg8mxfw6jzahyz1"); // = job->pagesArrayMinor.x = job->pagesArrayMinor.y = 0;
2044 UNSUPPORTED("910btb676tbzhf5zag3qt6p6y"); // job->pagesArrayFirst.x = job->pagesArrayFirst.y = 0;
2045 UNSUPPORTED("58i27py4gadbh4uynztkillbo"); // job->pagesArrayMajor = pagecode(job, gvc->pagedir[0]);
2046 UNSUPPORTED("4g3yxj64kn7kau45efo78icdp"); // job->pagesArrayMinor = pagecode(job, gvc->pagedir[1]);
2047 UNSUPPORTED("crjkqjf6ujmxl2713vrq1mowh"); // if ((abs(job->pagesArrayMajor.x + job->pagesArrayMinor.x) != 1)
2048 UNSUPPORTED("8xuyb2svr5wn3bsnke50x9egf"); // || (abs(job->pagesArrayMajor.y + job->pagesArrayMinor.y) != 1)) {
2049 UNSUPPORTED("rupytferkko4y32b1y4nvfda"); // job->pagesArrayMajor = pagecode(job, 'B');
2050 UNSUPPORTED("3oh81o2dhshk0cwkh0se96nqd"); // job->pagesArrayMinor = pagecode(job, 'L');
2051 UNSUPPORTED("6fm493t81wrciw7a1qwrwwv2v"); // agerr(AGWARN, "pagedir=%s ignored\n", gvc->pagedir);
2052 UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); // }
2053 UNSUPPORTED("csilklooo31ve0sxcvlk6sz50"); // /* determine page box including centering */
2054 UNSUPPORTED("alu1x0je9svo1m9vsro4jt661"); // if (GD_drawing(g)->centered) {
2055 UNSUPPORTED("bd1di5q520ro9gdu3luri6uqw"); // if (pageSize.x > imageSize.x)
2056 UNSUPPORTED("by6kyuqhzuke68yh4d1zsgjl8"); // centering.x = (pageSize.x - imageSize.x) / 2;
2057 UNSUPPORTED("245d5xe3ls4raq0ru2opv9bjk"); // if (pageSize.y > imageSize.y)
2058 UNSUPPORTED("entb38itr4f1eoghh2si1k2yc"); // centering.y = (pageSize.y - imageSize.y) / 2;
2059 UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); // }
2060 UNSUPPORTED("2jawgno03mhhf060l1l58y85o"); // /* rotate back into graph orientation */
2061 UNSUPPORTED("3h1yo631e2fq69mxwoggya716"); // if (job->rotation) {
2062 UNSUPPORTED("5bktmmmrdanogwscr9akvqvgp"); // imageSize = exch_xyf(imageSize);
2063 UNSUPPORTED("cdvkc3n17wltx1ckd9ctxu40"); // pageSize = exch_xyf(pageSize);
2064 UNSUPPORTED("aoommvrw3wcdqhpe1d9z2nrbr"); // margin = exch_xyf(margin);
2065 UNSUPPORTED("am7xuokdmqu2xn6gmw3imq4ys"); // centering = exch_xyf(centering);
2066 UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); // }
2067 UNSUPPORTED("452t79mqvs76inxtds258lmwc"); // /* canvas area, centered if necessary */
2068 UNSUPPORTED("egq8epmn2ww7uiikth9xfqyg2"); // job->canvasBox.LL.x = margin.x + centering.x;
2069 UNSUPPORTED("317995ucd58ato9cs7ssy4kw5"); // job->canvasBox.LL.y = margin.y + centering.y;
2070 UNSUPPORTED("9dlme2kqph7etv96uch6et43x"); // job->canvasBox.UR.x = margin.x + centering.x + imageSize.x;
2071 UNSUPPORTED("5eznso0zqq6thx7ifejpl7egg"); // job->canvasBox.UR.y = margin.y + centering.y + imageSize.y;
2072 UNSUPPORTED("ejrxa302gsbb1mtk617yev4ma"); // /* size of one page in graph units */
2073 UNSUPPORTED("2ktn14lo6mijabcu413qkefxe"); // job->pageSize.x = imageSize.x / job->zoom;
2074 UNSUPPORTED("mo56q7xk3qwgskgf05s41bku"); // job->pageSize.y = imageSize.y / job->zoom;
2075 UNSUPPORTED("b5mgup3twbezb6h3b77frrr32"); // /* pageBoundingBox in device units and page orientation */
2076 UNSUPPORTED("wgrjodb4gag4o6bbqdxsct4f"); // job->pageBoundingBox.LL.x = ROUND(job->canvasBox.LL.x * job->dpi.x / 72);
2077 UNSUPPORTED("4ibgme5rpasxyxnxfo9nx0uej"); // job->pageBoundingBox.LL.y = ROUND(job->canvasBox.LL.y * job->dpi.y / 72);
2078 UNSUPPORTED("23f72iko8ym45z6o2v06lmrf8"); // job->pageBoundingBox.UR.x = ROUND(job->canvasBox.UR.x * job->dpi.x / 72);
2079 UNSUPPORTED("cazmki1n27pnpo1rf83qc35cv"); // job->pageBoundingBox.UR.y = ROUND(job->canvasBox.UR.y * job->dpi.y / 72);
2080 UNSUPPORTED("3h1yo631e2fq69mxwoggya716"); // if (job->rotation) {
2081 UNSUPPORTED("effd896sgn6sehp6jdoqfo5bu"); // job->pageBoundingBox.LL = exch_xy(job->pageBoundingBox.LL);
2082 UNSUPPORTED("e6umepvfyiglcz7y9070vqcw1"); // job->pageBoundingBox.UR = exch_xy(job->pageBoundingBox.UR);
2083 UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); // }
2084 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
2085
2086 throw new UnsupportedOperationException();
2087 }
2088
2089
2090
2091
2092 //3 18839plafofp0mij32iifl4kw
2093 // static void firstpage(GVJ_t *job)
2094 public static Object firstpage(Object... arg) {
2095 UNSUPPORTED("54ikst765kaurqs5qbxgw62pi"); // static void firstpage(GVJ_t *job)
2096 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
2097 UNSUPPORTED("d5tvlsaovhs5xq1fsq2ff13ea"); // job->pagesArrayElem = job->pagesArrayFirst;
2098 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
2099
2100 throw new UnsupportedOperationException();
2101 }
2102
2103
2104
2105
2106 //3 1oosdfui4w6wrmjyrea5q0q5j
2107 // static boolean validpage(GVJ_t *job)
2108 public static Object validpage(Object... arg) {
2109 UNSUPPORTED("5hdqj8s4dsinb9hoj6ra36f9w"); // static boolean validpage(GVJ_t *job)
2110 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
2111 UNSUPPORTED("6s658komj0oc3gl02m6w1a5cl"); // return ((job->pagesArrayElem.x >= 0)
2112 UNSUPPORTED("i8aw94fegecco4s00otz3bb0"); // && (job->pagesArrayElem.x < job->pagesArraySize.x)
2113 UNSUPPORTED("61clso3i8seexlw62qjygdpkc"); // && (job->pagesArrayElem.y >= 0)
2114 UNSUPPORTED("aude4er9wxhdfvjg0cm8qe53l"); // && (job->pagesArrayElem.y < job->pagesArraySize.y));
2115 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
2116
2117 throw new UnsupportedOperationException();
2118 }
2119
2120
2121
2122
2123 //3 9xha5eg5k3mbziq2ptbw1gyyk
2124 // static void nextpage(GVJ_t *job)
2125 public static Object nextpage(Object... arg) {
2126 UNSUPPORTED("3zzzr5yvj7mho7ylmluju8zzv"); // static void nextpage(GVJ_t *job)
2127 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
2128 UNSUPPORTED("90v54lwwxx1bsav5znrj48tkj"); // job->pagesArrayElem = add_point(job->pagesArrayElem, job->pagesArrayMinor);
2129 UNSUPPORTED("9lqhnwlrk62cxcln9uq0024y0"); // if (validpage(job) == 0) {
2130 UNSUPPORTED("2mcnl5q2zavzvatv4bugp5g6v"); // if (job->pagesArrayMajor.y)
2131 UNSUPPORTED("53fqbcbkex674c100tfx744f6"); // job->pagesArrayElem.x = job->pagesArrayFirst.x;
2132 UNSUPPORTED("9352ql3e58qs4fzapgjfrms2s"); // else
2133 UNSUPPORTED("503luvfr4rh4kt3ktfo48tii4"); // job->pagesArrayElem.y = job->pagesArrayFirst.y;
2134 UNSUPPORTED("a179fxb17hjyc52yjgeshme15"); // job->pagesArrayElem = add_point(job->pagesArrayElem, job->pagesArrayMajor);
2135 UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); // }
2136 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
2137
2138 throw new UnsupportedOperationException();
2139 }
2140
2141
2142
2143
2144 //3 a7du41byqeco4ri9ytgrmrv91
2145 // static boolean write_edge_test(Agraph_t * g, Agedge_t * e)
2146 public static Object write_edge_test(Object... arg) {
2147 UNSUPPORTED("9rfens9tggchdklhfwa4kaqlu"); // static boolean write_edge_test(Agraph_t * g, Agedge_t * e)
2148 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
2149 UNSUPPORTED("5qsdev7ikmpmm9zepv8ye0zy6"); // Agraph_t *sg;
2150 UNSUPPORTED("53xzwretgdbd0atozc0w6hagb"); // int c;
2151 UNSUPPORTED("99d9j6m0161wdv2tu4wbf3ifi"); // for (c = 1; c <= GD_n_cluster(g); c++) {
2152 UNSUPPORTED("cuf43q4kl3kqgyuuxdqve1mqt"); // sg = GD_clust(g)[c];
2153 UNSUPPORTED("72iyzot8hjs1ni2lzvvc2ibn2"); // if (agcontains(sg, e))
2154 UNSUPPORTED("6f1138i13x0xz1bf1thxgjgka"); // return 0;
2155 UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); // }
2156 UNSUPPORTED("8fwlqtemsmckleh6946lyd8mw"); // return NOT(0);
2157 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
2158
2159 throw new UnsupportedOperationException();
2160 }
2161
2162
2163
2164
2165 //3 blr202hbxs2lw3k393qohaw2i
2166 // static boolean write_node_test(Agraph_t * g, Agnode_t * n)
2167 public static Object write_node_test(Object... arg) {
2168 UNSUPPORTED("9xuxw9sbimnioecqbuwnav0qp"); // static boolean write_node_test(Agraph_t * g, Agnode_t * n)
2169 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
2170 UNSUPPORTED("5qsdev7ikmpmm9zepv8ye0zy6"); // Agraph_t *sg;
2171 UNSUPPORTED("53xzwretgdbd0atozc0w6hagb"); // int c;
2172 UNSUPPORTED("99d9j6m0161wdv2tu4wbf3ifi"); // for (c = 1; c <= GD_n_cluster(g); c++) {
2173 UNSUPPORTED("cuf43q4kl3kqgyuuxdqve1mqt"); // sg = GD_clust(g)[c];
2174 UNSUPPORTED("4mgclp1plbdi4oudwrp9t4oh2"); // if (agcontains(sg, n))
2175 UNSUPPORTED("6f1138i13x0xz1bf1thxgjgka"); // return 0;
2176 UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); // }
2177 UNSUPPORTED("8fwlqtemsmckleh6946lyd8mw"); // return NOT(0);
2178 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
2179
2180 throw new UnsupportedOperationException();
2181 }
2182
2183
2184
2185
2186 //3 3w1wzp6uh4yl5o7brxcuf9ip6
2187 // static pointf* copyPts (pointf* pts, int* ptsize, xdot_point* inpts, int numpts)
2188 public static Object copyPts(Object... arg) {
2189 UNSUPPORTED("1wmmoe7m5528rl69n3zrnxhrg"); // static pointf*
2190 UNSUPPORTED("7bm15tetrusr4tjv45g1l12mm"); // copyPts (pointf* pts, int* ptsize, xdot_point* inpts, int numpts)
2191 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
2192 UNSUPPORTED("9a0g5x0xovxojrvkasvwowcw5"); // int i, sz = *ptsize;
2193 UNSUPPORTED("a9llhmmnr8bimltlwtihii1cr"); // if (numpts > sz) {
2194 UNSUPPORTED("3z4f2367ql9ea8y2br7xxotsn"); // sz = MAX(2*sz, numpts);
2195 UNSUPPORTED("20m3u8zv7b0bef39rhk9o4ft5"); // pts = RALLOC(sz, pts, pointf);
2196 UNSUPPORTED("klakg17zs75ckw23eh65hsxj"); // *ptsize = sz;
2197 UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); // }
2198 UNSUPPORTED("5alxr1b92wrqvkbrhhkibw4n0"); // for (i = 0; i < numpts; i++) {
2199 UNSUPPORTED("23z0p3o7uw6iisz8rz93fmju8"); // pts[i].x = inpts[i].x;
2200 UNSUPPORTED("1otoj1bflw7ets1aqhi7x3gv7"); // pts[i].y = inpts[i].y;
2201 UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); // }
2202 UNSUPPORTED("b7gk8q1reftzri269holggnig"); // return pts;
2203 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
2204
2205 throw new UnsupportedOperationException();
2206 }
2207
2208
2209
2210
2211 //3 2ho96kyoz7afiqvpkgzje2q17
2212 // static void emit_xdot (GVJ_t * job, xdot* xd)
2213 public static Object emit_xdot(Object... arg) {
2214 UNSUPPORTED("dx3xx20717wqwhmrxmr2vve4w"); // static void emit_xdot (GVJ_t * job, xdot* xd)
2215 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
2216 UNSUPPORTED("2p6ji7mn6c9yb2wjrxpfdi2a7"); // int image_warn = 1;
2217 UNSUPPORTED("4fdllwmvxpz1l1wbhs4x0nd8h"); // int ptsize = 1000;
2218 UNSUPPORTED("14sqwaw2nua8zxlzi03vrp99n"); // pointf* pts = (pointf*)gmalloc((1000)*sizeof(pointf));
2219 UNSUPPORTED("6h54fnrtmztsxuhsa6imjz1a7"); // exdot_op* op;
2220 UNSUPPORTED("fliif79u3s8wl3il1sr4xy7m"); // int i, angle;
2221 UNSUPPORTED("a0vsnu7j685g9wawdylnp9ack"); // char** styles = 0;
2222 UNSUPPORTED("610stn97kmwddhnpeizvxmri2"); // int filled = 1;
2223 UNSUPPORTED("9go5curik6dnbejv5o2pj8ve2"); // op = (exdot_op*)(xd->ops);
2224 UNSUPPORTED("dvwaxn9xbj2jw2hjwvvs0tj3z"); // for (i = 0; i < xd->cnt; i++) {
2225 UNSUPPORTED("ab1ajnetstzss8ksa66rwdtze"); // switch (op->op.kind) {
2226 UNSUPPORTED("1texeok1es39lsgo5wdppbco2"); // case xd_filled_ellipse :
2227 UNSUPPORTED("effcskuftros0sla2ltem13mh"); // case xd_unfilled_ellipse :
2228 UNSUPPORTED("9oxng5yti9jzjlhlee8ivkduh"); // if (boxf_overlap(op->bb, job->clip)) {
2229 UNSUPPORTED("eh7zpmojvvc2ava7e01p17wy3"); // pts[0].x = op->op.u.ellipse.x - op->op.u.ellipse.w;
2230 UNSUPPORTED("6buxv3e1hyjli0lwoxxp24v0a"); // pts[0].y = op->op.u.ellipse.y - op->op.u.ellipse.h;
2231 UNSUPPORTED("7zuf0gmhnqw8pehovb01ajiff"); // pts[1].x = op->op.u.ellipse.w;
2232 UNSUPPORTED("8jfm3tgnfah6oxs36u6auntxy"); // pts[1].y = op->op.u.ellipse.h;
2233 UNSUPPORTED("9qjmukp231ben11immdj4r1tz"); // gvrender_ellipse(job, pts, 2, (op->op.kind == xd_filled_ellipse?filled:0));
2234 UNSUPPORTED("6t98dcecgbvbvtpycwiq2ynnj"); // }
2235 UNSUPPORTED("ai3czg6gaaxspsmndknpyvuiu"); // break;
2236 UNSUPPORTED("40fjmoej0qk9hwneja77jlo2y"); // case xd_filled_polygon :
2237 UNSUPPORTED("6uw61r6bh4tiicbj46yxr9t4k"); // case xd_unfilled_polygon :
2238 UNSUPPORTED("9oxng5yti9jzjlhlee8ivkduh"); // if (boxf_overlap(op->bb, job->clip)) {
2239 UNSUPPORTED("e8xah2ix2nhclr9bifa3tcc8x"); // pts = copyPts (pts, &ptsize, op->op.u.polygon.pts, op->op.u.polygon.cnt);
2240 UNSUPPORTED("40c49lgnwfti09qhawe9qm3f7"); // gvrender_polygon(job, pts, op->op.u.polygon.cnt, (op->op.kind == xd_filled_polygon?filled:0));
2241 UNSUPPORTED("6t98dcecgbvbvtpycwiq2ynnj"); // }
2242 UNSUPPORTED("ai3czg6gaaxspsmndknpyvuiu"); // break;
2243 UNSUPPORTED("4eu4a2drbgdgq6xb3lnl3hn9y"); // case xd_filled_bezier :
2244 UNSUPPORTED("bn514k7swi4s6uclqqke583n8"); // case xd_unfilled_bezier :
2245 UNSUPPORTED("9oxng5yti9jzjlhlee8ivkduh"); // if (boxf_overlap(op->bb, job->clip)) {
2246 UNSUPPORTED("2g406s0cpa1h7r9vudzsxwz3b"); // pts = copyPts (pts, &ptsize, op->op.u.bezier.pts, op->op.u.bezier.cnt);
2247 UNSUPPORTED("3kzwg9cpwabfnvuyfvvt0e4c9"); // gvrender_beziercurve(job, pts, op->op.u.bezier.cnt, 0, 0, (op->op.kind == xd_filled_bezier?filled:0));
2248 UNSUPPORTED("6t98dcecgbvbvtpycwiq2ynnj"); // }
2249 UNSUPPORTED("ai3czg6gaaxspsmndknpyvuiu"); // break;
2250 UNSUPPORTED("1l7ha9akoh6yew2v54hvu3del"); // case xd_polyline :
2251 UNSUPPORTED("9oxng5yti9jzjlhlee8ivkduh"); // if (boxf_overlap(op->bb, job->clip)) {
2252 UNSUPPORTED("75vwkjetu3vs2efqgkquomhey"); // pts = copyPts (pts, &ptsize, op->op.u.polyline.pts, op->op.u.polyline.cnt);
2253 UNSUPPORTED("2kirl6fra7pbqwmtc9b9rav42"); // gvrender_polyline(job, pts, op->op.u.polyline.cnt);
2254 UNSUPPORTED("6t98dcecgbvbvtpycwiq2ynnj"); // }
2255 UNSUPPORTED("ai3czg6gaaxspsmndknpyvuiu"); // break;
2256 UNSUPPORTED("60mg8gze602593bf2vddicza0"); // case xd_text :
2257 UNSUPPORTED("9oxng5yti9jzjlhlee8ivkduh"); // if (boxf_overlap(op->bb, job->clip)) {
2258 UNSUPPORTED("djw3lr9bvuzdg88p1b61ibm23"); // pts[0].x = op->op.u.text.x;
2259 UNSUPPORTED("405lw9ptftz28hgpp0qcf6ggg"); // pts[0].y = op->op.u.text.y;
2260 UNSUPPORTED("8uwiw0r7tra0g01788ktwkt8t"); // gvrender_textspan(job, pts[0], op->span);
2261 UNSUPPORTED("6t98dcecgbvbvtpycwiq2ynnj"); // }
2262 UNSUPPORTED("ai3czg6gaaxspsmndknpyvuiu"); // break;
2263 UNSUPPORTED("298qj2a6o0kxeatu0jgvoi784"); // case xd_fill_color :
2264 UNSUPPORTED("3zv13wowl159snnsunkxkjtug"); // gvrender_set_fillcolor(job, op->op.u.color);
2265 UNSUPPORTED("7ek7aftv8z293izx886r01oqm"); // filled = 1;
2266 UNSUPPORTED("ai3czg6gaaxspsmndknpyvuiu"); // break;
2267 UNSUPPORTED("qwcu5b23c4g1dkhz5kg9foza"); // case xd_pen_color :
2268 UNSUPPORTED("1zlhprkxd9efydpc2r24kd7fa"); // gvrender_set_pencolor(job, op->op.u.color);
2269 UNSUPPORTED("7ek7aftv8z293izx886r01oqm"); // filled = 1;
2270 UNSUPPORTED("ai3czg6gaaxspsmndknpyvuiu"); // break;
2271 UNSUPPORTED("8yhndo0ghuwhbavc33g7v21ni"); // case xd_grad_fill_color :
2272 UNSUPPORTED("6dbei3uox5ql5a1vaaguh0xzp"); // {
2273 UNSUPPORTED("briow60sq6ay4k0slv0k1e0ai"); // char* clr0;
2274 UNSUPPORTED("1d5jtx9oz042hr4a21vm9wd8s"); // char* clr1;
2275 UNSUPPORTED("9tmq69gqblhx0uj3ylye71gdm"); // float frac;
2276 UNSUPPORTED("3qtmddjw3ecnb2jfielq996dh"); // if (op->op.u.grad_color.type == xd_radial) {
2277 UNSUPPORTED("7wjddh54icciyrvc03tmou0k6"); // xdot_radial_grad* p = &op->op.u.grad_color.u.ring;
2278 UNSUPPORTED("82vevzieh8c8a5vw0c3537ysr"); // clr0 = p->stops[0].color;
2279 UNSUPPORTED("25x3dhc524e69l7m63fm0botd"); // clr1 = p->stops[1].color;
2280 UNSUPPORTED("2yubqrr4rmb6wyok8zz3d4l4b"); // frac = p->stops[1].frac;
2281 UNSUPPORTED("c7ot1hnnumwoi4dv6bz51rr86"); // if ((p->x1 == p->x0) && (p->y1 == p->y0))
2282 UNSUPPORTED("2wcz57lhb7pd9xqu6a16n149a"); // angle = 0;
2283 UNSUPPORTED("9acag2yacl63g8rg6r1alu62x"); // else
2284 UNSUPPORTED("o9ps6kmfn10hdy083p2fd3as"); // angle = (int)(180.0*acos((p->x0 - p->x1)/p->r0)/M_PI);
2285 UNSUPPORTED("34ytjoiyf9fnxnng5a51xtnj9"); // gvrender_set_fillcolor(job, clr0);
2286 UNSUPPORTED("7ynfnu592qnwkfm90qrka6a4n"); // gvrender_set_gradient_vals(job, clr1, angle, frac);
2287 UNSUPPORTED("5jf506rwz9snq4d6ozpjvg3yg"); // filled = 3;
2288 UNSUPPORTED("6eq5kf0bj692bokt0bixy1ixh"); // }
2289 UNSUPPORTED("d28blrbmwwqp80cyksuz7dwx9"); // else {
2290 UNSUPPORTED("828t3nqv5ns5qvt2e0glyg2ju"); // xdot_linear_grad* p = &op->op.u.grad_color.u.ling;
2291 UNSUPPORTED("82vevzieh8c8a5vw0c3537ysr"); // clr0 = p->stops[0].color;
2292 UNSUPPORTED("25x3dhc524e69l7m63fm0botd"); // clr1 = p->stops[1].color;
2293 UNSUPPORTED("2yubqrr4rmb6wyok8zz3d4l4b"); // frac = p->stops[1].frac;
2294 UNSUPPORTED("3w9y8g31d63rmvl7ccv0624ye"); // angle = (int)(180.0*atan2(p->y1-p->y0,p->x1-p->x0)/M_PI);
2295 UNSUPPORTED("34ytjoiyf9fnxnng5a51xtnj9"); // gvrender_set_fillcolor(job, clr0);
2296 UNSUPPORTED("7ynfnu592qnwkfm90qrka6a4n"); // gvrender_set_gradient_vals(job, clr1, angle, frac);
2297 UNSUPPORTED("7bikp52v1ey2yil3rybx6nris"); // filled = 2;
2298 UNSUPPORTED("6eq5kf0bj692bokt0bixy1ixh"); // }
2299 UNSUPPORTED("6t98dcecgbvbvtpycwiq2ynnj"); // }
2300 UNSUPPORTED("ai3czg6gaaxspsmndknpyvuiu"); // break;
2301 UNSUPPORTED("6qu5ytxcjfat0eg64bep0kksy"); // case xd_grad_pen_color :
2302 UNSUPPORTED("as7jx69a7p4gq2bo9ij43797s"); // agerr (AGWARN, "gradient pen colors not yet supported.\n");
2303 UNSUPPORTED("ai3czg6gaaxspsmndknpyvuiu"); // break;
2304 UNSUPPORTED("56n5nfs2z21zo7ac9z2ehf12l"); // case xd_font :
2305 UNSUPPORTED("94uhdsl49d2gyeyqzafatdww3"); // /* fontsize and fontname already encoded via xdotBB */
2306 UNSUPPORTED("ai3czg6gaaxspsmndknpyvuiu"); // break;
2307 UNSUPPORTED("60cspx7wpewmlz0ykd29ul27c"); // case xd_style :
2308 UNSUPPORTED("2du13zy7ki13r60g7zvb6kuz1"); // styles = parse_style (op->op.u.style);
2309 UNSUPPORTED("a5m3xgb63z0xz7nf5eez363f2"); // gvrender_set_style (job, styles);
2310 UNSUPPORTED("ai3czg6gaaxspsmndknpyvuiu"); // break;
2311 UNSUPPORTED("2kiqf0asbojt8x24lr5eykca1"); // case xd_fontchar :
2312 UNSUPPORTED("37zacnm7f82nfay9tbqkaay4d"); // /* font characteristics already encoded via xdotBB */
2313 UNSUPPORTED("ai3czg6gaaxspsmndknpyvuiu"); // break;
2314 UNSUPPORTED("91w60vqrbkqvk3q82pdoxz0y"); // case xd_image :
2315 UNSUPPORTED("6f7cw2kz0kg3lxhd6cgr661hm"); // if (image_warn) {
2316 UNSUPPORTED("euk5nzqu0sjv93t5ys3lhhx1q"); // agerr(AGWARN, "Images unsupported in \"background\" attribute\n");
2317 UNSUPPORTED("6omlto7p0ejzb4vi9rt3vyuck"); // image_warn = 0;
2318 UNSUPPORTED("6t98dcecgbvbvtpycwiq2ynnj"); // }
2319 UNSUPPORTED("ai3czg6gaaxspsmndknpyvuiu"); // break;
2320 UNSUPPORTED("flupwh3kosf3fkhkxllllt1"); // }
2321 UNSUPPORTED("42f106i435avz0oneb0fhe81f"); // op++;
2322 UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); // }
2323 UNSUPPORTED("7jkrbr4tf42xe3tv9gb8ao7iu"); // if (styles)
2324 UNSUPPORTED("aw7zhlkbn1bg9h9hrlr9by8ty"); // gvrender_set_style(job, job->gvc->defaultlinestyle);
2325 UNSUPPORTED("1yomvtf3njcprecdmp7eq33o7"); // free (pts);
2326 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
2327
2328 throw new UnsupportedOperationException();
2329 }
2330
2331
2332
2333
2334 //3 3adhe426gweys0vj89xk7l5qs
2335 // static void emit_background(GVJ_t * job, graph_t *g)
2336 public static Object emit_background(Object... arg) {
2337 UNSUPPORTED("4gpum3t892n8i9y337zhppgqh"); // static void emit_background(GVJ_t * job, graph_t *g)
2338 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
2339 UNSUPPORTED("5f36lqh4hk3q6qlni9dobv8ye"); // xdot* xd;
2340 UNSUPPORTED("76nok3eiyr33qf4ecv69ujxn6"); // char *str;
2341 UNSUPPORTED("4qfeabztp0a8uifsz5h2qj0xm"); // int dfltColor;
2342 UNSUPPORTED("5c5y7z63yavk2nbvb55um8ob0"); // /* if no bgcolor specified - first assume default of "white" */
2343 UNSUPPORTED("eupo0q6569myn401db6vre9x9"); // if (! ((str = agget(g, "bgcolor")) && str[0])) {
2344 UNSUPPORTED("aje4jzb3skm6bryubgu0u8aoo"); // str = "white";
2345 UNSUPPORTED("3myfxeslr7cfs3cawa74sviw2"); // dfltColor = 1;
2346 UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); // }
2347 UNSUPPORTED("div10atae09n36x269sl208r1"); // else
2348 UNSUPPORTED("c3z9eq4yq4ibi29ne1aux9u1a"); // dfltColor = 0;
2349 UNSUPPORTED("72j9cwumrsza4qx1rwsxe0rxg"); // /* if device has no truecolor support, change "transparent" to "white" */
2350 UNSUPPORTED("ati9yt7rkd3v77g6nvlpbc3wa"); // if (! (job->flags & (1<<8)) && ((*(str)==*("transparent")&&!strcmp(str,"transparent")))) {
2351 UNSUPPORTED("aje4jzb3skm6bryubgu0u8aoo"); // str = "white";
2352 UNSUPPORTED("3myfxeslr7cfs3cawa74sviw2"); // dfltColor = 1;
2353 UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); // }
2354 UNSUPPORTED("bvjta4pe1bd0an3zb3gm4m9ug"); // /* except for "transparent" on truecolor, or default "white" on (assumed) white paper, paint background */
2355 UNSUPPORTED("aj6etszuv7t3orniarovw9oui"); // if (!( ((job->flags & (1<<8)) && (*(str)==*("transparent")&&!strcmp(str,"transparent")))
2356 UNSUPPORTED("ysgvhk2xw5my7hpp0pyhsyhv"); // || ((job->flags & (1<<25)) && dfltColor))) {
2357 UNSUPPORTED("qsl046aw7731cpj2cdrs5l2u"); // char* clrs[2];
2358 UNSUPPORTED("4xv0cmpfa4sol0pqmfumr0rnm"); // float frac;
2359 UNSUPPORTED("3oqdtywao9635lj8pbh00gww9"); // if ((findStopColor (str, clrs, &frac))) {
2360 UNSUPPORTED("3vfwc36a7qaby9xcub7abdnrw"); // int filled, istyle = 0;
2361 UNSUPPORTED("5m1l4f0yk2x1r9n00p7xoarhk"); // gvrender_set_fillcolor(job, clrs[0]);
2362 UNSUPPORTED("ca8n6otn7zx4kgpo3p43opznn"); // gvrender_set_pencolor(job, "transparent");
2363 UNSUPPORTED("4xxqxkr63rp33ynfp8093ce5j"); // checkClusterStyle(g, &istyle);
2364 UNSUPPORTED("850qgpdnne96gxnh244hf2rh2"); // if (clrs[1])
2365 UNSUPPORTED("2i2pjytalbtpm2nu5e4l391tt"); // gvrender_set_gradient_vals(job,clrs[1],late_int(g,G_gradientangle,0,0), frac);
2366 UNSUPPORTED("f3qa0cv737ikcre1vpqlkukio"); // else
2367 UNSUPPORTED("cqldfd2kxstrxcsu8vov72204"); // gvrender_set_gradient_vals(job,"black",late_int(g,G_gradientangle,0,0), frac);
2368 UNSUPPORTED("4z7nxcqujj30hxs47niv7ng5z"); // if (istyle & (1 << 1))
2369 UNSUPPORTED("s4xfcz4il9k9jw0w0dh9lzpj"); // filled = 3;
2370 UNSUPPORTED("5c97f6vfxny0zz35l2bu4maox"); // else
2371 UNSUPPORTED("1ijl60mqfpjns1tss115yw4zp"); // filled = 2;
2372 UNSUPPORTED("shtvpixd4zg9junin51ss0n6"); // gvrender_box(job, job->clip, filled);
2373 UNSUPPORTED("tddizbp6oh1hmfmmbyetc39q"); // free (clrs[0]);
2374 UNSUPPORTED("flupwh3kosf3fkhkxllllt1"); // }
2375 UNSUPPORTED("8k75h069sv2k9b6tgz77dscwd"); // else {
2376 UNSUPPORTED("75elz449frogpglpfecpb7n35"); // gvrender_set_fillcolor(job, str);
2377 UNSUPPORTED("aa64pbbtgdbmq07oeeb6b6xd6"); // gvrender_set_pencolor(job, "transparent");
2378 UNSUPPORTED("em1ymq2htxwlplauvapkn96jg"); // gvrender_box(job, job->clip, 1); /* filled */
2379 UNSUPPORTED("flupwh3kosf3fkhkxllllt1"); // }
2380 UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); // }
2381 UNSUPPORTED("b3w7cbaupdjkjv8mlqprw6bgy"); // if ((xd = (xdot*)GD_drawing(g)->xdots))
2382 UNSUPPORTED("91v0ozby5hp08jwxac38nv9eq"); // emit_xdot (job, xd);
2383 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
2384
2385 throw new UnsupportedOperationException();
2386 }
2387
2388
2389
2390
2391 //3 500xb8otehz86mqouvbmd0ri4
2392 // static void setup_page(GVJ_t * job, graph_t * g)
2393 public static Object setup_page(Object... arg) {
2394 UNSUPPORTED("eie6fiea6odhb16j5p69i17ps"); // static void setup_page(GVJ_t * job, graph_t * g)
2395 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
2396 UNSUPPORTED("e8udyft1fkl49dzp8kuvsscja"); // point pagesArrayElem = job->pagesArrayElem, pagesArraySize = job->pagesArraySize;
2397 UNSUPPORTED("3h1yo631e2fq69mxwoggya716"); // if (job->rotation) {
2398 UNSUPPORTED("4m3552gi4z6716erhvg0mybdi"); // pagesArrayElem = exch_xy(pagesArrayElem);
2399 UNSUPPORTED("5n79xja43o2fzgv2jpwlowx9e"); // pagesArraySize = exch_xy(pagesArraySize);
2400 UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); // }
2401 UNSUPPORTED("3ezjo786mtpn6j3zv1sixv5yx"); // /* establish current box in graph units */
2402 UNSUPPORTED("2wdi0jzr6koh59dq2o5wm7rdk"); // job->pageBox.LL.x = pagesArrayElem.x * job->pageSize.x - job->pad.x;
2403 UNSUPPORTED("8tjzkjxgopydb6bnmjxzwrdza"); // job->pageBox.LL.y = pagesArrayElem.y * job->pageSize.y - job->pad.y;
2404 UNSUPPORTED("su2b0thzhhuzkggkmn3o5olo"); // job->pageBox.UR.x = job->pageBox.LL.x + job->pageSize.x;
2405 UNSUPPORTED("3lljoqtt3qxcnasqtqf3ibj8v"); // job->pageBox.UR.y = job->pageBox.LL.y + job->pageSize.y;
2406 UNSUPPORTED("6i1o1mvszl64iabuc4wxhwwsz"); // /* maximum boundingBox in device units and page orientation */
2407 UNSUPPORTED("51aihik1hbq97o8c6qesdchi2"); // if (job->common->viewNum == 0)
2408 UNSUPPORTED("1hl3w4ojiqaffaut1cbitfui3"); // job->boundingBox = job->pageBoundingBox;
2409 UNSUPPORTED("div10atae09n36x269sl208r1"); // else
2410 UNSUPPORTED("67qpim1lm8zwmdptcomxyx9zh"); // EXPANDBB(job->boundingBox, job->pageBoundingBox);
2411 UNSUPPORTED("dutcpy0okvnjgc0dspbfidfls"); // if (job->flags & (1<<7)) {
2412 UNSUPPORTED("2xekg55ov733mt60q1dwo2uau"); // job->clip.LL.x = job->focus.x - job->view.x / 2.;
2413 UNSUPPORTED("elawyto1cl29eu55o90i97mwe"); // job->clip.LL.y = job->focus.y - job->view.y / 2.;
2414 UNSUPPORTED("cvsh3xbateu7iuus29faim1ib"); // job->clip.UR.x = job->focus.x + job->view.x / 2.;
2415 UNSUPPORTED("2dms1ogbgw3r7bq8cz5sikfnm"); // job->clip.UR.y = job->focus.y + job->view.y / 2.;
2416 UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); // }
2417 UNSUPPORTED("1nyzbeonram6636b1w955bypn"); // else {
2418 UNSUPPORTED("axdbapte9nha7r33skc7m9qp8"); // job->clip.LL.x = job->focus.x + job->pageSize.x * (pagesArrayElem.x - pagesArraySize.x / 2.);
2419 UNSUPPORTED("9y9ky161dftrmlq4zybikd3wo"); // job->clip.LL.y = job->focus.y + job->pageSize.y * (pagesArrayElem.y - pagesArraySize.y / 2.);
2420 UNSUPPORTED("28rqxotpw4u5xyb8k5ntx5sv3"); // job->clip.UR.x = job->clip.LL.x + job->pageSize.x;
2421 UNSUPPORTED("1yvnjmifai53mslfxbm113t6z"); // job->clip.UR.y = job->clip.LL.y + job->pageSize.y;
2422 UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); // }
2423 UNSUPPORTED("6dd6oqrwhbhk7mqj8blieol8a"); // /* CAUTION - job->translation was difficult to get right. */
2424 UNSUPPORTED("ati7mqxwmn8u4o5lrx82875b7"); // /* Test with and without assymetric margins, e.g: -Gmargin="1,0" */
2425 UNSUPPORTED("3h1yo631e2fq69mxwoggya716"); // if (job->rotation) {
2426 UNSUPPORTED("64qd8daar2r794nip6jt8u6r1"); // job->translation.y = - job->clip.UR.y - job->canvasBox.LL.y / job->zoom;
2427 UNSUPPORTED("4356s4xto6awx7cij60pg6lvm"); // if ((job->flags & (1<<12)) || (Y_invert))
2428 UNSUPPORTED("9rso607ag8rokfb0keaj3dw8i"); // job->translation.x = - job->clip.UR.x - job->canvasBox.LL.x / job->zoom;
2429 UNSUPPORTED("35nw1pbiz2p3s6qwlam5eoo3m"); // else
2430 UNSUPPORTED("6nzlh7e28djtn3tuh7wyazl0f"); // job->translation.x = - job->clip.LL.x + job->canvasBox.LL.x / job->zoom;
2431 UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); // }
2432 UNSUPPORTED("1nyzbeonram6636b1w955bypn"); // else {
2433 UNSUPPORTED("9ndd3yrf6pi0yzyq6qhvwvkmb"); // /* pre unscale margins to keep them constant under scaling */
2434 UNSUPPORTED("71450l3ur3gaikd8hf09vaisy"); // job->translation.x = - job->clip.LL.x + job->canvasBox.LL.x / job->zoom;
2435 UNSUPPORTED("4356s4xto6awx7cij60pg6lvm"); // if ((job->flags & (1<<12)) || (Y_invert))
2436 UNSUPPORTED("e3i6pyd8cgpyxqdji6ikxfolc"); // job->translation.y = - job->clip.UR.y - job->canvasBox.LL.y / job->zoom;
2437 UNSUPPORTED("35nw1pbiz2p3s6qwlam5eoo3m"); // else
2438 UNSUPPORTED("8bfteitivddvt9tazhk9smelv"); // job->translation.y = - job->clip.LL.y + job->canvasBox.LL.y / job->zoom;
2439 UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); // }
2440 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
2441
2442 throw new UnsupportedOperationException();
2443 }
2444
2445
2446
2447
2448 //3 as589o2efx45izm3wp7enyaht
2449 // static boolean node_in_layer(GVJ_t *job, graph_t * g, node_t * n)
2450 public static Object node_in_layer(Object... arg) {
2451 UNSUPPORTED("9qfpqdz7l9i14k8tt5niso9hr"); // static boolean node_in_layer(GVJ_t *job, graph_t * g, node_t * n)
2452 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
2453 UNSUPPORTED("4np0l1afjcabfu4lj2slo7u1h"); // char *pn, *pe;
2454 UNSUPPORTED("5gypxs09iuryx5a2eho9lgdcp"); // edge_t *e;
2455 UNSUPPORTED("br25a8xf14d9pszeecj99a422"); // if (job->numLayers <= 1)
2456 UNSUPPORTED("bp2y18pqq5n09006utwifdyxo"); // return NOT(0);
2457 UNSUPPORTED("6b110nazp4kekcjo0cggixji8"); // pn = late_string(n, N_layer, "");
2458 UNSUPPORTED("3jdetxpc61my2m5ouwwlafmya"); // if (selectedlayer(job, pn))
2459 UNSUPPORTED("bp2y18pqq5n09006utwifdyxo"); // return NOT(0);
2460 UNSUPPORTED("1472k1aiajh8fdwws76p0peui"); // if (pn[0])
2461 UNSUPPORTED("974jvy6bjjit5aunmg1ofk323"); // return 0; /* Only check edges if pn = "" */
2462 UNSUPPORTED("6iiceie8alt1qdir25ryu1f6k"); // if ((e = agfstedge(g, n)) == NULL)
2463 UNSUPPORTED("bp2y18pqq5n09006utwifdyxo"); // return NOT(0);
2464 UNSUPPORTED("dcuhjbsiioawp6zspvonwd4px"); // for (e = agfstedge(g, n); e; e = agnxtedge(g, e, n)) {
2465 UNSUPPORTED("82x79oibcq3pjyv631qc1tlg0"); // pe = late_string(e, E_layer, "");
2466 UNSUPPORTED("820bc3hf82s7cw6chnw5c4nbq"); // if ((pe[0] == '\0') || selectedlayer(job, pe))
2467 UNSUPPORTED("9qhn9m3123s8n6wwxjfo8awlm"); // return NOT(0);
2468 UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); // }
2469 UNSUPPORTED("5oxhd3fvp0gfmrmz12vndnjt"); // return 0;
2470 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
2471
2472 throw new UnsupportedOperationException();
2473 }
2474
2475
2476
2477
2478 //3 1u0s2ppd3ul08n4e2gdaryyy8
2479 // static boolean edge_in_layer(GVJ_t *job, graph_t * g, edge_t * e)
2480 public static Object edge_in_layer(Object... arg) {
2481 UNSUPPORTED("313onxwqkhkgi36hzjkauyb42"); // static boolean edge_in_layer(GVJ_t *job, graph_t * g, edge_t * e)
2482 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
2483 UNSUPPORTED("utbq83gb14i5eml17vr8pcid"); // char *pe, *pn;
2484 UNSUPPORTED("6iv4xusq3ncisurzdtlt8lhe9"); // int cnt;
2485 UNSUPPORTED("br25a8xf14d9pszeecj99a422"); // if (job->numLayers <= 1)
2486 UNSUPPORTED("bp2y18pqq5n09006utwifdyxo"); // return NOT(0);
2487 UNSUPPORTED("6x2v74zlvitlrgkn17942vcgh"); // pe = late_string(e, E_layer, "");
2488 UNSUPPORTED("3ywt8di993vozrwwnup6dpwyy"); // if (selectedlayer(job, pe))
2489 UNSUPPORTED("bp2y18pqq5n09006utwifdyxo"); // return NOT(0);
2490 UNSUPPORTED("1qtr20a3naoc1fyck8og7mmrh"); // if (pe[0])
2491 UNSUPPORTED("c9ckhc8veujmwcw0ar3u3zld4"); // return 0;
2492 UNSUPPORTED("6b357rcrnr0ds1kjupqbpaa3e"); // for (cnt = 0; cnt < 2; cnt++) {
2493 UNSUPPORTED("b8bas27843d09g6jaaawthl8w"); // pn = late_string(cnt < 1 ? agtail(e) : aghead(e), N_layer, "");
2494 UNSUPPORTED("jsx6qbuduuwph63wgsoiqgvq"); // if ((pn[0] == '\0') || selectedlayer(job, pn))
2495 UNSUPPORTED("9qhn9m3123s8n6wwxjfo8awlm"); // return NOT(0);
2496 UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); // }
2497 UNSUPPORTED("5oxhd3fvp0gfmrmz12vndnjt"); // return 0;
2498 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
2499
2500 throw new UnsupportedOperationException();
2501 }
2502
2503
2504
2505
2506 //3 dyo8zdve7djszp87cuf0xuoet
2507 // static boolean clust_in_layer(GVJ_t *job, graph_t * sg)
2508 public static Object clust_in_layer(Object... arg) {
2509 UNSUPPORTED("4e36i94sm4m9tfa4ajm22cim8"); // static boolean clust_in_layer(GVJ_t *job, graph_t * sg)
2510 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
2511 UNSUPPORTED("b9rg1zyq2dr4mvb3afpkekhnt"); // char *pg;
2512 UNSUPPORTED("cjx5v6hayed3q8eeub1cggqca"); // node_t *n;
2513 UNSUPPORTED("br25a8xf14d9pszeecj99a422"); // if (job->numLayers <= 1)
2514 UNSUPPORTED("bp2y18pqq5n09006utwifdyxo"); // return NOT(0);
2515 UNSUPPORTED("20qd9xj97lsoon2qf56l64qxd"); // pg = late_string(sg, agattr(sg, AGRAPH, "layer", 0), "");
2516 UNSUPPORTED("658zavk95iaxd3u1jryh7rbqc"); // if (selectedlayer(job, pg))
2517 UNSUPPORTED("bp2y18pqq5n09006utwifdyxo"); // return NOT(0);
2518 UNSUPPORTED("82stl7dpo6yrg2w5a6umx8q9c"); // if (pg[0])
2519 UNSUPPORTED("c9ckhc8veujmwcw0ar3u3zld4"); // return 0;
2520 UNSUPPORTED("bjjx5k3xelkwyvbcb4gwnqq7s"); // for (n = agfstnode(sg); n; n = agnxtnode(sg, n))
2521 UNSUPPORTED("dl5e8i6kxe0n05x40z42vjo3g"); // if (node_in_layer(job, sg, n))
2522 UNSUPPORTED("9qhn9m3123s8n6wwxjfo8awlm"); // return NOT(0);
2523 UNSUPPORTED("5oxhd3fvp0gfmrmz12vndnjt"); // return 0;
2524 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
2525
2526 throw new UnsupportedOperationException();
2527 }
2528
2529
2530
2531
2532 //3 75k6tn88w31u4ppw3q70g1jsk
2533 // static boolean node_in_box(node_t *n, boxf b)
2534 public static Object node_in_box(Object... arg) {
2535 UNSUPPORTED("211j77g7ql3frkbpciwlnn9zy"); // static boolean node_in_box(node_t *n, boxf b)
2536 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
2537 UNSUPPORTED("46tealt6sxovbrn80ssq4sa8g"); // return boxf_overlap(ND_bb(n), b);
2538 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
2539
2540 throw new UnsupportedOperationException();
2541 }
2542
2543
2544
2545
2546 //3 7j4u56kqr6m677iq36g2aih28
2547 // static void emit_begin_node(GVJ_t * job, node_t * n)
2548 public static Object emit_begin_node(Object... arg) {
2549 UNSUPPORTED("6oh0hqc0y111peee2y6h3dyp0"); // static void emit_begin_node(GVJ_t * job, node_t * n)
2550 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
2551 UNSUPPORTED("8lamppsqs7nhiu5v8k1f5jfh2"); // obj_state_t *obj;
2552 UNSUPPORTED("12bpksga44s9sfl7x8xn2rt2k"); // int flags = job->flags;
2553 UNSUPPORTED("ey6s6opybnefos5fozgk763tu"); // int sides, peripheries, i, j, filled = 0, rect = 0, shape, nump = 0;
2554 UNSUPPORTED("cc2tjyw4ovc2cfzpfqu5s7xnr"); // polygon_t *poly = NULL;
2555 UNSUPPORTED("1rh8tfsy1jwdlk7jeq8xlypar"); // pointf *vertices, *p = NULL;
2556 UNSUPPORTED("avrrxyqlc98q6r2lvs1ku6ptd"); // pointf coord;
2557 UNSUPPORTED("8yytudftst76763qgnjebkzhm"); // char *s;
2558 UNSUPPORTED("1iexddadjo0w6fdgddatfx40s"); // obj = push_obj_state(job);
2559 UNSUPPORTED("7o8x3n4tonxrhr3uxintmcd0j"); // obj->type = NODE_OBJTYPE;
2560 UNSUPPORTED("otsh0jqjlx2ylharf6sknjc7"); // obj->u.n = n;
2561 UNSUPPORTED("heflz2y0siuc5a4qsd7xdy0i"); // obj->emit_state = EMIT_NDRAW;
2562 UNSUPPORTED("984vi925q5gu9ti0dn4c6h1pu"); // if (flags & (1<<24)) {
2563 UNSUPPORTED("8hn4rzdhnzbbm4vcj7b1o2h8s"); // /* obj->z = late_double(n, N_z, 0.0, -MAXFLOAT); */
2564 UNSUPPORTED("7xl25s8bmvdzfgqceezs4vbv7"); // if (GD_odim(agraphof(n)) >=3)
2565 UNSUPPORTED("e9bowj0fth92lpwok5jw7ygmv"); // obj->z = (ROUND((ND_pos(n)[2])*72));
2566 UNSUPPORTED("9352ql3e58qs4fzapgjfrms2s"); // else
2567 UNSUPPORTED("7ss0158fo4kqsce5naq3vb9di"); // obj->z = 0.0;
2568 UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); // }
2569 UNSUPPORTED("de51o3rsacfia37u3ekmuuyep"); // initObjMapData (job, ND_label(n), n);
2570 UNSUPPORTED("8k7npuk2pg2np42cu63aachgc"); // if ((flags & ((1<<16) | (1<<22)))
2571 UNSUPPORTED("ap5s8ebp9t1efc4rdd66xi8h2"); // && (obj->url || obj->explicit_tooltip)) {
2572 UNSUPPORTED("752pv46veugd2etmozcnfiypa"); // /* checking shape of node */
2573 UNSUPPORTED("5zbsi1lwuz5ursdo00msuv88d"); // shape = shapeOf(n);
2574 UNSUPPORTED("7s077dx2lcy2m2jqo0bd1qwbj"); // /* node coordinate */
2575 UNSUPPORTED("2qpk1rnkjskc4vssp5kqy1hob"); // coord = ND_coord(n);
2576 UNSUPPORTED("4htxfyxz1smr3utoocizilxu4"); // /* checking if filled style has been set for node */
2577 UNSUPPORTED("5kcgc99yv9rp8w1dcte4rnf51"); // filled = ifFilled(n);
2578 UNSUPPORTED("600lgxny2fkn72axw3r34cgqb"); // if (shape == SH_POLY || shape == SH_POINT) {
2579 UNSUPPORTED("d5nksf3ih1yt0kg59sfkewlsj"); // poly = (polygon_t *) ND_shape_info(n);
2580 UNSUPPORTED("456i8yij35bvszszfonbqz35a"); // /* checking if polygon is regular rectangle */
2581 UNSUPPORTED("4vyy0i6dsllcradhvl2oe51ir"); // if (isRect(poly) && (poly->peripheries || filled))
2582 UNSUPPORTED("3yn5fb3yxthk0g149yritkp9"); // rect = 1;
2583 UNSUPPORTED("4mhlpjofolwivhm0tl8cxznly"); // }
2584 UNSUPPORTED("5t5nn5iltsyof8cyz3b2gwvdf"); // /* When node has polygon shape and requested output supports polygons
2585 UNSUPPORTED("rtnlliq5iwd307fmm56s27kf"); // * we use a polygon to map the clickable region that is a:
2586 UNSUPPORTED("awa42ejtbglkhruoiebsfh83c"); // * circle, ellipse, polygon with n side, or point.
2587 UNSUPPORTED("4w3ojigi9jyced2btkx1r494k"); // * For regular rectangular shape we have use node's bounding box to map clickable region
2588 UNSUPPORTED("3vesx4cskuo1q42jvwmoum2xs"); // */
2589 UNSUPPORTED("1qgrvitr94qu2hi2by8s1ylm1"); // if (poly && !rect && (flags & (1<<19))) {
2590 UNSUPPORTED("91fvk4kb7gg5t610zxi308wws"); // if (poly->sides < 3)
2591 UNSUPPORTED("f4hqnp8zargnp3vhkbcl094mr"); // sides = 1;
2592 UNSUPPORTED("1knjyao8ci3w18zqqcnmnitir"); // else
2593 UNSUPPORTED("csupw9r57m2dwx6i5f2tu4d86"); // sides = poly->sides;
2594 UNSUPPORTED("5q6n2srifirg3tkf0bas934m1"); // if (poly->peripheries < 2)
2595 UNSUPPORTED("6panx1vemgvl6wfskrd3m1mww"); // peripheries = 1;
2596 UNSUPPORTED("1knjyao8ci3w18zqqcnmnitir"); // else
2597 UNSUPPORTED("81q50lt0mna1wn04hztqusptn"); // peripheries = poly->peripheries;
2598 UNSUPPORTED("2uakxkguw0fhjjx37xg11qtpp"); // vertices = poly->vertices;
2599 UNSUPPORTED("dp132vof8gu0b6vv6svot7dp4"); // if ((s = agget(n, "samplepoints")))
2600 UNSUPPORTED("3ditmtyp8gocdq6i8g23oqfk3"); // nump = atoi(s);
2601 UNSUPPORTED("9rcwqkr45gajonyf3mylgs54d"); // /* We want at least 4 points. For server-side maps, at most 100
2602 UNSUPPORTED("80gxq7mljih09qbykr2a77hji"); // * points are allowed. To simplify things to fit with the 120 points
2603 UNSUPPORTED("95v6tfii1cmgyczmw9snifrz2"); // * used for skewed ellipses, we set the bound at 60.
2604 UNSUPPORTED("29edlge3wqyp1gs0vymtr5700"); // */
2605 UNSUPPORTED("24rjq7ktpbelyle5ccux41fbw"); // if ((nump < 4) || (nump > 60))
2606 UNSUPPORTED("8f615e20vka2xve8ihx3czfgz"); // nump = 20;
2607 UNSUPPORTED("7o7i7thssuva8pvhyrohuym9s"); // /* use bounding box of text label or node image for mapping
2608 UNSUPPORTED("2bw9y6a24gfxnxsqoc4pzu34f"); // * when polygon has no peripheries and node is not filled
2609 UNSUPPORTED("29edlge3wqyp1gs0vymtr5700"); // */
2610 UNSUPPORTED("a7oq5da9ov5iuj0nr5evgcaey"); // if (poly->peripheries == 0 && !filled) {
2611 UNSUPPORTED("5hkjrhdwgew8q4bjy8hi39y0l"); // obj->url_map_shape = MAP_RECTANGLE;
2612 UNSUPPORTED("6z27gxa0h15ax0y7jhl4jqw7u"); // nump = 2;
2613 UNSUPPORTED("6y6ve2v6irttd8deh2u0tidty"); // p = (pointf*)zmalloc((nump)*sizeof(pointf));
2614 UNSUPPORTED("586tid4nqbu8z1d3usgwdw8jp"); // (p[0].x = coord.x - ND_lw(n), p[0].y = coord.y - ND_ht(n) / 2.0, p[1].x = coord.x + ND_lw(n), p[1].y = coord.y + ND_ht(n) / 2.0);
2615 UNSUPPORTED("7g94ubxa48a1yi3mf9v521b7c"); // }
2616 UNSUPPORTED("d4glybpyvbpo9bu6saa4l6bde"); // /* circle or ellipse */
2617 UNSUPPORTED("9d4mrdegox0b1pm5xbfep5uko"); // else if (poly->sides < 3 && poly->skew == 0.0 && poly->distortion == 0.0) {
2618 UNSUPPORTED("cdqbx7sifcci71ypvwe0wz7yv"); // if (poly->regular) {
2619 UNSUPPORTED("7dlfvykcyhmfeqqtnxuxpu83y"); // obj->url_map_shape = MAP_CIRCLE;
2620 UNSUPPORTED("5um56x6io8un90j92meh20cjv"); // nump = 2; /* center of circle and top right corner of bb */
2621 UNSUPPORTED("yoyr2t09q9xi2y3drrvf3xad"); // p = (pointf*)zmalloc((nump)*sizeof(pointf));
2622 UNSUPPORTED("7p1zauucnrwblaitis0khiz1r"); // p[0].x = coord.x;
2623 UNSUPPORTED("e6o8x1sj9om9kkeixtn7zklcs"); // p[0].y = coord.y;
2624 UNSUPPORTED("60m7eqldm742a0adfcs7kfqcg"); // /* even vertices contain LL corner of bb */
2625 UNSUPPORTED("9758i1qof39xb2yzi57in7oxt"); // /* odd vertices contain UR corner of bb */
2626 UNSUPPORTED("854obam1okv2gd6w4k2r6m9ot"); // p[1].x = coord.x + vertices[2*peripheries - 1].x;
2627 UNSUPPORTED("2f7rjskpdx9cpkmm1a048d0oe"); // p[1].y = coord.y + vertices[2*peripheries - 1].y;
2628 UNSUPPORTED("7nxu74undh30brb8laojud3f9"); // }
2629 UNSUPPORTED("9amplb4x49w5htb1q19aqmixx"); // else { /* ellipse is treated as polygon */
2630 UNSUPPORTED("7cvkihpbuxq2fiho8en5lxlk5"); // obj->url_map_shape= MAP_POLYGON;
2631 UNSUPPORTED("5n0o7h3635rfk8v1ofc24e5vh"); // p = pEllipse((double)(vertices[2*peripheries - 1].x),
2632 UNSUPPORTED("68gocmgm77xvuicc7u8i05814"); // (double)(vertices[2*peripheries - 1].y), nump);
2633 UNSUPPORTED("34bytcpuln6qgd13en0tbt49q"); // for (i = 0; i < nump; i++) {
2634 UNSUPPORTED("7d7wspnuodlkz25ma45nsi6ag"); // p[i].x += coord.x;
2635 UNSUPPORTED("75mj4vd1u3ik8porqjoty5tt1"); // p[i].y += coord.y;
2636 UNSUPPORTED("3e08x1y395304nd0y3uwffvim"); // }
2637 UNSUPPORTED("6eq5kf0bj692bokt0bixy1ixh"); // }
2638 UNSUPPORTED("7g94ubxa48a1yi3mf9v521b7c"); // }
2639 UNSUPPORTED("1b3uzl88u778jb7f869wx7xpc"); // /* all other polygonal shape */
2640 UNSUPPORTED("89xddhb2xugz6vr9s2y1n4iko"); // else {
2641 UNSUPPORTED("7n9hod7wrkfif1s19ajej7dxw"); // int offset = (peripheries - 1)*(poly->sides);
2642 UNSUPPORTED("8mmxiwtk0jn6wb1tdqa1b3w10"); // obj->url_map_shape = MAP_POLYGON;
2643 UNSUPPORTED("9f3mabmc7lq7y42eheer04fzl"); // /* distorted or skewed ellipses and circles are polygons with 120
2644 UNSUPPORTED("5xz548f5h9x5kyiwplsm69qf5"); // * sides. For mapping we convert them into polygon with sample sides
2645 UNSUPPORTED("316yclqq5365l289qzfq39l6w"); // */
2646 UNSUPPORTED("6tjxq9hxjynudn5fd5eb09jyb"); // if (poly->sides >= nump) {
2647 UNSUPPORTED("bdbaovdssj5kkgpsxokx4trlm"); // int delta = poly->sides / nump;
2648 UNSUPPORTED("yoyr2t09q9xi2y3drrvf3xad"); // p = (pointf*)zmalloc((nump)*sizeof(pointf));
2649 UNSUPPORTED("c046rwe9l0lp00lemr5p5fxa"); // for (i = 0, j = 0; j < nump; i += delta, j++) {
2650 UNSUPPORTED("c1dhcvofcsymhvnczsxmmhr41"); // p[j].x = coord.x + vertices[i + offset].x;
2651 UNSUPPORTED("ei7ntnpjxjte5mvwta7em30ll"); // p[j].y = coord.y + vertices[i + offset].y;
2652 UNSUPPORTED("3e08x1y395304nd0y3uwffvim"); // }
2653 UNSUPPORTED("esb1hqr9y2ldyt0mt0w98tg6k"); // } else {
2654 UNSUPPORTED("ofg0e43bcmuyf7t2nedsgevg"); // nump = sides;
2655 UNSUPPORTED("yoyr2t09q9xi2y3drrvf3xad"); // p = (pointf*)zmalloc((nump)*sizeof(pointf));
2656 UNSUPPORTED("34bytcpuln6qgd13en0tbt49q"); // for (i = 0; i < nump; i++) {
2657 UNSUPPORTED("dnojnlwgkx6ddefag0zwo6ds2"); // p[i].x = coord.x + vertices[i + offset].x;
2658 UNSUPPORTED("4dblb5sdbisslvfdhwsybgeh"); // p[i].y = coord.y + vertices[i + offset].y;
2659 UNSUPPORTED("3e08x1y395304nd0y3uwffvim"); // }
2660 UNSUPPORTED("7nxu74undh30brb8laojud3f9"); // }
2661 UNSUPPORTED("7g94ubxa48a1yi3mf9v521b7c"); // }
2662 UNSUPPORTED("4mhlpjofolwivhm0tl8cxznly"); // }
2663 UNSUPPORTED("3jir07ymknf0hmb9pv9x4dr3o"); // else {
2664 UNSUPPORTED("98n8obslcmy8y3s7e6jf9esg2"); // /* we have to use the node's bounding box to map clickable region
2665 UNSUPPORTED("50m9f9e7fwiwwh75wjf4clqoj"); // * when requested output format is not capable of polygons.
2666 UNSUPPORTED("29edlge3wqyp1gs0vymtr5700"); // */
2667 UNSUPPORTED("dtpqdcuqa1r9h12j3i5ycrvw1"); // obj->url_map_shape = MAP_RECTANGLE;
2668 UNSUPPORTED("64g4nd2mma198mwj1rn8lub1x"); // nump = 2;
2669 UNSUPPORTED("cfwfzr78yzuxsg39clh917i7v"); // p = (pointf*)zmalloc((nump)*sizeof(pointf));
2670 UNSUPPORTED("odbnll58vskylwajptbzx1ep"); // p[0].x = coord.x - ND_lw(n);
2671 UNSUPPORTED("nz1xqz7manrsw4hebsgnykie"); // p[0].y = coord.y - (ND_ht(n) / 2);
2672 UNSUPPORTED("40l7iiv57pa37xyblc80nhqjv"); // p[1].x = coord.x + ND_rw(n);
2673 UNSUPPORTED("bvo8cz7zx62rjde71khxdb3li"); // p[1].y = coord.y + (ND_ht(n) / 2);
2674 UNSUPPORTED("4mhlpjofolwivhm0tl8cxznly"); // }
2675 UNSUPPORTED("4lzx178ws3xixysf6d4x8jxs2"); // if (! (flags & (1<<13)))
2676 UNSUPPORTED("6vlhqkskkzyjn8cw33u0m8dkp"); // gvrender_ptf_A(job, p, p, nump);
2677 UNSUPPORTED("d6dtek5hzc7rtaly67ykeq98d"); // obj->url_map_p = p;
2678 UNSUPPORTED("c1ycajl1r4i9caqbpdh9zmyx0"); // obj->url_map_n = nump;
2679 UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); // }
2680 UNSUPPORTED("aemq91z7mpchiy1jqeg9gcaix"); // setColorScheme (agget (n, "colorscheme"));
2681 UNSUPPORTED("65nxjiymni4pwghzckh64eskn"); // gvrender_begin_node(job, n);
2682 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
2683
2684 throw new UnsupportedOperationException();
2685 }
2686
2687
2688
2689
2690 //3 d9mzxl9say77sxvq7p8x64arq
2691 // static void emit_end_node(GVJ_t * job)
2692 public static Object emit_end_node(Object... arg) {
2693 UNSUPPORTED("2l9v7jqkrub7vxobkquy7asiq"); // static void emit_end_node(GVJ_t * job)
2694 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
2695 UNSUPPORTED("1ibtlropykj9c7r9ibxwqb2mq"); // gvrender_end_node(job);
2696 UNSUPPORTED("39iamwq9cd9iv3d2iyiaq8gz9"); // pop_obj_state(job);
2697 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
2698
2699 throw new UnsupportedOperationException();
2700 }
2701
2702
2703
2704
2705 //3 do63wzhzr0kzmjcdc6gjwjnj1
2706 // static void emit_node(GVJ_t * job, node_t * n)
2707 public static Object emit_node(Object... arg) {
2708 UNSUPPORTED("a610z8g79rvtm3401gis6ckc8"); // static void emit_node(GVJ_t * job, node_t * n)
2709 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
2710 UNSUPPORTED("eyew5ay5wwktz4fysz0b78ugv"); // GVC_t *gvc = job->gvc;
2711 UNSUPPORTED("8yytudftst76763qgnjebkzhm"); // char *s;
2712 UNSUPPORTED("byo308l1rmve5rmx8wt32juux"); // char *style;
2713 UNSUPPORTED("getfykrvugvlv3wxt5qm5ghl"); // char **styles = 0;
2714 UNSUPPORTED("9q7vvjxznd6x0u1t6fgd82byj"); // char **sp;
2715 UNSUPPORTED("aexhdud6z2wbwwi73yppp0ynl"); // char *p;
2716 UNSUPPORTED("1ox2ru6l44s8f2m2tqkkpb60"); // if (ND_shape(n) /* node has a shape */
2717 UNSUPPORTED("2pbaf4f2fx6en7dizu6y1x508"); // && node_in_layer(job, agraphof(n), n) /* and is in layer */
2718 UNSUPPORTED("bfz19cj6ftdbt8an3chivuz6r"); // && node_in_box(n, job->clip) /* and is in page/view */
2719 UNSUPPORTED("7beo9zmd6okbo2j2mrhh57pg5"); // && (ND_state(n) != gvc->common.viewNum)) /* and not already drawn */
2720 UNSUPPORTED("6ld19omy1z68vprfzbhrjqr2z"); // {
2721 UNSUPPORTED("5xnzubm059ragnfr4w9qppbcd"); // ND_state(n) = gvc->common.viewNum; /* mark node as drawn */
2722 UNSUPPORTED("d06edad4blz58hs97kcth9q6u"); // gvrender_comment(job, agnameof(n));
2723 UNSUPPORTED("cagpugtwz1xuxol6c2w44i117"); // s = late_string(n, N_comment, "");
2724 UNSUPPORTED("7oyyy6d3itm6qqhr3p5zu6ded"); // if (s[0])
2725 UNSUPPORTED("8gbf99sx0atz9ku0tfjv4m4o3"); // gvrender_comment(job, s);
2726 UNSUPPORTED("9ihgp28ukdi3iied1az7rndhv"); // style = late_string(n, N_style, "");
2727 UNSUPPORTED("12ihr78gv09dxppuorymkgt75"); // if (style[0]) {
2728 UNSUPPORTED("32d3t9w0x6lbw2olmibm97mqd"); // styles = parse_style(style);
2729 UNSUPPORTED("ai2h90fa4b5ss40yyc0ehvrzd"); // sp = styles;
2730 UNSUPPORTED("9v2c8p99l7pj3zqwvtb298adq"); // while ((p = *sp++)) {
2731 UNSUPPORTED("xtuts27rjtqvzh4gjkw96ime"); // if ((*(p)==*("invis")&&!strcmp(p,"invis"))) return;
2732 UNSUPPORTED("6t98dcecgbvbvtpycwiq2ynnj"); // }
2733 UNSUPPORTED("flupwh3kosf3fkhkxllllt1"); // }
2734 UNSUPPORTED("58q1665qa9481hld1ioe4zwoj"); // emit_begin_node(job, n);
2735 UNSUPPORTED("mfw9xokftdmhodm2jpp901c5"); // ND_shape(n)->fns->codefn(job, n);
2736 UNSUPPORTED("cncg3snxi0wuz6b1dkj8gz85t"); // if (ND_xlabel(n) && ND_xlabel(n)->set)
2737 UNSUPPORTED("67z3k2l4flib7gfhwxaekdsam"); // emit_label(job, EMIT_NLABEL, ND_xlabel(n));
2738 UNSUPPORTED("2jcokqlllmekcinbvegkojl7u"); // emit_end_node(job);
2739 UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); // }
2740 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
2741
2742 throw new UnsupportedOperationException();
2743 }
2744
2745
2746
2747
2748 //3 1690phewavvug1dfq83cwep5d
2749 // static pointf computeoffset_p(pointf p, pointf q, double d)
2750 public static Object computeoffset_p(Object... arg) {
2751 UNSUPPORTED("63wh9kozu453znl0upnphf9mi"); // static pointf computeoffset_p(pointf p, pointf q, double d)
2752 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
2753 UNSUPPORTED("5uemny2bjcvw6dq2uqo1t1xl0"); // pointf res;
2754 UNSUPPORTED("cj9v3vgjktw1o09qn9i35u6gl"); // double x = p.x - q.x, y = p.y - q.y;
2755 UNSUPPORTED("c619zohl4d6wz9g3kekvpg7d1"); // /* keep d finite as line length approaches 0 */
2756 UNSUPPORTED("5c6u3xrusgxwuo66z5mvimg9m"); // d /= sqrt(x * x + y * y + .0001);
2757 UNSUPPORTED("4lo34cbbs51klu8okkvjbbg1u"); // res.x = y * d;
2758 UNSUPPORTED("cdsev61yjq1ezm8vyeqy9bskw"); // res.y = -x * d;
2759 UNSUPPORTED("cezffb75elgmxmthji4vj0se9"); // return res;
2760 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
2761
2762 throw new UnsupportedOperationException();
2763 }
2764
2765
2766
2767
2768 //3 dly15js1s0j0q9xlzznflvp5o
2769 // static pointf computeoffset_qr(pointf p, pointf q, pointf r, pointf s, double d)
2770 public static Object computeoffset_qr(Object... arg) {
2771 UNSUPPORTED("8sdovg67zcg8hbc8uxomazvo7"); // static pointf computeoffset_qr(pointf p, pointf q, pointf r, pointf s,
2772 UNSUPPORTED("cw59rrix8ii9c4gpgc087wzod"); // double d)
2773 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
2774 UNSUPPORTED("5uemny2bjcvw6dq2uqo1t1xl0"); // pointf res;
2775 UNSUPPORTED("83zpklqoz4hkcpabg6bg1meo4"); // double len;
2776 UNSUPPORTED("sk1w1xfer0nznuf4hm21fm98"); // double x = q.x - r.x, y = q.y - r.y;
2777 UNSUPPORTED("2c5il9v49cdl4tr8gyt83did1"); // len = sqrt(x * x + y * y);
2778 UNSUPPORTED("2ach8qtgjeze9t2249wcwdkat"); // if (len < .0001) {
2779 UNSUPPORTED("6lej7y0livho67yeaclv11eqn"); // /* control points are on top of each other
2780 UNSUPPORTED("c2tbggffhpyqvaphzbz85js2"); // use slope between endpoints instead */
2781 UNSUPPORTED("ld3z8wtan3gkvuzdn53c58vc"); // x = p.x - s.x, y = p.y - s.y;
2782 UNSUPPORTED("7htvz9tvqvjgwskwcyc2urf53"); // /* keep d finite as line length approaches 0 */
2783 UNSUPPORTED("ealmen1ps4qroua1hv1qypt8o"); // len = sqrt(x * x + y * y + .0001);
2784 UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); // }
2785 UNSUPPORTED("p5a5c43qtb7svsztnqiqbvut"); // d /= len;
2786 UNSUPPORTED("4lo34cbbs51klu8okkvjbbg1u"); // res.x = y * d;
2787 UNSUPPORTED("cdsev61yjq1ezm8vyeqy9bskw"); // res.y = -x * d;
2788 UNSUPPORTED("cezffb75elgmxmthji4vj0se9"); // return res;
2789 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
2790
2791 throw new UnsupportedOperationException();
2792 }
2793
2794
2795
2796
2797 //3 9jbox5ffqmnuiqxjmiewkjd7v
2798 // static void emit_attachment(GVJ_t * job, textlabel_t * lp, splines * spl)
2799 public static Object emit_attachment(Object... arg) {
2800 UNSUPPORTED("cqsl6q4bc0by6b7m5fjbaz0ff"); // static void emit_attachment(GVJ_t * job, textlabel_t * lp, splines * spl)
2801 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
2802 UNSUPPORTED("69bvnbgbqrcytrd76lwcg0vka"); // pointf sz, AF[3];
2803 UNSUPPORTED("7f6xhv1pxs09lj5ogjqiqd0jc"); // unsigned char *s;
2804 UNSUPPORTED("3asm1mshny9o50slevb5zf6uy"); // for (s = (unsigned char *) (lp->text); *s; s++) {
2805 UNSUPPORTED("ndpe342kdaool85s57l4ih7r"); // if (isspace(*s) == 0)
2806 UNSUPPORTED("ai3czg6gaaxspsmndknpyvuiu"); // break;
2807 UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); // }
2808 UNSUPPORTED("7w2f0c8cdlaczfa4mtfux75ou"); // if (*s == 0)
2809 UNSUPPORTED("a7fgam0j0jm7bar0mblsv3no4"); // return;
2810 UNSUPPORTED("adxqzkeq9mg15dgugx9z222go"); // sz = lp->dimen;
2811 UNSUPPORTED("8n9kjtyakr4mqv1td5vrgkb96"); // AF[0] = pointfof(lp->pos.x + sz.x / 2., lp->pos.y - sz.y / 2.);
2812 UNSUPPORTED("6kkjo8ld87lpzum3u7wv6yv4b"); // AF[1] = pointfof(AF[0].x - sz.x, AF[0].y);
2813 UNSUPPORTED("6ezlaa100st3k35o4mzoczre2"); // AF[2] = dotneato_closest(spl, lp->pos);
2814 UNSUPPORTED("aigctuc4kajr8onbk5fmrvh00"); // /* Don't use edge style to draw attachment */
2815 UNSUPPORTED("4g8oyutwebzej18aaiz74zb9k"); // gvrender_set_style(job, job->gvc->defaultlinestyle);
2816 UNSUPPORTED("6farm4z5p1r4wzjnb5f1kioin"); // /* Use font color to draw attachment
2817 UNSUPPORTED("25anit6qhtt5ef1ewc1h0q577"); // - need something unambiguous in case of multicolored parallel edges
2818 UNSUPPORTED("f115hnh0a1ezbinf75vc9r0lg"); // - defaults to black for html-like labels
2819 UNSUPPORTED("795vpnc8yojryr8b46aidsu69"); // */
2820 UNSUPPORTED("bl5mm7hn2il0n2e623rbq8q5w"); // gvrender_set_pencolor(job, lp->fontcolor);
2821 UNSUPPORTED("35prexehk0x6n14ojx7sihunn"); // gvrender_polyline(job, AF, 3);
2822 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
2823
2824 throw new UnsupportedOperationException();
2825 }
2826
2827
2828
2829
2830 //3 4g1n8pxbh06t81obycv6rqtxv
2831 // static char* default_pencolor(char *pencolor, char *deflt)
2832 public static Object default_pencolor(Object... arg) {
2833 UNSUPPORTED("4wukcoxynojzor25ps1rby9yw"); // static char* default_pencolor(char *pencolor, char *deflt)
2834 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
2835 UNSUPPORTED("8kywmm7f51dmrjngxwvnpsd4o"); // static char *buf;
2836 UNSUPPORTED("22dcr6aukx12do9pe4dib69c4"); // static int bufsz;
2837 UNSUPPORTED("aexhdud6z2wbwwi73yppp0ynl"); // char *p;
2838 UNSUPPORTED("a005u14z35hf8yjnafoaaeqg"); // int len, ncol;
2839 UNSUPPORTED("e6y6l26pcnusy834r3jfxyd52"); // ncol = 1;
2840 UNSUPPORTED("6zcf9gon91dymhtem9dwap4mh"); // for (p = pencolor; *p; p++) {
2841 UNSUPPORTED("2s6gq2wmmin2ab5zt90m5xjep"); // if (*p == ':')
2842 UNSUPPORTED("9f19jjr21zaezdxswj6tevd9n"); // ncol++;
2843 UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); // }
2844 UNSUPPORTED("2134j62fnfo06vfq9fo45gceu"); // len = ncol * (strlen(deflt) + 1);
2845 UNSUPPORTED("55qowwh2rcv2v2uu70hde9ct4"); // if (bufsz < len) {
2846 UNSUPPORTED("19odu3570teiwv839flm3iezt"); // bufsz = len + 10;
2847 UNSUPPORTED("e15ktgr11acljfi5jubpq5sba"); // buf = realloc(buf, bufsz);
2848 UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); // }
2849 UNSUPPORTED("3nutbraj7qprn5hvmj8fqtl63"); // strcpy(buf, deflt);
2850 UNSUPPORTED("22y7o7tq5wsmfgkczgy0hqxmx"); // while(--ncol) {
2851 UNSUPPORTED("9se30dn1tgkm9kisqzl2ojhic"); // strcat(buf, ":");
2852 UNSUPPORTED("68ovea8yallwok9w5wpk46e5m"); // strcat(buf, deflt);
2853 UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); // }
2854 UNSUPPORTED("5jfpogdyby101eyuw2dhtb5cg"); // return buf;
2855 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
2856
2857 throw new UnsupportedOperationException();
2858 }
2859
2860
2861
2862
2863 //3 4idfslavgy1wy953xlflg5ws6
2864 // static double approxLen (pointf* pts)
2865 public static Object approxLen(Object... arg) {
2866 UNSUPPORTED("6tz6ed7moergtlszt1ajl0p9v"); // static double approxLen (pointf* pts)
2867 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
2868 UNSUPPORTED("3s4rz758a6plk3e82llqp2gg9"); // double d = DIST(pts[0],pts[1]);
2869 UNSUPPORTED("9v02me6trkr3y3f94cm9fyk9a"); // d += DIST(pts[1],pts[2]);
2870 UNSUPPORTED("8r2j0wkc637k7tyzg3r6uh9iv"); // d += DIST(pts[2],pts[3]);
2871 UNSUPPORTED("3r3o80n61nmy2jv0ezi9xg2xp"); // return d;
2872 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
2873
2874 throw new UnsupportedOperationException();
2875 }
2876
2877
2878
2879
2880 //3 c24egok0eodx1gogrwwnimllw
2881 // static void splitBSpline (bezier* bz, float t, bezier* left, bezier* right)
2882 public static Object splitBSpline(Object... arg) {
2883 UNSUPPORTED("bzosun8763baoenilgqapqo0v"); // static void splitBSpline (bezier* bz, float t, bezier* left, bezier* right)
2884 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
2885 UNSUPPORTED("dakf3h64dqiulqbamu0w9twdu"); // int i, j, k, cnt = (bz->size - 1)/3;
2886 UNSUPPORTED("7lwfrj61cydg2xwok9ruezq5q"); // double* lens;
2887 UNSUPPORTED("6xpvacdzhffp9veax0hnyrxsk"); // double last, len, sum;
2888 UNSUPPORTED("48n1zwofayobr58hhiz0y5wfp"); // pointf* pts;
2889 UNSUPPORTED("89zep3p5j2e5egc7g57ipff0g"); // float r;
2890 UNSUPPORTED("6556o7pk7swku5m4ocatctrjt"); // if (cnt == 1) {
2891 UNSUPPORTED("e6f8rl0x4aqawbb1f9o0iw15m"); // left->size = 4;
2892 UNSUPPORTED("twafm7lir3aq9n2mil73iowf"); // left->list = (pointf*)zmalloc((4)*sizeof(pointf));
2893 UNSUPPORTED("1baicin4fqf7m9f8aohq6veca"); // right->size = 4;
2894 UNSUPPORTED("4iwp6vrwtjet80pf2dloisel9"); // right->list = (pointf*)zmalloc((4)*sizeof(pointf));
2895 UNSUPPORTED("cewi4etd9db03yftetga0xkdh"); // Bezier (bz->list, 3, t, left->list, right->list);
2896 UNSUPPORTED("a7fgam0j0jm7bar0mblsv3no4"); // return;
2897 UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); // }
2898 UNSUPPORTED("dd6fkzw1fpmv18pgue4xs5bqi"); // lens = (double*)zmalloc((cnt)*sizeof(double));
2899 UNSUPPORTED("a6vxbyim8v2mmrdcey3t2n4r0"); // sum = 0;
2900 UNSUPPORTED("6vpzf70qotrvlbnwdne2riv0x"); // pts = bz->list;
2901 UNSUPPORTED("1psokm6w9e7qw7fm2g1cayuk7"); // for (i = 0; i < cnt; i++) {
2902 UNSUPPORTED("8r4arv0b9go700qz2tm3mm221"); // lens[i] = approxLen (pts);
2903 UNSUPPORTED("eoo69513qfc7r4hl1k5c2eiwv"); // sum += lens[i];
2904 UNSUPPORTED("e4542wxbu4szwpfa8e0ra68f2"); // pts += 3;
2905 UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); // }
2906 UNSUPPORTED("4ajaxhjxm9owoq0tyl6901zpb"); // len = t*sum;
2907 UNSUPPORTED("a6vxbyim8v2mmrdcey3t2n4r0"); // sum = 0;
2908 UNSUPPORTED("1psokm6w9e7qw7fm2g1cayuk7"); // for (i = 0; i < cnt; i++) {
2909 UNSUPPORTED("eoo69513qfc7r4hl1k5c2eiwv"); // sum += lens[i];
2910 UNSUPPORTED("5boo0t1khz74gcsiopw0n3w2z"); // if (sum >= len)
2911 UNSUPPORTED("ai3czg6gaaxspsmndknpyvuiu"); // break;
2912 UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); // }
2913 UNSUPPORTED("75pszhfxvdcbo780wsjt6bh92"); // left->size = 3*(i+1) + 1;
2914 UNSUPPORTED("6dip2t5t8rbleilxa8lj81obn"); // left->list = (pointf*)zmalloc((left->size)*sizeof(pointf));
2915 UNSUPPORTED("5p4l0m9e5xsnuegq2yhv5c3d6"); // right->size = 3*(cnt-i) + 1;
2916 UNSUPPORTED("26r2b2ifak9lziwwpho1xrj5x"); // right->list = (pointf*)zmalloc((right->size)*sizeof(pointf));
2917 UNSUPPORTED("3wleiy529fpgcsz1ikho2emvm"); // for (j = 0; j < left->size; j++)
2918 UNSUPPORTED("ba9gueiwlmayc8ysz2l1cwcxj"); // left->list[j] = bz->list[j];
2919 UNSUPPORTED("ep0odw2vpvxzya4y8rennmr9k"); // k = j - 4;
2920 UNSUPPORTED("e6f27aong4yxk1ijo8d8w0888"); // for (j = 0; j < right->size; j++)
2921 UNSUPPORTED("9wqub3rjwa4mbj3s7e2szhas0"); // right->list[j] = bz->list[k++];
2922 UNSUPPORTED("7a9c792hfdlnnk7sj8q4whllc"); // last = lens[i];
2923 UNSUPPORTED("8sjlbix5lxv8ks4no35ryh1ky"); // r = (len - (sum - last))/last;
2924 UNSUPPORTED("d2rexqliaoccgx5aaon5n8xad"); // Bezier (bz->list + 3*i, 3, r, left->list + 3*i, right->list);
2925 UNSUPPORTED("abtwh44up8wmpmdx48y0s2mc9"); // free (lens);
2926 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
2927
2928 throw new UnsupportedOperationException();
2929 }
2930
2931
2932
2933
2934 //3 emsbbp4kdnhrbf2gca7ikthj5
2935 // static int multicolor (GVJ_t * job, edge_t * e, char** styles, char* colors, int num, double arrowsize, double penwidth)
2936 public static Object multicolor(Object... arg) {
2937 UNSUPPORTED("dvqr9ynn0c9bn4xfcpie8zyez"); // static int multicolor (GVJ_t * job, edge_t * e, char** styles, char* colors, int num, double arrowsize, double penwidth)
2938 UNSUPPORTED("yo7buicdiu29rv5vxhas0v3s"); // {
2939 UNSUPPORTED("37thdceezsvepe7tlyfatrbcw"); // bezier bz;
2940 UNSUPPORTED("2g6n25q0mmfzs7lbcmb5xqnsw"); // bezier bz0, bz_l, bz_r;
2941 UNSUPPORTED("ec8yrss5nd4ir33xtxncbfbx1"); // int i, rv;
2942 UNSUPPORTED("8z3a2qjysx0m326m5qjy91tnu"); // colorsegs_t* segs;
2943 UNSUPPORTED("8zv1ffgik05z2fcc41di32sn8"); // colorseg_t* s;
2944 UNSUPPORTED("491d6vy43b2c5s364tuuj531z"); // char* endcolor;
2945 UNSUPPORTED("23904qu3vgmgg4o78f0lbtk03"); // double left;
2946 UNSUPPORTED("3wtewf1w0788agxoxikqp6n0a"); // int first; /* first segment with t > 0 */
2947 UNSUPPORTED("5vkb2ckjwqesd3277mqs5of2i"); // rv = parseSegs (colors, num, &segs);
2948 UNSUPPORTED("2m7c7iiy39zf5k6eva7052n4u"); // if (rv > 1) {
2949 UNSUPPORTED("cfaq63es7s358djxe08cx7kjx"); // Agraph_t* g = agraphof(agtail(e));
2950 UNSUPPORTED("82aqfdoa44vt6zjffu4h6i7tz"); // agerr (AGPREV, "in edge %s%s%s\n", agnameof(agtail(e)), (agisdirected(g)?" -> ":" -- "), agnameof(aghead(e)));
2951 UNSUPPORTED("bqes0nkjkdq91khi1ouux7zfv"); // if (rv == 2)
2952 UNSUPPORTED("btmwubugs9vkexo4yb7a5nqel"); // return 1;
2953 UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); // }
2954 UNSUPPORTED("tqrvg9la1h2jgnwa0zql3ck5"); // else if (rv == 1)
2955 UNSUPPORTED("eleqpc2p2r3hvma6tipoy7tr"); // return 1;
2956 UNSUPPORTED("egp4hta3woqfkcxs9fcq2yvuy"); // for (i = 0; i < ED_spl(e)->size; i++) {
2957 UNSUPPORTED("cgwd7hfmn0br1bm5fi4gr97b3"); // left = 1;
2958 UNSUPPORTED("5ngoqqxxd5huppctrruhxjota"); // bz = ED_spl(e)->list[i];
2959 UNSUPPORTED("3vet6pylmf84jbf0ssb1sifb7"); // first = 1;
2960 UNSUPPORTED("d2ic66tp4jlglvga1xy32sk6j"); // for (s = segs->segs; s->color; s++) {
2961 UNSUPPORTED("78q8ibx2yffz6m8wihta0ii64"); // if ((((s->t) < 1E-5) && ((s->t) > -1E-5))) continue;
2962 UNSUPPORTED("xa07dy2pw68wlizyfp8oymag"); // gvrender_set_pencolor(job, s->color);
2963 UNSUPPORTED("56ofcgemtdmz0pup4itjvidtj"); // left -= s->t;
2964 UNSUPPORTED("chr2o19f7c3h4ymbaatmy5jae"); // endcolor = s->color;
2965 UNSUPPORTED("ay38rk7fywnv41q0742j6585x"); // if (first) {
2966 UNSUPPORTED("7ttvwgvz7wpyo71aggs2auiau"); // first = 0;
2967 UNSUPPORTED("9rs2pz8j0ynilgapygagbgd89"); // splitBSpline (&bz, s->t, &bz_l, &bz_r);
2968 UNSUPPORTED("99cbkfbl5fivdra5eaj0kf8n5"); // gvrender_beziercurve(job, bz_l.list, bz_l.size, 0, 0, 0);
2969 UNSUPPORTED("vrjjl72p0ams86w0e3fsnith"); // free (bz_l.list);
2970 UNSUPPORTED("48xtw1gzugr4tgwurr50x6d8e"); // if ((((left) < 1E-5) && ((left) > -1E-5))) {
2971 UNSUPPORTED("bkk1vblwk5js8005v0nk0jk15"); // free (bz_r.list);
2972 UNSUPPORTED("czyohktf9bkx4udfqhx42f4lu"); // break;
2973 UNSUPPORTED("6eq5kf0bj692bokt0bixy1ixh"); // }
2974 UNSUPPORTED("6t98dcecgbvbvtpycwiq2ynnj"); // }
2975 UNSUPPORTED("4mbggres28g1urrdviyjscdh0"); // else if ((((left) < 1E-5) && ((left) > -1E-5))) {
2976 UNSUPPORTED("16m5vvsclnhu00mxtqc62jc5q"); // gvrender_beziercurve(job, bz_r.list, bz_r.size, 0, 0, 0);
2977 UNSUPPORTED("dukn62ogiycorcn8c4esuwmu1"); // free (bz_r.list);
2978 UNSUPPORTED("9ekmvj13iaml5ndszqyxa8eq"); // break;
2979 UNSUPPORTED("6t98dcecgbvbvtpycwiq2ynnj"); // }
2980 UNSUPPORTED("6q044im7742qhglc4553noina"); // else {
2981 UNSUPPORTED("2ej2iwx8roed79sbv44tte9sg"); // bz0 = bz_r;
2982 UNSUPPORTED("82oq6xp2v59bcqu7z1dbvilyn"); // splitBSpline (&bz0, (s->t)/(left+s->t), &bz_l, &bz_r);
2983 UNSUPPORTED("btj36obnij7vfhl4k6li7ixlh"); // free (bz0.list);
2984 UNSUPPORTED("99cbkfbl5fivdra5eaj0kf8n5"); // gvrender_beziercurve(job, bz_l.list, bz_l.size, 0, 0, 0);
2985 UNSUPPORTED("vrjjl72p0ams86w0e3fsnith"); // free (bz_l.list);
2986 UNSUPPORTED("6t98dcecgbvbvtpycwiq2ynnj"); // }
2987 UNSUPPORTED("flupwh3kosf3fkhkxllllt1"); // }
2988 UNSUPPORTED("bjb95001z7szmwgcquyyal5ta"); // /* arrow_gen resets the job style (How? FIXME)
2989 UNSUPPORTED("eevkw6z2fbi2d7kpx3zp0uuvc"); // * If we have more splines to do, restore the old one.
2990 UNSUPPORTED("500s7rroyq30zj2qxhdp4jluo"); // * Use local copy of penwidth to work around reset.
2991 UNSUPPORTED("316yclqq5365l289qzfq39l6w"); // */
2992 UNSUPPORTED("2qc36pchob3dha7c8jedwalcn"); // if (bz.sflag) {
2993 UNSUPPORTED("b6y3ukuisz1mssdko3l2oa179"); // gvrender_set_pencolor(job, segs->segs->color);
2994 UNSUPPORTED("b33lxxzdyehr8v8uwpkcgabuh"); // gvrender_set_fillcolor(job, segs->segs->color);
2995 UNSUPPORTED("7l0hrlftphvjrn1f7whgtaofw"); // arrow_gen(job, EMIT_TDRAW, bz.sp, bz.list[0], arrowsize, penwidth, bz.sflag);
2996 UNSUPPORTED("flupwh3kosf3fkhkxllllt1"); // }
2997 UNSUPPORTED("973cbk976xio10xxw9bgkyen2"); // if (bz.eflag) {
2998 UNSUPPORTED("7mplmupdwkpendc0q8ocljk18"); // gvrender_set_pencolor(job, endcolor);
2999 UNSUPPORTED("ahacu4j8j9b29k2c80wyfedus"); // gvrender_set_fillcolor(job, endcolor);
3000 UNSUPPORTED("d89bwaeqinnrhngamz9mrl01r"); // arrow_gen(job, EMIT_HDRAW, bz.ep, bz.list[bz.size - 1], arrowsize, penwidth, bz.eflag);
3001 UNSUPPORTED("flupwh3kosf3fkhkxllllt1"); // }
3002 UNSUPPORTED("9zc0fxovb3sw9wibqdnoqamso"); // if ((ED_spl(e)->size>1) && (bz.sflag||bz.eflag) && styles)
3003 UNSUPPORTED("1sadq9tjru1s6bzpcgl677k6i"); // gvrender_set_style(job, styles);
3004 UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); // }
3005 UNSUPPORTED("864f5ylvxgoy5rwmwl4pstg2p"); // free (segs);
3006 UNSUPPORTED("5oxhd3fvp0gfmrmz12vndnjt"); // return 0;
3007 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
3008
3009 throw new UnsupportedOperationException();
3010 }
3011
3012
3013
3014
3015 //3 13jatehy3n1t03488fq3ek8st
3016 // static void free_stroke (stroke_t* sp)
3017 public static Object free_stroke(Object... arg) {
3018 UNSUPPORTED("ahnzha1pnhrfmdhm9uwi8iuao"); // static void free_stroke (stroke_t* sp)
3019 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
3020 UNSUPPORTED("3h9wjmlt6pp3ti25zl9lhmigy"); // if (sp) {
3021 UNSUPPORTED("c8uned45gp04il3dvzfnj6g5k"); // free (sp->vertices);
3022 UNSUPPORTED("6tcxn9cesyebua29d6q299172"); // free (sp);
3023 UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); // }
3024 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
3025
3026 throw new UnsupportedOperationException();
3027 }
3028
3029
3030
3031
3032 //3 5b9ltl2mduk3ua0x8235o922t
3033 // static double forfunc (double curlen, double totallen, double initwid)
3034 public static Object forfunc(Object... arg) {
3035 UNSUPPORTED("3t80v9xj410ss5j0pqnc1zrjp"); // static double forfunc (double curlen, double totallen, double initwid)
3036 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
3037 UNSUPPORTED("7w1a8rqs29lelmnia96oa58f9"); // return ((1 - (curlen/totallen))*initwid/2.0);
3038 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
3039
3040 throw new UnsupportedOperationException();
3041 }
3042
3043
3044
3045
3046 //3 dsgrrv9hsyak20n1h9x5jvp3f
3047 // static double revfunc (double curlen, double totallen, double initwid)
3048 public static Object revfunc(Object... arg) {
3049 UNSUPPORTED("bld5nqyhkdbuxeay2ll473qr6"); // static double revfunc (double curlen, double totallen, double initwid)
3050 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
3051 UNSUPPORTED("blt0wpagxakbwm5voqwfqir05"); // return (((curlen/totallen))*initwid/2.0);
3052 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
3053
3054 throw new UnsupportedOperationException();
3055 }
3056
3057
3058
3059
3060 //3 3evv2ec1hr5uijikij2h26w3t
3061 // static double nonefunc (double curlen, double totallen, double initwid)
3062 public static Object nonefunc(Object... arg) {
3063 UNSUPPORTED("e8e1fgr1nlozsj7m2ijaws2gd"); // static double nonefunc (double curlen, double totallen, double initwid)
3064 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
3065 UNSUPPORTED("2zcusggl2dike7m7cwbckjltr"); // return (initwid/2.0);
3066 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
3067
3068 throw new UnsupportedOperationException();
3069 }
3070
3071
3072
3073
3074 //3 333yk8u7vrjjv2pfad3z273ra
3075 // static double bothfunc (double curlen, double totallen, double initwid)
3076 public static Object bothfunc(Object... arg) {
3077 UNSUPPORTED("au7dp9qva7eo751dhmuu29nq9"); // static double bothfunc (double curlen, double totallen, double initwid)
3078 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
3079 UNSUPPORTED("7hpykssamp5naz4fl0qzgklsq"); // double fr = curlen/totallen;
3080 UNSUPPORTED("bixgbzdc1rbkvbqmjxn5drr4k"); // if (fr <= 0.5) return (fr*initwid);
3081 UNSUPPORTED("1b7ckst75n0s5njx7vvi7w3jw"); // else return ((1-fr)*initwid);
3082 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
3083
3084 throw new UnsupportedOperationException();
3085 }
3086
3087
3088
3089
3090 //3 256panf42dptclohlg3aolfqv
3091 // static radfunc_t taperfun (edge_t* e)
3092 public static Object taperfun(Object... arg) {
3093 UNSUPPORTED("ygkpgli37inuq18f0rtbwcs1"); // static radfunc_t
3094 UNSUPPORTED("6r0vilajj0np6wokfkwjl7ykm"); // taperfun (edge_t* e)
3095 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
3096 UNSUPPORTED("6ms33tgqoacyvkev0g6t87x2n"); // char* attr;
3097 UNSUPPORTED("1un0u4nwlweclzc8w1ydozt5q"); // if (E_dir && ((attr = agxget(e, E_dir)))[0]) {
3098 UNSUPPORTED("bslhjzz27pwavlahlu4z4vaei"); // if ((*(attr)==*("forward")&&!strcmp(attr,"forward"))) return forfunc;
3099 UNSUPPORTED("eulgmrvzxxnnylptzfoj4ebix"); // if ((*(attr)==*("back")&&!strcmp(attr,"back"))) return revfunc;
3100 UNSUPPORTED("7jy0p75av38y41nrehkh8eh5r"); // if ((*(attr)==*("both")&&!strcmp(attr,"both"))) return bothfunc;
3101 UNSUPPORTED("15n6mwfm4pg2fpvr7pkllvmcs"); // if ((*(attr)==*("none")&&!strcmp(attr,"none"))) return nonefunc;
3102 UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); // }
3103 UNSUPPORTED("bsel6fx8wjsph743urtdg1qfv"); // return (agisdirected(agraphof(aghead(e))) ? forfunc : nonefunc);
3104 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
3105
3106 throw new UnsupportedOperationException();
3107 }
3108
3109
3110
3111
3112 //3 7u6cnonl0chpkjro9quo09fyr
3113 // static void emit_edge_graphics(GVJ_t * job, edge_t * e, char** styles)
3114 public static Object emit_edge_graphics(Object... arg) {
3115 UNSUPPORTED("44vrfcbqr2d1szhfncg37jn9c"); // static void emit_edge_graphics(GVJ_t * job, edge_t * e, char** styles)
3116 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
3117 UNSUPPORTED("dyh4es8zja669xh6w704698u1"); // int i, j, cnum, numc = 0, numsemi = 0;
3118 UNSUPPORTED("4fd30tht9vca24rbn5qkxxm2h"); // char *color, *pencolor, *fillcolor;
3119 UNSUPPORTED("dou14upt5u5f8go87xjj5jdtc"); // char *headcolor, *tailcolor, *lastcolor;
3120 UNSUPPORTED("da94242ir0732sz1wjfrstzam"); // char *colors = NULL;
3121 UNSUPPORTED("37thdceezsvepe7tlyfatrbcw"); // bezier bz;
3122 UNSUPPORTED("3l9st5qdrh657gcmhelkkjwk3"); // splines offspl, tmpspl;
3123 UNSUPPORTED("9sg7pim3sh38o6cyrrysxdihv"); // pointf pf0, pf1, pf2 = { 0, 0 }, pf3, *offlist, *tmplist;
3124 UNSUPPORTED("20vx89srcsfcjhjnu7dhv2ha0"); // double arrowsize, numc2, penwidth=job->obj->penwidth;
3125 UNSUPPORTED("a4px33i4moqe8ybwatz0g8k6"); // char* p;
3126 UNSUPPORTED("d7s9yrspa1yd9tdzj22df8zfx"); // boolean tapered = 0;
3127 UNSUPPORTED("d7dk8nv783iyi7g16fbyvoswy"); // setColorScheme (agget (e, "colorscheme"));
3128 UNSUPPORTED("4pdkymy0wuxj1yn9xqqzp2x4h"); // if (ED_spl(e)) {
3129 UNSUPPORTED("kp36oq4bt444kf967o82pd23"); // arrowsize = late_double(e, E_arrowsz, 1.0, 0.0);
3130 UNSUPPORTED("47l2wt9sohpfh3winazhczpb4"); // color = late_string(e, E_color, "");
3131 UNSUPPORTED("d2n6qh5kiavdnxsfrc0fqqv4e"); // if (styles) {
3132 UNSUPPORTED("54isti54aox6yj0vuk6j86qhs"); // char** sp = styles;
3133 UNSUPPORTED("9v2c8p99l7pj3zqwvtb298adq"); // while ((p = *sp++)) {
3134 UNSUPPORTED("2ku2emqwvspqz2c6481orcixb"); // if ((*(p)==*("tapered")&&!strcmp(p,"tapered"))) {
3135 UNSUPPORTED("adyiyvvw6sowssjqqu2wojmtv"); // tapered = 1;
3136 UNSUPPORTED("czyohktf9bkx4udfqhx42f4lu"); // break;
3137 UNSUPPORTED("6eq5kf0bj692bokt0bixy1ixh"); // }
3138 UNSUPPORTED("6t98dcecgbvbvtpycwiq2ynnj"); // }
3139 UNSUPPORTED("flupwh3kosf3fkhkxllllt1"); // }
3140 UNSUPPORTED("1p0odq4xbiiyk9zulrtgh78p7"); // /* need to know how many colors separated by ':' */
3141 UNSUPPORTED("epbhl3zzqty7zxgexbqsijz3t"); // for (p = color; *p; p++) {
3142 UNSUPPORTED("1zdp9y9tqsxdxtj8gfy3leixo"); // if (*p == ':')
3143 UNSUPPORTED("5iqqlev08y8ukmtx3vha7s7kc"); // numc++;
3144 UNSUPPORTED("88xgi4gcg06c70hzvrxc2pij2"); // else if (*p == ';')
3145 UNSUPPORTED("ajossrlhthg39idzi4plrieni"); // numsemi++;
3146 UNSUPPORTED("flupwh3kosf3fkhkxllllt1"); // }
3147 UNSUPPORTED("f1kfj1lvizljipxfa8m49o34e"); // if (numsemi && numc) {
3148 UNSUPPORTED("9vi0u3wh25rzf9qx22ub742q9"); // if (multicolor (job, e, styles, color, numc+1, arrowsize, penwidth)) {
3149 UNSUPPORTED("2hm4ng34o2djs8z7qg2ac3c1x"); // color = "black";
3150 UNSUPPORTED("6t98dcecgbvbvtpycwiq2ynnj"); // }
3151 UNSUPPORTED("5c97f6vfxny0zz35l2bu4maox"); // else
3152 UNSUPPORTED("6bj8inpmr5ulm16jmfxsstjtn"); // return;
3153 UNSUPPORTED("flupwh3kosf3fkhkxllllt1"); // }
3154 UNSUPPORTED("1adkfqmo3ykccvljbvh44veke"); // fillcolor = pencolor = color;
3155 UNSUPPORTED("5zjv2jq8jwy0xnngx03rvezxj"); // if (ED_gui_state(e) & (1<<0)) {
3156 UNSUPPORTED("e1znbw6oeo9yq3u94bd736qh0"); // pencolor = late_nnstring(e, E_activepencolor,
3157 UNSUPPORTED("1g9t8pkrtaf7lucfw4wjhwq1b"); // default_pencolor(pencolor, "#808080"));
3158 UNSUPPORTED("2jqwe3bwxzh4ldnv9yft80lr9"); // fillcolor = late_nnstring(e, E_activefillcolor, "#fcfcfc");
3159 UNSUPPORTED("flupwh3kosf3fkhkxllllt1"); // }
3160 UNSUPPORTED("d3olcb516sc9gnsf00xgo98dd"); // else if (ED_gui_state(e) & (1<<1)) {
3161 UNSUPPORTED("6n83olgg54bds3atz6ocdxcgm"); // pencolor = late_nnstring(e, E_selectedpencolor,
3162 UNSUPPORTED("bjgr6yow0b74j4um7a2sekd1t"); // default_pencolor(pencolor, "#303030"));
3163 UNSUPPORTED("cm8kancv5dyuwquvezp6bfx54"); // fillcolor = late_nnstring(e, E_selectedfillcolor, "#e8e8e8");
3164 UNSUPPORTED("flupwh3kosf3fkhkxllllt1"); // }
3165 UNSUPPORTED("3szmncx89hltlxv3fqrn7abjs"); // else if (ED_gui_state(e) & (1<<3)) {
3166 UNSUPPORTED("9pzm0fj2ru19falkosarggftj"); // pencolor = late_nnstring(e, E_deletedpencolor,
3167 UNSUPPORTED("1ivzzes2dmdgnv86yk0ffaf2u"); // default_pencolor(pencolor, "#e0e0e0"));
3168 UNSUPPORTED("8o3b6zumizq20edhwhmjjtvjf"); // fillcolor = late_nnstring(e, E_deletedfillcolor, "#f0f0f0");
3169 UNSUPPORTED("flupwh3kosf3fkhkxllllt1"); // }
3170 UNSUPPORTED("59tkofvq26pokzebj54fxmvn"); // else if (ED_gui_state(e) & (1<<2)) {
3171 UNSUPPORTED("9ur79rphks1cca1bf289echp6"); // pencolor = late_nnstring(e, E_visitedpencolor,
3172 UNSUPPORTED("5c0jkjan0v1lp9rthvuo36q5e"); // default_pencolor(pencolor, "#101010"));
3173 UNSUPPORTED("73uog35zh3g1t58z0zbwtmoxh"); // fillcolor = late_nnstring(e, E_visitedfillcolor, "#f8f8f8");
3174 UNSUPPORTED("flupwh3kosf3fkhkxllllt1"); // }
3175 UNSUPPORTED("9352ql3e58qs4fzapgjfrms2s"); // else
3176 UNSUPPORTED("70e3lpuncfyeq8ow3o0twrknb"); // fillcolor = late_nnstring(e, E_fillcolor, color);
3177 UNSUPPORTED("besdb3lw2v7ps66w9w7tit6bj"); // if (pencolor != color)
3178 UNSUPPORTED("4s4clbt0ohbem378iomo2d67o"); // gvrender_set_pencolor(job, pencolor);
3179 UNSUPPORTED("ajy8xtlpgl5nu72sbovqnt6fl"); // if (fillcolor != color)
3180 UNSUPPORTED("b156qgcfm85r551m3jmzhysy7"); // gvrender_set_fillcolor(job, fillcolor);
3181 UNSUPPORTED("eso6mj6u37z0eyzv9bnyclws9"); // color = pencolor;
3182 UNSUPPORTED("75fa2ioc5gvzkhqk5qlljrc5k"); // if (tapered) {
3183 UNSUPPORTED("d2fgbjxcola63obus1hikp8pg"); // stroke_t* stp;
3184 UNSUPPORTED("4fan4tn82jocc40ifj8ouifx4"); // if (*color == '\0') color = "black";
3185 UNSUPPORTED("287ivnme7uzrjofjffd2b728s"); // if (*fillcolor == '\0') fillcolor = "black";
3186 UNSUPPORTED("aa64pbbtgdbmq07oeeb6b6xd6"); // gvrender_set_pencolor(job, "transparent");
3187 UNSUPPORTED("b4ftxmadx3875jpvifjzhsz4d"); // gvrender_set_fillcolor(job, color);
3188 UNSUPPORTED("3cdfvg0cegvnb5z8rbltyba5w"); // bz = ED_spl(e)->list[0];
3189 UNSUPPORTED("bstcwq3pyy3ut7b2lsr32fr81"); // stp = taper (&bz, taperfun (e), penwidth, 0, 0);
3190 UNSUPPORTED("4b4v79dvjxu6pk3cfm0u6f6ec"); // gvrender_polygon(job, stp->vertices, stp->nvertices, NOT(0));
3191 UNSUPPORTED("chpwwmn3mqyi2bzsp7whr9nd9"); // free_stroke (stp);
3192 UNSUPPORTED("2dyaq1mbp4llru6ov9chn9lky"); // gvrender_set_pencolor(job, color);
3193 UNSUPPORTED("7tv6l7sws5ownkmdcnfh1bd70"); // if (fillcolor != color)
3194 UNSUPPORTED("c8g4zrr9fhcg9l45gm7ut3wkl"); // gvrender_set_fillcolor(job, fillcolor);
3195 UNSUPPORTED("4ulz6ze3ok8dfrvqvzfe163do"); // if (bz.sflag) {
3196 UNSUPPORTED("3bsc7v0uj4ukdu3q4yku6pyc5"); // arrow_gen(job, EMIT_TDRAW, bz.sp, bz.list[0], arrowsize, penwidth, bz.sflag);
3197 UNSUPPORTED("6t98dcecgbvbvtpycwiq2ynnj"); // }
3198 UNSUPPORTED("5t5bh9txkzxp6h1lozsf250ww"); // if (bz.eflag) {
3199 UNSUPPORTED("dosyp6r5kbys1grl265mqm6d6"); // arrow_gen(job, EMIT_HDRAW, bz.ep, bz.list[bz.size - 1], arrowsize, penwidth, bz.eflag);
3200 UNSUPPORTED("6t98dcecgbvbvtpycwiq2ynnj"); // }
3201 UNSUPPORTED("flupwh3kosf3fkhkxllllt1"); // }
3202 UNSUPPORTED("3rk5e1uiwm7hzn0bhxpzi5dey"); // /* if more than one color - then generate parallel beziers, one per color */
3203 UNSUPPORTED("arvi3zjcegh42bgtwaulg8wkn"); // else if (numc) {
3204 UNSUPPORTED("8eaaczlv3zth4i3rc8kryne45"); // /* calculate and save offset vector spline and initialize first offset spline */
3205 UNSUPPORTED("8a120p6zsfs8ycbql82yqol7p"); // tmpspl.size = offspl.size = ED_spl(e)->size;
3206 UNSUPPORTED("e3xuwliq0lpq61lr4e3efh174"); // offspl.list = malloc(sizeof(bezier) * offspl.size);
3207 UNSUPPORTED("41o3n44hn71jtdapbdfe0y9si"); // tmpspl.list = malloc(sizeof(bezier) * tmpspl.size);
3208 UNSUPPORTED("8pvfophsjdyrye9m6oieixnvf"); // numc2 = (2 + numc) / 2.0;
3209 UNSUPPORTED("7wvoxnl3dqatxwcvgzbrvp8lz"); // for (i = 0; i < offspl.size; i++) {
3210 UNSUPPORTED("6uzqmcfjwogzxlwn3gsd5jdj"); // bz = ED_spl(e)->list[i];
3211 UNSUPPORTED("4lo2g191z1b9knaq7l6mnn6bh"); // tmpspl.list[i].size = offspl.list[i].size = bz.size;
3212 UNSUPPORTED("cc4js3gwy5jel80gaqbo8y129"); // offlist = offspl.list[i].list = malloc(sizeof(pointf) * bz.size);
3213 UNSUPPORTED("vf689dmffmji3k8sgjrc525g"); // tmplist = tmpspl.list[i].list = malloc(sizeof(pointf) * bz.size);
3214 UNSUPPORTED("6g7ruy3ae9horpmcz5nfjwyvm"); // pf3 = bz.list[0];
3215 UNSUPPORTED("7foyxeolsc28jypsxdwryyo6j"); // for (j = 0; j < bz.size - 1; j += 3) {
3216 UNSUPPORTED("du9m49x179tlyjv3kpi4ajyxu"); // pf0 = pf3;
3217 UNSUPPORTED("4kiwxmoozlkcz1l62hop75o9g"); // pf1 = bz.list[j + 1];
3218 UNSUPPORTED("euzly3uj0433xtqrcskytd7pi"); // /* calculate perpendicular vectors for each bezier point */
3219 UNSUPPORTED("8dvury325tlnhct9axnqkloml"); // if (j == 0) /* first segment, no previous pf2 */
3220 UNSUPPORTED("eqrlk7aad4crtsnmovu8rx5e6"); // offlist[j] = computeoffset_p(pf0, pf1, 2.0);
3221 UNSUPPORTED("ybsy5tjwpggeq6c9pm1r0mvg"); // else /* i.e. pf2 is available from previous segment */
3222 UNSUPPORTED("1x7zjqoo6zzgcjg1fmrin53gg"); // offlist[j] = computeoffset_p(pf2, pf1, 2.0);
3223 UNSUPPORTED("31nofnynnq04ixi0v38p12n9p"); // pf2 = bz.list[j + 2];
3224 UNSUPPORTED("w4fsbg1khv9rq1z4zqjr6buj"); // pf3 = bz.list[j + 3];
3225 UNSUPPORTED("5pp5m5z0j3ifb4261labxynia"); // offlist[j + 1] = offlist[j + 2] =
3226 UNSUPPORTED("az662ecxsluy2yowrt3q6ek2p"); // computeoffset_qr(pf0, pf1, pf2, pf3, 2.0);
3227 UNSUPPORTED("cbwbz3whkfb01jvescyn9k0sv"); // /* initialize tmpspl to outermost position */
3228 UNSUPPORTED("8wlvgs6gmjfrxnf217l61k9gs"); // tmplist[j].x = pf0.x - numc2 * offlist[j].x;
3229 UNSUPPORTED("88jzucdv8idpx03j2fewuvg1x"); // tmplist[j].y = pf0.y - numc2 * offlist[j].y;
3230 UNSUPPORTED("9xhxpretw3vq1bse37lv4cu0y"); // tmplist[j + 1].x = pf1.x - numc2 * offlist[j + 1].x;
3231 UNSUPPORTED("e3usjnf19ii4a29t9rtdtmfqy"); // tmplist[j + 1].y = pf1.y - numc2 * offlist[j + 1].y;
3232 UNSUPPORTED("a68d7jpzubul7pz15p6d036t0"); // tmplist[j + 2].x = pf2.x - numc2 * offlist[j + 2].x;
3233 UNSUPPORTED("9arrexwrbyqpj4ypwfyhjrtzg"); // tmplist[j + 2].y = pf2.y - numc2 * offlist[j + 2].y;
3234 UNSUPPORTED("6eq5kf0bj692bokt0bixy1ixh"); // }
3235 UNSUPPORTED("ed04mnw0pqbnqfyg4xzrkfzkt"); // /* last segment, no next pf1 */
3236 UNSUPPORTED("gwh8gl1f8r7993j5qtnjb5du"); // offlist[j] = computeoffset_p(pf2, pf3, 2.0);
3237 UNSUPPORTED("80gkd0c5b7k80ahlygpim1gmb"); // tmplist[j].x = pf3.x - numc2 * offlist[j].x;
3238 UNSUPPORTED("3z599nt08uc3h1yma07b04aj3"); // tmplist[j].y = pf3.y - numc2 * offlist[j].y;
3239 UNSUPPORTED("6t98dcecgbvbvtpycwiq2ynnj"); // }
3240 UNSUPPORTED("4tu18v3pp0xuim6h8mg6d5acj"); // lastcolor = headcolor = tailcolor = color;
3241 UNSUPPORTED("e898dxfr4zmw4omwcbes9a6bp"); // colors = strdup(color);
3242 UNSUPPORTED("9c7ud1ls5bwt4gauc6v44g982"); // for (cnum = 0, color = strtok(colors, ":"); color;
3243 UNSUPPORTED("9ekqe3cr3rsir3piy9j737nk2"); // cnum++, color = strtok(0, ":")) {
3244 UNSUPPORTED("anr2fzsu68eq5ho25s3n57ucq"); // if (!color[0])
3245 UNSUPPORTED("axx7q4yy90hd2qya7l3hppd5c"); // color = "black";
3246 UNSUPPORTED("a2ducrn6b7qjjhh7f81totdqw"); // if (color != lastcolor) {
3247 UNSUPPORTED("aabfth40rjblehad0r9zya7ci"); // if (! (ED_gui_state(e) & ((1<<0) | (1<<1)))) {
3248 UNSUPPORTED("aa6xnio2sxgn1omogw6y8xyri"); // gvrender_set_pencolor(job, color);
3249 UNSUPPORTED("cjpgya31i8in4mlytxcux25xk"); // gvrender_set_fillcolor(job, color);
3250 UNSUPPORTED("dkxvw03k2gg9anv4dbze06axd"); // }
3251 UNSUPPORTED("e9aurhv58krtw8fa2qx3bd70y"); // lastcolor = color;
3252 UNSUPPORTED("6eq5kf0bj692bokt0bixy1ixh"); // }
3253 UNSUPPORTED("1ngzlxjzccbsg6ucsln5rvfy0"); // if (cnum == 0)
3254 UNSUPPORTED("7hmj22ga66vzbca8w3syrk9f7"); // headcolor = tailcolor = color;
3255 UNSUPPORTED("4wn5san08kv94kkd7i7afxjhl"); // if (cnum == 1)
3256 UNSUPPORTED("7oxd4vlfp5a45womyvouxm6d6"); // tailcolor = color;
3257 UNSUPPORTED("d7gdoq0jhg8b4ac0gf5kv9ivo"); // for (i = 0; i < tmpspl.size; i++) {
3258 UNSUPPORTED("46p8d4gs7irf8q8np6w0dmvi2"); // tmplist = tmpspl.list[i].list;
3259 UNSUPPORTED("ew31zut96cgfu6j038wbwoeuh"); // offlist = offspl.list[i].list;
3260 UNSUPPORTED("5aahyg8gv7pvkfk4zigpruzu6"); // for (j = 0; j < tmpspl.list[i].size; j++) {
3261 UNSUPPORTED("428mqlpmorpkmzs7314jtfgo1"); // tmplist[j].x += offlist[j].x;
3262 UNSUPPORTED("870cggpxew62biyq2myzh1be"); // tmplist[j].y += offlist[j].y;
3263 UNSUPPORTED("dkxvw03k2gg9anv4dbze06axd"); // }
3264 UNSUPPORTED("1n3ez6dffthnb7zqgi0dc571b"); // gvrender_beziercurve(job, tmplist, tmpspl.list[i].size,
3265 UNSUPPORTED("3tvyao2azw8uqezjar4gg12rj"); // 0, 0, 0);
3266 UNSUPPORTED("6eq5kf0bj692bokt0bixy1ixh"); // }
3267 UNSUPPORTED("6t98dcecgbvbvtpycwiq2ynnj"); // }
3268 UNSUPPORTED("4ulz6ze3ok8dfrvqvzfe163do"); // if (bz.sflag) {
3269 UNSUPPORTED("cnl2vgj89lj652fz58jzw5fgr"); // if (color != tailcolor) {
3270 UNSUPPORTED("61755uq447ue5aaxqvfbryhfo"); // color = tailcolor;
3271 UNSUPPORTED("aabfth40rjblehad0r9zya7ci"); // if (! (ED_gui_state(e) & ((1<<0) | (1<<1)))) {
3272 UNSUPPORTED("aa6xnio2sxgn1omogw6y8xyri"); // gvrender_set_pencolor(job, color);
3273 UNSUPPORTED("cjpgya31i8in4mlytxcux25xk"); // gvrender_set_fillcolor(job, color);
3274 UNSUPPORTED("dkxvw03k2gg9anv4dbze06axd"); // }
3275 UNSUPPORTED("6eq5kf0bj692bokt0bixy1ixh"); // }
3276 UNSUPPORTED("ankm9epmn1d51qf5040r6fpo3"); // arrow_gen(job, EMIT_TDRAW, bz.sp, bz.list[0],
3277 UNSUPPORTED("4o0fkltlgsxx45rvoau5pvp16"); // arrowsize, penwidth, bz.sflag);
3278 UNSUPPORTED("6t98dcecgbvbvtpycwiq2ynnj"); // }
3279 UNSUPPORTED("5t5bh9txkzxp6h1lozsf250ww"); // if (bz.eflag) {
3280 UNSUPPORTED("1bf269kx0rl5v6qpt9cbabezx"); // if (color != headcolor) {
3281 UNSUPPORTED("91s08h9fw7wrj8oyt31cgu4or"); // color = headcolor;
3282 UNSUPPORTED("aabfth40rjblehad0r9zya7ci"); // if (! (ED_gui_state(e) & ((1<<0) | (1<<1)))) {
3283 UNSUPPORTED("aa6xnio2sxgn1omogw6y8xyri"); // gvrender_set_pencolor(job, color);
3284 UNSUPPORTED("cjpgya31i8in4mlytxcux25xk"); // gvrender_set_fillcolor(job, color);
3285 UNSUPPORTED("dkxvw03k2gg9anv4dbze06axd"); // }
3286 UNSUPPORTED("6eq5kf0bj692bokt0bixy1ixh"); // }
3287 UNSUPPORTED("77fdpd135fqcv7jprr2ac2k7b"); // arrow_gen(job, EMIT_HDRAW, bz.ep, bz.list[bz.size - 1],
3288 UNSUPPORTED("3umh63h5q3be2s7ix5nvchvxa"); // arrowsize, penwidth, bz.eflag);
3289 UNSUPPORTED("6t98dcecgbvbvtpycwiq2ynnj"); // }
3290 UNSUPPORTED("ein30zj4hern2nnkuo8pqpwqy"); // free(colors);
3291 UNSUPPORTED("7wvoxnl3dqatxwcvgzbrvp8lz"); // for (i = 0; i < offspl.size; i++) {
3292 UNSUPPORTED("1wjuw35ysxsboo3rdxm79nmfy"); // free(offspl.list[i].list);
3293 UNSUPPORTED("60zkuby9v464su4bc563u74ts"); // free(tmpspl.list[i].list);
3294 UNSUPPORTED("6t98dcecgbvbvtpycwiq2ynnj"); // }
3295 UNSUPPORTED("ewlz06ozbl7bfb9epkz1ox6mt"); // free(offspl.list);
3296 UNSUPPORTED("14byj4mkdb5aaeyd48wnrxku6"); // free(tmpspl.list);
3297 UNSUPPORTED("7yhr8hn3r6wohafwxrt85b2j2"); // } else {
3298 UNSUPPORTED("8gqszi1k0mq14icjh1ot8vg53"); // if (! (ED_gui_state(e) & ((1<<0) | (1<<1)))) {
3299 UNSUPPORTED("5czy66vom4jkjwpkobz0tn2kv"); // if (color[0]) {
3300 UNSUPPORTED("bd0syu44e3lbokb2mhifc6xzx"); // gvrender_set_pencolor(job, color);
3301 UNSUPPORTED("sj6fn2hkr0i5p6gyntb8nbz7"); // gvrender_set_fillcolor(job, fillcolor);
3302 UNSUPPORTED("3pv9j4qzifaa1yqzdsrv6crqk"); // } else {
3303 UNSUPPORTED("38cb36y8b8k7nyp8ou2ci224"); // gvrender_set_pencolor(job, "black");
3304 UNSUPPORTED("53s7vea1n8kkq2j04kqwf7f57"); // if (fillcolor[0])
3305 UNSUPPORTED("b3wipvue5h9yn4mwq4jdrvbqj"); // gvrender_set_fillcolor(job, fillcolor);
3306 UNSUPPORTED("9acag2yacl63g8rg6r1alu62x"); // else
3307 UNSUPPORTED("3gfs0bkmty8cyqpr1hvhleit"); // gvrender_set_fillcolor(job, "black");
3308 UNSUPPORTED("6o67xwzi6pf81mieipn703sxl"); // }
3309 UNSUPPORTED("6t98dcecgbvbvtpycwiq2ynnj"); // }
3310 UNSUPPORTED("ah9ldbdg46psh3ic9qv1v1w1h"); // for (i = 0; i < ED_spl(e)->size; i++) {
3311 UNSUPPORTED("6uzqmcfjwogzxlwn3gsd5jdj"); // bz = ED_spl(e)->list[i];
3312 UNSUPPORTED("4vmmlrhormhci854vjzy3xfp5"); // if (job->flags & (1<<14)) {
3313 UNSUPPORTED("3fq5qfvm5itvhminu91gbm0xl"); // gvrender_beziercurve(job, bz.list, bz.size, bz.sflag, bz.eflag, 0);
3314 UNSUPPORTED("a47jqpic91ky93e1ohxv590l5"); // } else {
3315 UNSUPPORTED("dpf7yejadgyhte1g6i690hdvh"); // gvrender_beziercurve(job, bz.list, bz.size, 0, 0, 0);
3316 UNSUPPORTED("1varqft14sst3gy9wlbwfxs2h"); // if (bz.sflag) {
3317 UNSUPPORTED("4kjbcxhhyztcuvz6tljmieqnn"); // arrow_gen(job, EMIT_TDRAW, bz.sp, bz.list[0],
3318 UNSUPPORTED("4on3hu0dhyuvi03lazibxt3cb"); // arrowsize, penwidth, bz.sflag);
3319 UNSUPPORTED("dkxvw03k2gg9anv4dbze06axd"); // }
3320 UNSUPPORTED("1rw0tdjfpvfjrqqs2goiovglj"); // if (bz.eflag) {
3321 UNSUPPORTED("308rgxf2j9o0sn6ergiflga31"); // arrow_gen(job, EMIT_HDRAW, bz.ep, bz.list[bz.size - 1],
3322 UNSUPPORTED("dbyip7sr13mvy3tsoe4o9i19t"); // arrowsize, penwidth, bz.eflag);
3323 UNSUPPORTED("dkxvw03k2gg9anv4dbze06axd"); // }
3324 UNSUPPORTED("6k0z6eroe598hkmkh1ynpnanu"); // if ((ED_spl(e)->size>1) && (bz.sflag||bz.eflag) && styles)
3325 UNSUPPORTED("44yezt0mg1ptjxgfbrz8rnq3d"); // gvrender_set_style(job, styles);
3326 UNSUPPORTED("6eq5kf0bj692bokt0bixy1ixh"); // }
3327 UNSUPPORTED("6t98dcecgbvbvtpycwiq2ynnj"); // }
3328 UNSUPPORTED("flupwh3kosf3fkhkxllllt1"); // }
3329 UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); // }
3330 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
3331
3332 throw new UnsupportedOperationException();
3333 }
3334
3335
3336
3337
3338 //3 8clgbd8hcgw564ispajc9fzmg
3339 // static boolean edge_in_box(edge_t *e, boxf b)
3340 public static Object edge_in_box(Object... arg) {
3341 UNSUPPORTED("4ocf4su3fqdqvh06u5f0hltsn"); // static boolean edge_in_box(edge_t *e, boxf b)
3342 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
3343 UNSUPPORTED("6tl9mepc2bett364jduh2q4mf"); // splines *spl;
3344 UNSUPPORTED("cqwl7s9yvzr8n5v8svuuv1a1q"); // textlabel_t *lp;
3345 UNSUPPORTED("2c3cg84bl0xam4mk6g5f31jj0"); // spl = ED_spl(e);
3346 UNSUPPORTED("7hvxias4hzevaqzopdofxqtf7"); // if (spl && boxf_overlap(spl->bb, b))
3347 UNSUPPORTED("anqbm3khxs8r22akkx8kcgbbx"); // return NOT(0);
3348 UNSUPPORTED("n9pj1f2ecz41q7q378oisbjt"); // lp = ED_label(e);
3349 UNSUPPORTED("26tbjilm0lmi9lsxtc9qh7qr"); // if (lp && overlap_label(lp, b))
3350 UNSUPPORTED("anqbm3khxs8r22akkx8kcgbbx"); // return NOT(0);
3351 UNSUPPORTED("16wq7hm2hmp8t60ogm2usvvsu"); // lp = ED_xlabel(e);
3352 UNSUPPORTED("erykqbn6tqjiaxzh5ob60z1f1"); // if (lp && lp->set && overlap_label(lp, b))
3353 UNSUPPORTED("anqbm3khxs8r22akkx8kcgbbx"); // return NOT(0);
3354 UNSUPPORTED("5oxhd3fvp0gfmrmz12vndnjt"); // return 0;
3355 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
3356
3357 throw new UnsupportedOperationException();
3358 }
3359
3360
3361
3362
3363 //3 cbl8pryorx02zjsmvgy70ve3p
3364 // static void emit_begin_edge(GVJ_t * job, edge_t * e, char** styles)
3365 public static Object emit_begin_edge(Object... arg) {
3366 UNSUPPORTED("2ig8s73qzrztk38xr6ky7zb11"); // static void emit_begin_edge(GVJ_t * job, edge_t * e, char** styles)
3367 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
3368 UNSUPPORTED("8lamppsqs7nhiu5v8k1f5jfh2"); // obj_state_t *obj;
3369 UNSUPPORTED("12bpksga44s9sfl7x8xn2rt2k"); // int flags = job->flags;
3370 UNSUPPORTED("8yytudftst76763qgnjebkzhm"); // char *s;
3371 UNSUPPORTED("161c0dnzyd7i9yp8msmk5m4uk"); // textlabel_t *lab = NULL, *tlab = NULL, *hlab = NULL;
3372 UNSUPPORTED("5nywj0gapcfc2dmrad685bp6p"); // pointf *pbs = NULL;
3373 UNSUPPORTED("cl4bevd50vcwmjkrgq0elpafi"); // int i, nump, *pbs_n = NULL, pbs_poly_n = 0;
3374 UNSUPPORTED("3jo16cd9vt1kjc2upgxm9v4ro"); // char* dflt_url = NULL;
3375 UNSUPPORTED("c1xlgxbqyzghwddjio1795bot"); // char* dflt_target = NULL;
3376 UNSUPPORTED("75w3zx2oz7s1yf7arcxf48heo"); // double penwidth;
3377 UNSUPPORTED("1iexddadjo0w6fdgddatfx40s"); // obj = push_obj_state(job);
3378 UNSUPPORTED("b89ouigo5gftk9ug9cj99l2ev"); // obj->type = EDGE_OBJTYPE;
3379 UNSUPPORTED("8uahr3ivszgqh5671v8617mjq"); // obj->u.e = e;
3380 UNSUPPORTED("atedmjmxm7qoeolyi1wi7k1j4"); // obj->emit_state = EMIT_EDRAW;
3381 UNSUPPORTED("1db1hibhp0ubguecujfaj8wix"); // /* We handle the edge style and penwidth here because the width
3382 UNSUPPORTED("69ewknm6ydrnvfky1fo5ty9my"); // * is needed below for calculating polygonal image maps
3383 UNSUPPORTED("795vpnc8yojryr8b46aidsu69"); // */
3384 UNSUPPORTED("rrp11kv0zwuznrwfe4ka8ko0"); // if (styles && ED_spl(e)) gvrender_set_style(job, styles);
3385 UNSUPPORTED("6vy4pkkhruh7w9iykz7tfgi9g"); // if (E_penwidth && ((s=agxget(e,E_penwidth)) && s[0])) {
3386 UNSUPPORTED("bei9v8b4qq66l2v8kmz3bnuwb"); // penwidth = late_double(e, E_penwidth, 1.0, 0.0);
3387 UNSUPPORTED("a85jezrt5nu63vkla8bslhzcx"); // gvrender_set_penwidth(job, penwidth);
3388 UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); // }
3389 UNSUPPORTED("984vi925q5gu9ti0dn4c6h1pu"); // if (flags & (1<<24)) {
3390 UNSUPPORTED("aaozphuch8tw889utqbq1vdsl"); // /* obj->tail_z = late_double(agtail(e), N_z, 0.0, -1000.0); */
3391 UNSUPPORTED("1qb7gbxecops5b2y4ze6kkb3m"); // /* obj->head_z = late_double(aghead(e), N_z, 0.0, -MAXFLOAT); */
3392 UNSUPPORTED("d9qmjxnu6if6ms7ptj8jv1sou"); // if (GD_odim(agraphof(agtail(e))) >=3) {
3393 UNSUPPORTED("apupbk890ov955gpnt1ywdg8x"); // obj->tail_z = (ROUND((ND_pos(agtail(e))[2])*72));
3394 UNSUPPORTED("7l2k0b1xoqey4kaneraonwuox"); // obj->head_z = (ROUND((ND_pos(aghead(e))[2])*72));
3395 UNSUPPORTED("7yhr8hn3r6wohafwxrt85b2j2"); // } else {
3396 UNSUPPORTED("e5r0sn9g2mp9ns4hrphra5h51"); // obj->tail_z = obj->head_z = 0.0;
3397 UNSUPPORTED("flupwh3kosf3fkhkxllllt1"); // }
3398 UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); // }
3399 UNSUPPORTED("23wil4rzu7y2cg0oxiahdthfo"); // if (flags & (1<<15)) {
3400 UNSUPPORTED("1vaujzmkgkvzg9r3ws72hd0sn"); // if ((lab = ED_label(e)))
3401 UNSUPPORTED("10gcpuuqg5ziec0pp9kyhlbqb"); // obj->label = lab->text;
3402 UNSUPPORTED("18olw94kq4sb382d1xowaqmex"); // obj->taillabel = obj->headlabel = obj->xlabel = obj->label;
3403 UNSUPPORTED("2hqbgo1ml83utbsvik1j8i2us"); // if ((tlab = ED_xlabel(e)))
3404 UNSUPPORTED("4lnx8sli5qlwwkc6jf7fct4rl"); // obj->xlabel = tlab->text;
3405 UNSUPPORTED("ach6hnpzids5tf6isfd5kmv6k"); // if ((tlab = ED_tail_label(e)))
3406 UNSUPPORTED("e7gzimwa7y8dtdogbme4beiz1"); // obj->taillabel = tlab->text;
3407 UNSUPPORTED("9i7k1tgfaw9tmwoxsq3mqygz7"); // if ((hlab = ED_head_label(e)))
3408 UNSUPPORTED("dp7pv3xtw76x8tv19cch23xnp"); // obj->headlabel = hlab->text;
3409 UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); // }
3410 UNSUPPORTED("ekhzvq8l2u2frs2tl01cuf71s"); // if (flags & (1<<16)) {
3411 UNSUPPORTED("8moktqylyfg7421xon31c77cc"); // agxbuf xb;
3412 UNSUPPORTED("2m3h7h7zkzx4aix1gvfd54itd"); // unsigned char xbuf[128];
3413 UNSUPPORTED("6dfmabcsvvsbizc4h30vlmcv0"); // agxbinit(&xb, 128, xbuf);
3414 UNSUPPORTED("cxt18v48tfjjupb58w42yijkl"); // s = getObjId (job, e, &xb);
3415 UNSUPPORTED("20n0stvu1ku0ueoyhntfblzwk"); // obj->id = strdup_and_subst_obj(s, (void*)e);
3416 UNSUPPORTED("52frst03mcbsuu6bmnqs962qm"); // agxbfree(&xb);
3417 UNSUPPORTED("1671vg2ii28nl1884z9by98oj"); // if (((s = agget(e, "href")) && s[0]) || ((s = agget(e, "URL")) && s[0]))
3418 UNSUPPORTED("d91p689ronm5sfp1t1zp8a9lg"); // dflt_url = strdup_and_subst_obj(s, (void*)e);
3419 UNSUPPORTED("14h7yzdms65e8u39cm8u9j09d"); // if (((s = agget(e, "edgehref")) && s[0]) || ((s = agget(e, "edgeURL")) && s[0]))
3420 UNSUPPORTED("7tbdqrc1yfgnnqv43758e83ox"); // obj->url = strdup_and_subst_obj(s, (void*)e);
3421 UNSUPPORTED("95kpmzfgantzkuuqda3257e1w"); // else if (dflt_url)
3422 UNSUPPORTED("bpb2jomy0ylc3sny2qpqs5ow0"); // obj->url = strdup(dflt_url);
3423 UNSUPPORTED("4px9z3013lzzxp1y25an6kq60"); // if (((s = agget(e, "labelhref")) && s[0]) || ((s = agget(e, "labelURL")) && s[0]))
3424 UNSUPPORTED("at75pf09xegtmpfpxuho1ez3a"); // obj->labelurl = strdup_and_subst_obj(s, (void*)e);
3425 UNSUPPORTED("95kpmzfgantzkuuqda3257e1w"); // else if (dflt_url)
3426 UNSUPPORTED("97vequ01i369l44p14efuqvhm"); // obj->labelurl = strdup(dflt_url);
3427 UNSUPPORTED("9iu3uo079ib1p40uh1yasbvqm"); // if (((s = agget(e, "tailhref")) && s[0]) || ((s = agget(e, "tailURL")) && s[0])) {
3428 UNSUPPORTED("ytymloen95ie2kurds6mbjqg"); // obj->tailurl = strdup_and_subst_obj(s, (void*)e);
3429 UNSUPPORTED("7hm7tuu8dsjj1pui6g0tc1k6f"); // obj->explicit_tailurl = NOT(0);
3430 UNSUPPORTED("flupwh3kosf3fkhkxllllt1"); // }
3431 UNSUPPORTED("95kpmzfgantzkuuqda3257e1w"); // else if (dflt_url)
3432 UNSUPPORTED("47aatd2rv5gwkpo89wjbtk0h1"); // obj->tailurl = strdup(dflt_url);
3433 UNSUPPORTED("7nxel42t6oq08r8gct4rsxf7v"); // if (((s = agget(e, "headhref")) && s[0]) || ((s = agget(e, "headURL")) && s[0])) {
3434 UNSUPPORTED("7gtgsooxqvcu6l1puh1h4eo7b"); // obj->headurl = strdup_and_subst_obj(s, (void*)e);
3435 UNSUPPORTED("asli1axdl9etovuah6pxmmee5"); // obj->explicit_headurl = NOT(0);
3436 UNSUPPORTED("flupwh3kosf3fkhkxllllt1"); // }
3437 UNSUPPORTED("95kpmzfgantzkuuqda3257e1w"); // else if (dflt_url)
3438 UNSUPPORTED("4pmt43kqcvoumkzh5z4w2t1vf"); // obj->headurl = strdup(dflt_url);
3439 UNSUPPORTED("3xbu5lb3fe5zgccq9vbjk3kln"); // }
3440 UNSUPPORTED("akp8i12zqhzyti5072dctwx4z"); // if (flags & (1<<23)) {
3441 UNSUPPORTED("6863y1q9ojbbbx8f4e3vwlen2"); // if ((s = agget(e, "target")) && s[0])
3442 UNSUPPORTED("6e7ucuyioknvvz9i86kctjo8f"); // dflt_target = strdup_and_subst_obj(s, (void*)e);
3443 UNSUPPORTED("9ybfu42vnta17eg18hledoxk7"); // if ((s = agget(e, "edgetarget")) && s[0]) {
3444 UNSUPPORTED("doh5a8birowwtmsp8f8982lle"); // obj->explicit_edgetarget = NOT(0);
3445 UNSUPPORTED("4z44bpd7qea5mlut410evqsif"); // obj->target = strdup_and_subst_obj(s, (void*)e);
3446 UNSUPPORTED("flupwh3kosf3fkhkxllllt1"); // }
3447 UNSUPPORTED("ausveuroy93s2sdgviv4p0lcv"); // else if (dflt_target)
3448 UNSUPPORTED("a1ke8xqvu9o082268ksexzgny"); // obj->target = strdup(dflt_target);
3449 UNSUPPORTED("bpe0irgpt9end7gtltjdokxpy"); // if ((s = agget(e, "labeltarget")) && s[0])
3450 UNSUPPORTED("bzn9htm8cci6c7dde9k91l83s"); // obj->labeltarget = strdup_and_subst_obj(s, (void*)e);
3451 UNSUPPORTED("ausveuroy93s2sdgviv4p0lcv"); // else if (dflt_target)
3452 UNSUPPORTED("ar607cwjyspcv574196uxzkjc"); // obj->labeltarget = strdup(dflt_target);
3453 UNSUPPORTED("5rdzxxesadfpf6txv5t01ozuj"); // if ((s = agget(e, "tailtarget")) && s[0]) {
3454 UNSUPPORTED("4w54a911j5thxlajsmya0lxqq"); // obj->tailtarget = strdup_and_subst_obj(s, (void*)e);
3455 UNSUPPORTED("85s8gvyt4vepi64xcje31iek8"); // obj->explicit_tailtarget = NOT(0);
3456 UNSUPPORTED("flupwh3kosf3fkhkxllllt1"); // }
3457 UNSUPPORTED("ausveuroy93s2sdgviv4p0lcv"); // else if (dflt_target)
3458 UNSUPPORTED("37o9c6wmbsdgi78jeu7kisvbu"); // obj->tailtarget = strdup(dflt_target);
3459 UNSUPPORTED("9h2r9gbx0nfsnhwvo6rkbrx9i"); // if ((s = agget(e, "headtarget")) && s[0]) {
3460 UNSUPPORTED("4zxyzeqp8h430tyb6zjdn4sd6"); // obj->explicit_headtarget = NOT(0);
3461 UNSUPPORTED("7r8xkvzh66pda9mg5skownrld"); // obj->headtarget = strdup_and_subst_obj(s, (void*)e);
3462 UNSUPPORTED("flupwh3kosf3fkhkxllllt1"); // }
3463 UNSUPPORTED("ausveuroy93s2sdgviv4p0lcv"); // else if (dflt_target)
3464 UNSUPPORTED("dr88cbxj5srk1ojowv9swn9pr"); // obj->headtarget = strdup(dflt_target);
3465 UNSUPPORTED("3xbu5lb3fe5zgccq9vbjk3kln"); // }
3466 UNSUPPORTED("ep9t9tvrtouwjd7pulp378fzi"); // if (flags & (1<<22)) {
3467 UNSUPPORTED("8b522c1xkaxbe7orhmgdpw7wo"); // if (((s = agget(e, "tooltip")) && s[0]) ||
3468 UNSUPPORTED("epyuvpbf4py1ueht2htfx9wrg"); // ((s = agget(e, "edgetooltip")) && s[0])) {
3469 UNSUPPORTED("8mqt0zsk0c9lp05pgm5t2c6z7"); // obj->tooltip = strdup_and_subst_obj(s, (void*)e);
3470 UNSUPPORTED("diwiuhgudo706youzbhxsmajm"); // obj->explicit_tooltip = NOT(0);
3471 UNSUPPORTED("flupwh3kosf3fkhkxllllt1"); // }
3472 UNSUPPORTED("aqmnkkhtx4an4uhckaewhcgmp"); // else if (obj->label)
3473 UNSUPPORTED("4s32lfe96j6y84uateu8as1g0"); // obj->tooltip = strdup(obj->label);
3474 UNSUPPORTED("c5kcbti582hfnwvehr32n2va7"); // if ((s = agget(e, "labeltooltip")) && s[0]) {
3475 UNSUPPORTED("bhdlgf7cc5ykmujysafzspf2m"); // obj->labeltooltip = strdup_and_subst_obj(s, (void*)e);
3476 UNSUPPORTED("npeafaiazv07hkrit692subv"); // obj->explicit_labeltooltip = NOT(0);
3477 UNSUPPORTED("flupwh3kosf3fkhkxllllt1"); // }
3478 UNSUPPORTED("aqmnkkhtx4an4uhckaewhcgmp"); // else if (obj->label)
3479 UNSUPPORTED("2hl1g7eri9qv82oy9sfyzt81j"); // obj->labeltooltip = strdup(obj->label);
3480 UNSUPPORTED("6voynh2r7ssu3ixda4lxxkair"); // if ((s = agget(e, "tailtooltip")) && s[0]) {
3481 UNSUPPORTED("du6ndrua8ofzqrdrl93za73fy"); // obj->tailtooltip = strdup_and_subst_obj(s, (void*)e);
3482 UNSUPPORTED("c8tog5rk6xyjayycyb3lrvv1z"); // obj->explicit_tailtooltip = NOT(0);
3483 UNSUPPORTED("flupwh3kosf3fkhkxllllt1"); // }
3484 UNSUPPORTED("2ztxqs1s2cxhj4vgiol21jz63"); // else if (obj->taillabel)
3485 UNSUPPORTED("8oa1ltfyq9fydfsizol8ewimo"); // obj->tailtooltip = strdup(obj->taillabel);
3486 UNSUPPORTED("cl0wrp7bp2cgxks07e64qiuqf"); // if ((s = agget(e, "headtooltip")) && s[0]) {
3487 UNSUPPORTED("5phljruko4leqqbs5bppxgsj"); // obj->headtooltip = strdup_and_subst_obj(s, (void*)e);
3488 UNSUPPORTED("eq1aukj58yixydy8kpfo7z1yi"); // obj->explicit_headtooltip = NOT(0);
3489 UNSUPPORTED("flupwh3kosf3fkhkxllllt1"); // }
3490 UNSUPPORTED("9roz9l9toa612u73rurlji9l4"); // else if (obj->headlabel)
3491 UNSUPPORTED("24l5dbncepggtecq9rngaod0d"); // obj->headtooltip = strdup(obj->headlabel);
3492 UNSUPPORTED("3xbu5lb3fe5zgccq9vbjk3kln"); // }
3493 UNSUPPORTED("2mg64zxg17fewxae9xmwwaa0m"); // free (dflt_url);
3494 UNSUPPORTED("6w5fxao8mlryxwk1mz7ksvbce"); // free (dflt_target);
3495 UNSUPPORTED("6ic0ku7wr32jsf5j0pwkrzq8j"); // if (flags & ((1<<16) | (1<<22))) {
3496 UNSUPPORTED("5ndyf9os0xxk8bsbjd2c2scjp"); // if (ED_spl(e) && (obj->url || obj->tooltip) && (flags & (1<<19))) {
3497 UNSUPPORTED("gq85b3oml4t5u52mslbiohm4"); // int ns;
3498 UNSUPPORTED("bapn9032dhdk62b51i2ut3i7t"); // splines *spl;
3499 UNSUPPORTED("3wvt6ajtp2z5ux7yhf3i1uu51"); // double w2 = MAX(job->obj->penwidth/2.0,2.0);
3500 UNSUPPORTED("74rl229xn6mlrx2uv5gby9xoi"); // spl = ED_spl(e);
3501 UNSUPPORTED("borrlfudm59nvnwsmvvccimug"); // ns = spl->size; /* number of splines */
3502 UNSUPPORTED("bwf639msooalzn11a63mrvdh0"); // for (i = 0; i < ns; i++)
3503 UNSUPPORTED("9ta5hkbutugjx9htzj3lq1pav"); // map_output_bspline (&pbs, &pbs_n, &pbs_poly_n, spl->list+i, w2);
3504 UNSUPPORTED("3l39oh2gmkeoyrfm0yzl8m4d4"); // obj->url_bsplinemap_poly_n = pbs_poly_n;
3505 UNSUPPORTED("co64ewdmi3b7x6t2h8cp9hkvg"); // obj->url_bsplinemap_n = pbs_n;
3506 UNSUPPORTED("6pz9l8cp367kjl3asc6hiwnpz"); // if (! (flags & (1<<13))) {
3507 UNSUPPORTED("9zfwixrcbys3l8gx4ol8980op"); // for ( nump = 0, i = 0; i < pbs_poly_n; i++)
3508 UNSUPPORTED("a4l7ie3p7q35rrj0oglmisn5t"); // nump += pbs_n[i];
3509 UNSUPPORTED("7v0e42759wdkgsyz70af06mms"); // gvrender_ptf_A(job, pbs, pbs, nump);
3510 UNSUPPORTED("6t98dcecgbvbvtpycwiq2ynnj"); // }
3511 UNSUPPORTED("4o2ao6pcwmplab6n21deqwps9"); // obj->url_bsplinemap_p = pbs;
3512 UNSUPPORTED("5k8t4lz63jq26u2xqeoskhen7"); // obj->url_map_shape = MAP_POLYGON;
3513 UNSUPPORTED("1mpert8m5p683pcg0qyjgzj1"); // obj->url_map_p = pbs;
3514 UNSUPPORTED("84gohar4j2iw17h4sy0oehdhy"); // obj->url_map_n = pbs_n[0];
3515 UNSUPPORTED("flupwh3kosf3fkhkxllllt1"); // }
3516 UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); // }
3517 UNSUPPORTED("22f78nyasgzgcunmxhflea4ug"); // gvrender_begin_edge(job, e);
3518 UNSUPPORTED("spdml5d3q3jza61kjh4zxw31"); // if (obj->url || obj->explicit_tooltip)
3519 UNSUPPORTED("6e7g66eeo7n8h8mq556pt3xxy"); // gvrender_begin_anchor(job,
3520 UNSUPPORTED("av1tl9edbbm94up94c6rfx2tc"); // obj->url, obj->tooltip, obj->target, obj->id);
3521 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
3522
3523 throw new UnsupportedOperationException();
3524 }
3525
3526
3527
3528
3529 //3 29djyajtv7sgp9x7yjc7qzabo
3530 // static void emit_edge_label(GVJ_t* job, textlabel_t* lbl, emit_state_t lkind, int explicit, char* url, char* tooltip, char* target, char *id, splines* spl)
3531 public static Object emit_edge_label(Object... arg) {
3532 UNSUPPORTED("e2z2o5ybnr5tgpkt8ty7hwan1"); // static void
3533 UNSUPPORTED("35xyp233i430kqmc9ujvqett4"); // emit_edge_label(GVJ_t* job, textlabel_t* lbl, emit_state_t lkind, int explicit,
3534 UNSUPPORTED("en7wsvah9njefedha3fj9icwa"); // char* url, char* tooltip, char* target, char *id, splines* spl)
3535 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
3536 UNSUPPORTED("12bpksga44s9sfl7x8xn2rt2k"); // int flags = job->flags;
3537 UNSUPPORTED("ecr1y7qy0ikxkidkdfvwv88ir"); // emit_state_t old_emit_state;
3538 UNSUPPORTED("6w3ygcd4u5ovgqghawjtzd4l8"); // char* newid;
3539 UNSUPPORTED("98v0vg88ycqpkpyg1kritbah0"); // char* type;
3540 UNSUPPORTED("3sg0pzcyo2xi4xr9utypik0di"); // if ((lbl == NULL) || !(lbl->set)) return;
3541 UNSUPPORTED("bt2nnyzwpzxnzhhrsjv03du9j"); // if (id) { /* non-NULL if needed */
3542 UNSUPPORTED("6o6r1v1dpl86m94m7l5omr00u"); // newid = (char*)zmalloc((strlen(id) + sizeof("-headlabel"))*sizeof(char));
3543 UNSUPPORTED("9queigxdufzgkqvtlnulkij8z"); // switch (lkind) {
3544 UNSUPPORTED("4dur34ux7rmaxikyxa4xy6mt3"); // case EMIT_ELABEL :
3545 UNSUPPORTED("5yejllfmasus697zyh9icg23m"); // type = "label";
3546 UNSUPPORTED("ai3czg6gaaxspsmndknpyvuiu"); // break;
3547 UNSUPPORTED("ckacb8gd8ihcl655tak5p48xx"); // case EMIT_HLABEL :
3548 UNSUPPORTED("60jcdu5mykv7nj9c62dt74vbg"); // type = "headlabel";
3549 UNSUPPORTED("ai3czg6gaaxspsmndknpyvuiu"); // break;
3550 UNSUPPORTED("8j00sch2b081jzzzib4soebcu"); // case EMIT_TLABEL :
3551 UNSUPPORTED("erdib8kle1lcl2if7uf5rx8xs"); // type = "taillabel";
3552 UNSUPPORTED("ai3czg6gaaxspsmndknpyvuiu"); // break;
3553 UNSUPPORTED("5ujjs4gho9mjjupbibyqyplxp"); // default :
3554 UNSUPPORTED("9rml26jwxfvc1i0eeqsucqrl7"); // assert (0);
3555 UNSUPPORTED("ai3czg6gaaxspsmndknpyvuiu"); // break;
3556 UNSUPPORTED("flupwh3kosf3fkhkxllllt1"); // }
3557 UNSUPPORTED("etlt5rbiatgk1pin7kk30ll2x"); // sprintf (newid, "%s-%s", id, type);
3558 UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); // }
3559 UNSUPPORTED("div10atae09n36x269sl208r1"); // else
3560 UNSUPPORTED("5qoplxw5vuo9t9b18i6ee7ime"); // newid = NULL;
3561 UNSUPPORTED("ekjwoxwz3y39zx2i2q6310l1u"); // old_emit_state = job->obj->emit_state;
3562 UNSUPPORTED("d5oaybfzozrw1bnvrdisv5yxc"); // job->obj->emit_state = lkind;
3563 UNSUPPORTED("c2j2m5w18gb9vht8elcpe4ce1"); // if ((url || explicit) && !(flags & (1<<2))) {
3564 UNSUPPORTED("8as81xybsx2lbhatoq5dfka46"); // map_label(job, lbl);
3565 UNSUPPORTED("b1r5s44l517bwmgj4kvnf5pth"); // gvrender_begin_anchor(job, url, tooltip, target, newid);
3566 UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); // }
3567 UNSUPPORTED("6n40fbgjky821o8xqbk4ke6js"); // emit_label(job, lkind, lbl);
3568 UNSUPPORTED("as20j8imvr5tdwziovn1yy9w9"); // if (spl) emit_attachment(job, lbl, spl);
3569 UNSUPPORTED("buoc16exkpqacfj0vige0c8cs"); // if (url || explicit) {
3570 UNSUPPORTED("8z7a7lmqaytt0za0fb8kavivm"); // if (flags & (1<<2)) {
3571 UNSUPPORTED("7jrzhi6w0txc5ge27adx7n1fg"); // map_label(job, lbl);
3572 UNSUPPORTED("5ygb95yq4xmsdotqmdr3vj3v5"); // gvrender_begin_anchor(job, url, tooltip, target, newid);
3573 UNSUPPORTED("flupwh3kosf3fkhkxllllt1"); // }
3574 UNSUPPORTED("e3o6yrnsv8lko5fql4f8a9gly"); // gvrender_end_anchor(job);
3575 UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); // }
3576 UNSUPPORTED("4ml3jp9auhgd67u12ys1dysmz"); // if (newid) free (newid);
3577 UNSUPPORTED("e0dze8hjyg2dby274irdlx48q"); // job->obj->emit_state = old_emit_state;
3578 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
3579
3580 throw new UnsupportedOperationException();
3581 }
3582
3583
3584
3585
3586 //3 awxicbypnp5lexym1y3ymowey
3587 // static void nodeIntersect (GVJ_t * job, pointf p, boolean explicit_iurl, char* iurl, boolean explicit_itooltip, char* itooltip, boolean explicit_itarget, char* itarget)
3588 public static Object nodeIntersect(Object... arg) {
3589 UNSUPPORTED("cmhcypje3hntq13rzpbnk7ors"); // static void nodeIntersect (GVJ_t * job, pointf p,
3590 UNSUPPORTED("3oh5ubi4nhyilnxnj6o43m9jg"); // boolean explicit_iurl, char* iurl,
3591 UNSUPPORTED("1l6n135od7wjrab69cp2rq4as"); // boolean explicit_itooltip, char* itooltip,
3592 UNSUPPORTED("a9o31jy22twcezb78yp27lex3"); // boolean explicit_itarget, char* itarget)
3593 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
3594 UNSUPPORTED("84llcpxtvxaggx841n2t03850"); // obj_state_t *obj = job->obj;
3595 UNSUPPORTED("a5d87vmbdhktxeng57v2hzdid"); // char* url;
3596 UNSUPPORTED("836sn3dd0sjadnx46ehd0ojan"); // char* tooltip;
3597 UNSUPPORTED("9zm2viiigdykrikvq2wxotz4t"); // char* target;
3598 UNSUPPORTED("5mdh3lx400yozcu82r1yqq8fs"); // boolean explicit;
3599 UNSUPPORTED("70p390q4p8ly00fs0tu1ou5lc"); // if (explicit_iurl) url = iurl;
3600 UNSUPPORTED("2qo54smwvn3zpz62uwalydr4e"); // else url = obj->url;
3601 UNSUPPORTED("elyxsmzru5je5et9mzf7xln9e"); // if (explicit_itooltip) {
3602 UNSUPPORTED("bih7mdnro80d1ycl5mduylzjv"); // tooltip = itooltip;
3603 UNSUPPORTED("b8xy4j8mzbef8wy4u4f0e928z"); // explicit = NOT(0);
3604 UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); // }
3605 UNSUPPORTED("3njq6nu65dp353iz31nlymjhr"); // else if (obj->explicit_tooltip) {
3606 UNSUPPORTED("bqwxu32cunjm0lxj3oi5zlr4s"); // tooltip = obj->tooltip;
3607 UNSUPPORTED("b8xy4j8mzbef8wy4u4f0e928z"); // explicit = NOT(0);
3608 UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); // }
3609 UNSUPPORTED("1nyzbeonram6636b1w955bypn"); // else {
3610 UNSUPPORTED("bj1n4exyidlxkszug92q5e8pm"); // explicit = 0;
3611 UNSUPPORTED("bih7mdnro80d1ycl5mduylzjv"); // tooltip = itooltip;
3612 UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); // }
3613 UNSUPPORTED("68e6sqdkexks56m61b36z4jam"); // if (explicit_itarget)
3614 UNSUPPORTED("ezrw5qg1aplvs9qzwam68j5uq"); // target = itarget;
3615 UNSUPPORTED("16b0s2q3bcb5cqp3fd3ga7wor"); // else if (obj->explicit_edgetarget)
3616 UNSUPPORTED("e9a53dgfxmu20y35wg7ben6gm"); // target = obj->target;
3617 UNSUPPORTED("div10atae09n36x269sl208r1"); // else
3618 UNSUPPORTED("ezrw5qg1aplvs9qzwam68j5uq"); // target = itarget;
3619 UNSUPPORTED("buoc16exkpqacfj0vige0c8cs"); // if (url || explicit) {
3620 UNSUPPORTED("4hpmlshabmpme6e8axio0u6tm"); // map_point(job, p);
3621 UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); // }
3622 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
3623
3624 throw new UnsupportedOperationException();
3625 }
3626
3627
3628
3629
3630 //3 ywemz3ws8gm7t2jkezm9zl44
3631 // static void emit_end_edge(GVJ_t * job)
3632 public static Object emit_end_edge(Object... arg) {
3633 UNSUPPORTED("1dduzu2v1v5eoimgn6wl3pq1s"); // static void emit_end_edge(GVJ_t * job)
3634 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
3635 UNSUPPORTED("84llcpxtvxaggx841n2t03850"); // obj_state_t *obj = job->obj;
3636 UNSUPPORTED("4qb9sxge2bkx34r71ezj0knk2"); // edge_t *e = obj->u.e;
3637 UNSUPPORTED("avhbw4mqc8i7mhe1mi06nj1fv"); // int i, nump;
3638 UNSUPPORTED("ebrzd2bubs5trqandzsfjpugj"); // if (obj->url || obj->explicit_tooltip) {
3639 UNSUPPORTED("e3o6yrnsv8lko5fql4f8a9gly"); // gvrender_end_anchor(job);
3640 UNSUPPORTED("dmr093y6wa3ax73y54vvo29lj"); // if (obj->url_bsplinemap_poly_n) {
3641 UNSUPPORTED("8j5y8urq29one6yb4kfmzna3f"); // for ( nump = obj->url_bsplinemap_n[0], i = 1; i < obj->url_bsplinemap_poly_n; i++) {
3642 UNSUPPORTED("9xsziog2rrr4vw3x27e2ndqjp"); // /* additional polygon maps around remaining bezier pieces */
3643 UNSUPPORTED("5w8ld66x8j20bfg4bhnrzgnno"); // obj->url_map_n = obj->url_bsplinemap_n[i];
3644 UNSUPPORTED("9ka5hm7zu6chhinb1q0vf2z4v"); // obj->url_map_p = &(obj->url_bsplinemap_p[nump]);
3645 UNSUPPORTED("5xf0jq48hur62ull7qfz6hvx9"); // gvrender_begin_anchor(job,
3646 UNSUPPORTED("blnuziy4xllrn7u5trd1fnls8"); // obj->url, obj->tooltip, obj->target, obj->id);
3647 UNSUPPORTED("9komgvtfublw0fuwcn56n60nb"); // gvrender_end_anchor(job);
3648 UNSUPPORTED("c9dwtox5h6ixy1w83w397g2kj"); // nump += obj->url_bsplinemap_n[i];
3649 UNSUPPORTED("6t98dcecgbvbvtpycwiq2ynnj"); // }
3650 UNSUPPORTED("flupwh3kosf3fkhkxllllt1"); // }
3651 UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); // }
3652 UNSUPPORTED("9pmuzaizzoydjgbkmuor040f6"); // obj->url_map_n = 0; /* null out copy so that it doesn't get freed twice */
3653 UNSUPPORTED("8cqdsgr453qauw78nltd5c4tx"); // obj->url_map_p = NULL;
3654 UNSUPPORTED("4pdkymy0wuxj1yn9xqqzp2x4h"); // if (ED_spl(e)) {
3655 UNSUPPORTED("9wdrv4uc4c7ssn0qpmxgz5eu1"); // pointf p;
3656 UNSUPPORTED("7jumvon0fvx7rozmib9zg46pn"); // bezier bz;
3657 UNSUPPORTED("66ycb012574x3aksn28ibhxd5"); // /* process intersection with tail node */
3658 UNSUPPORTED("7waxmjg8e70tet8to37przecd"); // bz = ED_spl(e)->list[0];
3659 UNSUPPORTED("jksehajhc4wys677xg3wbbqp"); // if (bz.sflag) /* Arrow at start of splines */
3660 UNSUPPORTED("kxn3waz2mvbtl0y7qgit84qy"); // p = bz.sp;
3661 UNSUPPORTED("7162vc0qtrox86ru0t0edndpq"); // else /* No arrow at start of splines */
3662 UNSUPPORTED("6vhfnfcnxq7pk1ylvgqsbhisf"); // p = bz.list[0];
3663 UNSUPPORTED("3he9xp2xirwwauclzoba24j8h"); // nodeIntersect (job, p, obj->explicit_tailurl, obj->tailurl,
3664 UNSUPPORTED("digi7elarmtdncyct8hntl9k6"); // obj->explicit_tailtooltip, obj->tailtooltip,
3665 UNSUPPORTED("bjqpxn7ux8x0z0psos6lg97at"); // obj->explicit_tailtarget, obj->tailtarget);
3666 UNSUPPORTED("1eo0iyrg7y6hw7gaa6t4rckhw"); // /* process intersection with head node */
3667 UNSUPPORTED("1z1ljfme78h5hs2nhpnh0c1fi"); // bz = ED_spl(e)->list[ED_spl(e)->size - 1];
3668 UNSUPPORTED("eg9okxorf20k4z98ukgoxo3n7"); // if (bz.eflag) /* Arrow at end of splines */
3669 UNSUPPORTED("ehclpn3uuogubck9azlh1vpas"); // p = bz.ep;
3670 UNSUPPORTED("9vqsg7ptbtw9uq9csktycrpd1"); // else /* No arrow at end of splines */
3671 UNSUPPORTED("a3eqfcdajd48yebxdzxtmmfoi"); // p = bz.list[bz.size - 1];
3672 UNSUPPORTED("90oe5mif8a78ifcvx4ihiqnap"); // nodeIntersect (job, p, obj->explicit_headurl, obj->headurl,
3673 UNSUPPORTED("47gawnzk5qaei40hp6wyzmccl"); // obj->explicit_headtooltip, obj->headtooltip,
3674 UNSUPPORTED("eovhrgd0p19e5n9en1fyyikgc"); // obj->explicit_headtarget, obj->headtarget);
3675 UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); // }
3676 UNSUPPORTED("3myme3h0w55rj1gxrei3sza4u"); // emit_edge_label(job, ED_label(e), EMIT_ELABEL,
3677 UNSUPPORTED("3plv0n79k76me9i1hjgw53uf"); // obj->explicit_labeltooltip,
3678 UNSUPPORTED("aaks2xubvv971c3n3lkewm11l"); // obj->labelurl, obj->labeltooltip, obj->labeltarget, obj->id,
3679 UNSUPPORTED("agvl7gmqjq08dcsq6in3idrlh"); // ((mapbool(late_string(e, E_decorate, "false")) && ED_spl(e)) ? ED_spl(e) : 0));
3680 UNSUPPORTED("5s1nsti98iov2qpm95devpckw"); // emit_edge_label(job, ED_xlabel(e), EMIT_ELABEL,
3681 UNSUPPORTED("3plv0n79k76me9i1hjgw53uf"); // obj->explicit_labeltooltip,
3682 UNSUPPORTED("aaks2xubvv971c3n3lkewm11l"); // obj->labelurl, obj->labeltooltip, obj->labeltarget, obj->id,
3683 UNSUPPORTED("agvl7gmqjq08dcsq6in3idrlh"); // ((mapbool(late_string(e, E_decorate, "false")) && ED_spl(e)) ? ED_spl(e) : 0));
3684 UNSUPPORTED("du836h1rt0jh9ud6q2syf0ym8"); // emit_edge_label(job, ED_head_label(e), EMIT_HLABEL,
3685 UNSUPPORTED("1pdnwlknuz9w3gkir3l8o1yro"); // obj->explicit_headtooltip,
3686 UNSUPPORTED("8bd82h05ko2pwessxq68kaxai"); // obj->headurl, obj->headtooltip, obj->headtarget, obj->id,
3687 UNSUPPORTED("ai3ojmcrmb5sj7kn23byccggm"); // 0);
3688 UNSUPPORTED("bh63wcy1dti8ji145r5ghesje"); // emit_edge_label(job, ED_tail_label(e), EMIT_TLABEL,
3689 UNSUPPORTED("9y21fl5ek5f4g5ebjoixzr4gv"); // obj->explicit_tailtooltip,
3690 UNSUPPORTED("b1470sa0rpd26d4t30nidwv8"); // obj->tailurl, obj->tailtooltip, obj->tailtarget, obj->id,
3691 UNSUPPORTED("ai3ojmcrmb5sj7kn23byccggm"); // 0);
3692 UNSUPPORTED("9sm494bjst3m8frvi02esqjkm"); // gvrender_end_edge(job);
3693 UNSUPPORTED("39iamwq9cd9iv3d2iyiaq8gz9"); // pop_obj_state(job);
3694 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
3695
3696 throw new UnsupportedOperationException();
3697 }
3698
3699
3700
3701
3702 //3 e552br6jk0jigqmq1c9d2x0fy
3703 // static void emit_edge(GVJ_t * job, edge_t * e)
3704 public static Object emit_edge(Object... arg) {
3705 UNSUPPORTED("701wlpnv3kz0k3hxn7zqrhbqx"); // static void emit_edge(GVJ_t * job, edge_t * e)
3706 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
3707 UNSUPPORTED("8yytudftst76763qgnjebkzhm"); // char *s;
3708 UNSUPPORTED("byo308l1rmve5rmx8wt32juux"); // char *style;
3709 UNSUPPORTED("getfykrvugvlv3wxt5qm5ghl"); // char **styles = 0;
3710 UNSUPPORTED("9q7vvjxznd6x0u1t6fgd82byj"); // char **sp;
3711 UNSUPPORTED("aexhdud6z2wbwwi73yppp0ynl"); // char *p;
3712 UNSUPPORTED("6govt2ekuiy0vzlv3yv2uu723"); // if (edge_in_box(e, job->clip) && edge_in_layer(job, agraphof(aghead(e)), e) ) {
3713 UNSUPPORTED("40dvidospika9vlp9ti3h4kbk"); // s = malloc(strlen(agnameof(agtail(e))) + 2 + strlen(agnameof(aghead(e))) + 1);
3714 UNSUPPORTED("aanr456304klecsfh7bdhjuqs"); // strcpy(s,agnameof(agtail(e)));
3715 UNSUPPORTED("90k8dynebdy5ezb8ysfakj1bq"); // if (agisdirected(agraphof(aghead(e))))
3716 UNSUPPORTED("6t25g7w3win3lim8fgtsen7d0"); // strcat(s,"->");
3717 UNSUPPORTED("9352ql3e58qs4fzapgjfrms2s"); // else
3718 UNSUPPORTED("8kwffycoj7ji16shumcvo0z2w"); // strcat(s,"--");
3719 UNSUPPORTED("9qi68sa2442hrlpp7zizf86w2"); // strcat(s,agnameof(aghead(e)));
3720 UNSUPPORTED("9tyf9lnhx38ny94z7gx5gkioi"); // gvrender_comment(job, s);
3721 UNSUPPORTED("d285xdylp7oj81aar06ulc7kh"); // free(s);
3722 UNSUPPORTED("dzzea54yfhrfp3ko6rqi4h8na"); // s = late_string(e, E_comment, "");
3723 UNSUPPORTED("7oyyy6d3itm6qqhr3p5zu6ded"); // if (s[0])
3724 UNSUPPORTED("8gbf99sx0atz9ku0tfjv4m4o3"); // gvrender_comment(job, s);
3725 UNSUPPORTED("9ue98xnv5lygucjpcp6ugmkjr"); // style = late_string(e, E_style, "");
3726 UNSUPPORTED("c6nyyirbpagqf6tsr8p6b3xw9"); // /* We shortcircuit drawing an invisible edge because the arrowhead
3727 UNSUPPORTED("4oynhdibr581vvritt0c2m0zi"); // * code resets the style to solid, and most of the code generators
3728 UNSUPPORTED("b151tzgt2xkvtkf487juwpl32"); // * (except PostScript) won't honor a previous style of invis.
3729 UNSUPPORTED("62wb43w2xc6ex6hootjubbx22"); // */
3730 UNSUPPORTED("12ihr78gv09dxppuorymkgt75"); // if (style[0]) {
3731 UNSUPPORTED("32d3t9w0x6lbw2olmibm97mqd"); // styles = parse_style(style);
3732 UNSUPPORTED("ai2h90fa4b5ss40yyc0ehvrzd"); // sp = styles;
3733 UNSUPPORTED("9v2c8p99l7pj3zqwvtb298adq"); // while ((p = *sp++)) {
3734 UNSUPPORTED("xtuts27rjtqvzh4gjkw96ime"); // if ((*(p)==*("invis")&&!strcmp(p,"invis"))) return;
3735 UNSUPPORTED("6t98dcecgbvbvtpycwiq2ynnj"); // }
3736 UNSUPPORTED("flupwh3kosf3fkhkxllllt1"); // }
3737 UNSUPPORTED("9hsqvthyp1sj37t7lu10n1luq"); // emit_begin_edge(job, e, styles);
3738 UNSUPPORTED("cchqw8nozlblfh2ekimz3q7ye"); // emit_edge_graphics (job, e, styles);
3739 UNSUPPORTED("6fu8546pxs99njakbk5cl5q31"); // emit_end_edge(job);
3740 UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); // }
3741 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
3742
3743 throw new UnsupportedOperationException();
3744 }
3745
3746
3747 //1 dacilfxr6a3uba0ks0btnjoms
3748 // static char adjust[] =
3749
3750
3751
3752
3753 //3 crlphx0gbhlhrn2w2jq92mgxq
3754 // static void expandBB (boxf* bb, pointf p)
3755 public static Object expandBB(Object... arg) {
3756 UNSUPPORTED("e2z2o5ybnr5tgpkt8ty7hwan1"); // static void
3757 UNSUPPORTED("3lpbo3h0n97pkcx19mleg4zy3"); // expandBB (boxf* bb, pointf p)
3758 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
3759 UNSUPPORTED("82qwewr47nk4i4uoe835qwx7m"); // if (p.x > bb->UR.x)
3760 UNSUPPORTED("6g9fswlylro0l373mk5r6hrf2"); // bb->UR.x = p.x;
3761 UNSUPPORTED("42h6ln67gjb305nianf5cqtwb"); // if (p.x < bb->LL.x)
3762 UNSUPPORTED("aecuyren82eu4q6khc57o37fm"); // bb->LL.x = p.x;
3763 UNSUPPORTED("5sb5u1ns40tj304k0u2ab1at7"); // if (p.y > bb->UR.y)
3764 UNSUPPORTED("759apld02jf160x6shlbl6vh0"); // bb->UR.y = p.y;
3765 UNSUPPORTED("6kqd1pni8dvsj92cyx40pg7yq"); // if (p.y < bb->LL.y)
3766 UNSUPPORTED("196dcdn12h9rrk3ut2ar5byra"); // bb->LL.y = p.y;
3767 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
3768
3769 throw new UnsupportedOperationException();
3770 }
3771
3772
3773
3774
3775 //3 9fdfpbfftpegojteq4f4zkh3t
3776 // static boxf ptsBB (xdot_point* inpts, int numpts, boxf* bb)
3777 public static Object ptsBB(Object... arg) {
3778 UNSUPPORTED("d5qt6s97burjfu5qe0oxyyrmr"); // static boxf
3779 UNSUPPORTED("6t79m8rz3g0dlgf125e80z567"); // ptsBB (xdot_point* inpts, int numpts, boxf* bb)
3780 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
3781 UNSUPPORTED("1sc1s00b2mxqj9p5pa0w4t375"); // boxf opbb;
3782 UNSUPPORTED("b17di9c7wgtqm51bvsyxz6e2f"); // int i;
3783 UNSUPPORTED("9io5mvwev5td74rtkwnm8o3s2"); // opbb.LL.x = opbb.UR.x = inpts->x;
3784 UNSUPPORTED("4cwi4xd54tfe64lw7iegazb8u"); // opbb.LL.y = opbb.UR.y = inpts->y;
3785 UNSUPPORTED("79on93mttov53oge4afx7vsuc"); // for (i = 1; i < numpts; i++) {
3786 UNSUPPORTED("3ft3l1b2jpm88evrrzvlmn8e1"); // inpts++;
3787 UNSUPPORTED("1jkw7uv3v8c3h4n5wz0vz7ug7"); // if (inpts->x < opbb.LL.x)
3788 UNSUPPORTED("8heqoomogx0vbm9c6b353nauh"); // opbb.LL.x = inpts->x;
3789 UNSUPPORTED("ctlx14otfvxc1g2po12swqr5"); // else if (inpts->x > opbb.UR.x)
3790 UNSUPPORTED("cm99tuzk0ha0i27620s0ug6qm"); // opbb.UR.x = inpts->x;
3791 UNSUPPORTED("cbdkr3fvabha45e8zix3wm0ra"); // if (inpts->y < opbb.LL.y)
3792 UNSUPPORTED("cfi2hy5ra04w2nvwbbeif8iwu"); // opbb.LL.y = inpts->y;
3793 UNSUPPORTED("7i89xmuxwx6aon3vbdt6v5whc"); // else if (inpts->y > opbb.UR.y)
3794 UNSUPPORTED("7ssr5coatcfnn57zucbgjlgfc"); // opbb.UR.y = inpts->y;
3795 UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); // }
3796 UNSUPPORTED("vnhtdhcqg8xtzofq2hgzmd74"); // expandBB (bb, opbb.LL);
3797 UNSUPPORTED("17t235kr79n3w5l1c3anpgwt5"); // expandBB (bb, opbb.UR);
3798 UNSUPPORTED("cbril871fhn70vo8av8mkgt6q"); // return opbb;
3799 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
3800
3801 throw new UnsupportedOperationException();
3802 }
3803
3804
3805
3806
3807 //3 9pymyll8xo6gubyh1lffjkfam
3808 // static boxf textBB (double x, double y, textspan_t* span)
3809 public static Object textBB(Object... arg) {
3810 UNSUPPORTED("d5qt6s97burjfu5qe0oxyyrmr"); // static boxf
3811 UNSUPPORTED("ay5ce8utx9ld287zwnwbctqjj"); // textBB (double x, double y, textspan_t* span)
3812 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
3813 UNSUPPORTED("2lzsl1e035wt5epd1h8f4bn8m"); // boxf bb;
3814 UNSUPPORTED("9uvgf08lwlxzhybxua7r75tev"); // pointf sz = span->size;
3815 UNSUPPORTED("bpqxh9mig0sh1gasrlkg6hbph"); // switch (span->just) {
3816 UNSUPPORTED("15tf5rbprgr65ucp24e4bba9t"); // case 'l':
3817 UNSUPPORTED("3ehk6wetysrhmdleh0z9s6zjz"); // bb.LL.x = x;
3818 UNSUPPORTED("c1lsp9mt50b64uby7n2an805t"); // bb.UR.x = bb.LL.x + sz.x;
3819 UNSUPPORTED("6qvptoliwn65n1ln7eoo4j8wd"); // break;
3820 UNSUPPORTED("37fbny64zwo23oymypyreuldc"); // case 'n':
3821 UNSUPPORTED("690ouuxs02oivip5twcvs5b11"); // bb.LL.x = x - sz.x / 2.0;
3822 UNSUPPORTED("2btku6pj5fxafqdz3xa85sd93"); // bb.UR.x = x + sz.x / 2.0;
3823 UNSUPPORTED("6qvptoliwn65n1ln7eoo4j8wd"); // break;
3824 UNSUPPORTED("8pu80wsk8me7q17ensqlviq86"); // case 'r':
3825 UNSUPPORTED("9hg1o01u12gavwtqe9xofe38z"); // bb.UR.x = x;
3826 UNSUPPORTED("bzx0k97ggr7q3araimvm6f1v7"); // bb.LL.x = bb.UR.x - sz.x;
3827 UNSUPPORTED("6qvptoliwn65n1ln7eoo4j8wd"); // break;
3828 UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); // }
3829 UNSUPPORTED("197tcjynsl2sn03dwf3g9y12c"); // bb.UR.y = y + span->yoffset_layout;
3830 UNSUPPORTED("f2dg8t4khzpqdoaarum9tyuth"); // bb.LL.y = bb.UR.y - sz.y;
3831 UNSUPPORTED("5v5hh30squmit8o2i5hs25eig"); // return bb;
3832 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
3833
3834 throw new UnsupportedOperationException();
3835 }
3836
3837
3838
3839
3840 //3 54ihxujpi40cvxm21zvc4yygl
3841 // static void freePara (exdot_op* op)
3842 public static Object freePara(Object... arg) {
3843 UNSUPPORTED("e2z2o5ybnr5tgpkt8ty7hwan1"); // static void
3844 UNSUPPORTED("6j7qjd9yj32q85k9t0i4xidev"); // freePara (exdot_op* op)
3845 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
3846 UNSUPPORTED("dexpmz01x7t5bwrxs2ciihvod"); // if (op->op.kind == xd_text)
3847 UNSUPPORTED("8pgl92d45zuyooxxmo53bafei"); // free_textspan (op->span, 1);
3848 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
3849
3850 throw new UnsupportedOperationException();
3851 }
3852
3853
3854
3855
3856 //3 bna6lkyh9mx61k76gw3t0uflo
3857 // boxf xdotBB (Agraph_t* g)
3858 public static Object xdotBB(Object... arg) {
3859 UNSUPPORTED("8wvskez9r3noz1urymuwc4hvt"); // boxf xdotBB (Agraph_t* g)
3860 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
3861 UNSUPPORTED("de8em3aa6r4le6z9745lpxlet"); // GVC_t *gvc = GD_gvc(g);
3862 UNSUPPORTED("6h54fnrtmztsxuhsa6imjz1a7"); // exdot_op* op;
3863 UNSUPPORTED("b17di9c7wgtqm51bvsyxz6e2f"); // int i;
3864 UNSUPPORTED("c5uzlkl44upygp10do07uxm0g"); // double fontsize = 0.0;
3865 UNSUPPORTED("casv8ugezf3t2g5a7mvcr6q7i"); // char* fontname = NULL;
3866 UNSUPPORTED("4vfngh2uewkmjri7btdwl43bs"); // pointf pts[2];
3867 UNSUPPORTED("3zlnn621zia9mss7z1ay24myc"); // pointf sz;
3868 UNSUPPORTED("226wftslr130qjwxv1q4x2p4f"); // boxf bb0;
3869 UNSUPPORTED("2eiur8hkm8tcazpq12w4ikbqo"); // boxf bb = GD_bb(g);
3870 UNSUPPORTED("arw8znn5jqfqq2ukyt2s9kcbv"); // xdot* xd = (xdot*)GD_drawing(g)->xdots;
3871 UNSUPPORTED("aarb87wzm7tqwo5n1l925d21x"); // textfont_t tf, null_tf = {NULL,NULL,NULL,0.0,0,0};
3872 UNSUPPORTED("8wytjfmy8k9op5hj7s6yf9n3z"); // int fontflags;
3873 UNSUPPORTED("eeh0uom1nsj9lpceinvwt6gi3"); // if (!xd) return bb;
3874 UNSUPPORTED("46up7fyvuyhtxo8wqaw9zdj3h"); // if ((bb.LL.x == bb.UR.x) && (bb.LL.y == bb.UR.y)) {
3875 UNSUPPORTED("5jqc951ribmsybqkbienxqmso"); // bb.LL.x = bb.LL.y = MAXDOUBLE;
3876 UNSUPPORTED("71c2mgloraxvejp5ao9v3simg"); // bb.UR.x = bb.UR.y = -MAXDOUBLE;
3877 UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); // }
3878 UNSUPPORTED("9go5curik6dnbejv5o2pj8ve2"); // op = (exdot_op*)(xd->ops);
3879 UNSUPPORTED("dvwaxn9xbj2jw2hjwvvs0tj3z"); // for (i = 0; i < xd->cnt; i++) {
3880 UNSUPPORTED("64ugcfa5jpvzxyig6y6rolvzb"); // tf = null_tf;
3881 UNSUPPORTED("ab1ajnetstzss8ksa66rwdtze"); // switch (op->op.kind) {
3882 UNSUPPORTED("1texeok1es39lsgo5wdppbco2"); // case xd_filled_ellipse :
3883 UNSUPPORTED("effcskuftros0sla2ltem13mh"); // case xd_unfilled_ellipse :
3884 UNSUPPORTED("2njikvu7tjbux5fxkdd45103i"); // pts[0].x = op->op.u.ellipse.x - op->op.u.ellipse.w;
3885 UNSUPPORTED("9mz7byklb9m0gvc8x9d7ksnr0"); // pts[0].y = op->op.u.ellipse.y - op->op.u.ellipse.h;
3886 UNSUPPORTED("90ewlrvkws79qrau49gy8es9l"); // pts[1].x = op->op.u.ellipse.x + op->op.u.ellipse.w;
3887 UNSUPPORTED("55l7hlnc89dkhu16ft92xg16q"); // pts[1].y = op->op.u.ellipse.y + op->op.u.ellipse.h;
3888 UNSUPPORTED("bneotzphmkyeas6debvmmon8u"); // op->bb.LL = pts[0];
3889 UNSUPPORTED("956syiyurqle8isi3w4ljs7wn"); // op->bb.UR = pts[1];
3890 UNSUPPORTED("7v3sk5uea7pu17t9pnjza0xk7"); // expandBB (&bb, pts[0]);
3891 UNSUPPORTED("dqzu6l172pawxz0l88wjbsq5x"); // expandBB (&bb, pts[1]);
3892 UNSUPPORTED("ai3czg6gaaxspsmndknpyvuiu"); // break;
3893 UNSUPPORTED("40fjmoej0qk9hwneja77jlo2y"); // case xd_filled_polygon :
3894 UNSUPPORTED("6uw61r6bh4tiicbj46yxr9t4k"); // case xd_unfilled_polygon :
3895 UNSUPPORTED("9962qomo41y1omsipfqjr24y8"); // op->bb = ptsBB (op->op.u.polygon.pts, op->op.u.polygon.cnt, &bb);
3896 UNSUPPORTED("ai3czg6gaaxspsmndknpyvuiu"); // break;
3897 UNSUPPORTED("4eu4a2drbgdgq6xb3lnl3hn9y"); // case xd_filled_bezier :
3898 UNSUPPORTED("bn514k7swi4s6uclqqke583n8"); // case xd_unfilled_bezier :
3899 UNSUPPORTED("9962qomo41y1omsipfqjr24y8"); // op->bb = ptsBB (op->op.u.polygon.pts, op->op.u.polygon.cnt, &bb);
3900 UNSUPPORTED("ai3czg6gaaxspsmndknpyvuiu"); // break;
3901 UNSUPPORTED("1l7ha9akoh6yew2v54hvu3del"); // case xd_polyline :
3902 UNSUPPORTED("9962qomo41y1omsipfqjr24y8"); // op->bb = ptsBB (op->op.u.polygon.pts, op->op.u.polygon.cnt, &bb);
3903 UNSUPPORTED("ai3czg6gaaxspsmndknpyvuiu"); // break;
3904 UNSUPPORTED("60mg8gze602593bf2vddicza0"); // case xd_text :
3905 UNSUPPORTED("50t9ohqv5008mknnbuwru8tw9"); // op->span = (textspan_t*)zmalloc(sizeof(textspan_t));
3906 UNSUPPORTED("ctpfroyvq8upi1rvu07czeffu"); // op->span->str = strdup (op->op.u.text.text);
3907 UNSUPPORTED("clfgmfms6909nfbpqqf7rxx5f"); // op->span->just = adjust [op->op.u.text.align];
3908 UNSUPPORTED("e2rt0ufps1ruahn7aijlrciss"); // tf.name = fontname;
3909 UNSUPPORTED("dh77fvkpvbx40iely5t866d6h"); // tf.size = fontsize;
3910 UNSUPPORTED("c1ted8bjs12be6jywuonnv0d2"); // tf.flags = fontflags;
3911 UNSUPPORTED("73o7k5irrg046co7k0hyc8aay"); // op->span->font = (*(((Dt_t*)(gvc->textfont_dt))->searchf))((gvc->textfont_dt),(void*)(&tf),0000001);
3912 UNSUPPORTED("6wqbzii0m490jqa70vqge95ss"); // sz = textspan_size (gvc, op->span);
3913 UNSUPPORTED("5fi8b3ht0cjvlehytid1q9v0c"); // bb0 = textBB (op->op.u.text.x, op->op.u.text.y, op->span);
3914 UNSUPPORTED("dzc3pvcqhus44n3qpjnche2n1"); // op->bb = bb0;
3915 UNSUPPORTED("dqaec6oh9n34envsvaj2cws50"); // expandBB (&bb, bb0.LL);
3916 UNSUPPORTED("4lyco5r149007xof0pltbc6yd"); // expandBB (&bb, bb0.UR);
3917 UNSUPPORTED("4ancwi87ybxfg7nqplm66fmcb"); // if (!xd->freefunc)
3918 UNSUPPORTED("euom952odxbs14o7zgilkcyjm"); // xd->freefunc = (freefunc_t)freePara;
3919 UNSUPPORTED("ai3czg6gaaxspsmndknpyvuiu"); // break;
3920 UNSUPPORTED("56n5nfs2z21zo7ac9z2ehf12l"); // case xd_font :
3921 UNSUPPORTED("758yjuz5lxvy105kkk178ecqc"); // fontsize = op->op.u.font.size;
3922 UNSUPPORTED("b47tnf0bsigh1pwzg0zn6hwmr"); // fontname = op->op.u.font.name;
3923 UNSUPPORTED("ai3czg6gaaxspsmndknpyvuiu"); // break;
3924 UNSUPPORTED("2kiqf0asbojt8x24lr5eykca1"); // case xd_fontchar :
3925 UNSUPPORTED("c1y0e85yacutsp89zjxoa7i3"); // fontflags = op->op.u.fontchar;
3926 UNSUPPORTED("ai3czg6gaaxspsmndknpyvuiu"); // break;
3927 UNSUPPORTED("5ujjs4gho9mjjupbibyqyplxp"); // default :
3928 UNSUPPORTED("ai3czg6gaaxspsmndknpyvuiu"); // break;
3929 UNSUPPORTED("flupwh3kosf3fkhkxllllt1"); // }
3930 UNSUPPORTED("42f106i435avz0oneb0fhe81f"); // op++;
3931 UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); // }
3932 UNSUPPORTED("5v5hh30squmit8o2i5hs25eig"); // return bb;
3933 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
3934
3935 throw new UnsupportedOperationException();
3936 }
3937
3938
3939
3940
3941 //3 85uk85yiir9od6zij92agheo3
3942 // static void init_gvc(GVC_t * gvc, graph_t * g)
3943 public static Object init_gvc(Object... arg) {
3944 UNSUPPORTED("67101m7ilw6rq5kq50kqyv4jn"); // static void init_gvc(GVC_t * gvc, graph_t * g)
3945 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
3946 UNSUPPORTED("1fbxoul2f22tyxwq8g4cj6bo6"); // double xf, yf;
3947 UNSUPPORTED("aexhdud6z2wbwwi73yppp0ynl"); // char *p;
3948 UNSUPPORTED("b17di9c7wgtqm51bvsyxz6e2f"); // int i;
3949 UNSUPPORTED("8zmfa30bj4y52yk4nu6fzjg4a"); // gvc->g = g;
3950 UNSUPPORTED("ax64rv1jwwzs47pikcnl1j6vv"); // /* margins */
3951 UNSUPPORTED("1b600jcjwmocj6dp4hx8dcbyt"); // gvc->graph_sets_margin = 0;
3952 UNSUPPORTED("1w3l4667jn9pi9aaxvt639rye"); // if ((p = agget(g, "margin"))) {
3953 UNSUPPORTED("8ii1lpvqnmj77k0q2xjan2dan"); // i = sscanf(p, "%lf,%lf", &xf, &yf);
3954 UNSUPPORTED("1e2qc8e42f9ohrllk7q5kbqh9"); // if (i > 0) {
3955 UNSUPPORTED("qbpuuttxxcxlbp802q1a4fsu"); // gvc->margin.x = gvc->margin.y = xf * 72;
3956 UNSUPPORTED("afqdselz7uxi22z0zlydrzlo1"); // if (i > 1)
3957 UNSUPPORTED("7col7tgqabkqwnzsc1m4i7zz3"); // gvc->margin.y = yf * 72;
3958 UNSUPPORTED("c3921i2dlk22b1p51jy3q34df"); // gvc->graph_sets_margin = NOT(0);
3959 UNSUPPORTED("4mhlpjofolwivhm0tl8cxznly"); // }
3960 UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); // }
3961 UNSUPPORTED("733qr7bihsz4jlxdzv0x4v1n3"); // /* pad */
3962 UNSUPPORTED("c4y9dph55ilj94mj5yjbabgqu"); // gvc->graph_sets_pad = 0;
3963 UNSUPPORTED("8vka83wlbomztn5m1dom8trfq"); // if ((p = agget(g, "pad"))) {
3964 UNSUPPORTED("8ii1lpvqnmj77k0q2xjan2dan"); // i = sscanf(p, "%lf,%lf", &xf, &yf);
3965 UNSUPPORTED("1e2qc8e42f9ohrllk7q5kbqh9"); // if (i > 0) {
3966 UNSUPPORTED("8vm798xe38aiaugd3y1g2aq1t"); // gvc->pad.x = gvc->pad.y = xf * 72;
3967 UNSUPPORTED("afqdselz7uxi22z0zlydrzlo1"); // if (i > 1)
3968 UNSUPPORTED("5nz9wezr9fh7hfzwoqgk11zm1"); // gvc->pad.y = yf * 72;
3969 UNSUPPORTED("d1m7j39edzq6lp1g0a8lnxyhf"); // gvc->graph_sets_pad = NOT(0);
3970 UNSUPPORTED("4mhlpjofolwivhm0tl8cxznly"); // }
3971 UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); // }
3972 UNSUPPORTED("96riek1d0o8vwl70xmegernpv"); // /* pagesize */
3973 UNSUPPORTED("298vt0zyw2i76g01fnol84jux"); // gvc->graph_sets_pageSize = 0;
3974 UNSUPPORTED("2shc43elsrp70a4k2u220ehox"); // gvc->pageSize = GD_drawing(g)->page;
3975 UNSUPPORTED("6evkjzqolfcsrv7tpqsm58o3h"); // if ((GD_drawing(g)->page.x > 0.001) && (GD_drawing(g)->page.y > 0.001))
3976 UNSUPPORTED("fgxbok14dgt3z4b3nscl0p7n"); // gvc->graph_sets_pageSize = NOT(0);
3977 UNSUPPORTED("ecjhhm3qqdov34ahw0hdmnb1g"); // /* rotation */
3978 UNSUPPORTED("2cxu41gtx0x2822685tf09ctd"); // if (GD_drawing(g)->landscape)
3979 UNSUPPORTED("cva8oucw05hmnqf4l4bk4dgfh"); // gvc->rotation = 90;
3980 UNSUPPORTED("4lti1w2qslxj3ihoatmbavsfr"); // else
3981 UNSUPPORTED("b4f4qufgjft6e4a4p7mkitiqv"); // gvc->rotation = 0;
3982 UNSUPPORTED("e5gxr3o07ghgvc4ucdwpjflcj"); // /* pagedir */
3983 UNSUPPORTED("bb3h91bcfx7by4d3fyhmzdy2b"); // gvc->pagedir = "BL";
3984 UNSUPPORTED("bpcvlnl6cfm6bjjupn4octi5k"); // if ((p = agget(g, "pagedir")) && p[0])
3985 UNSUPPORTED("ajams0xdty7a7uuekgeid69r1"); // gvc->pagedir = p;
3986 UNSUPPORTED("e2g5l4w3c1x1gfmugldesjjqd"); // /* bounding box */
3987 UNSUPPORTED("7tzs0wxbqa2wkozgqx08w4bau"); // gvc->bb = GD_bb(g);
3988 UNSUPPORTED("5hczsy1j61vmnr84wyz5bikya"); // /* clusters have peripheries */
3989 UNSUPPORTED("clrndk7c262q4i7auu2yxaxbe"); // G_peripheries = (agattr(g,AGRAPH,"peripheries",NULL));
3990 UNSUPPORTED("2kfixvhj3cpd8ixik3psbcfpe"); // G_penwidth = (agattr(g,AGRAPH,"penwidth",NULL));
3991 UNSUPPORTED("2cwp5x6rqs985rs765vqqygae"); // /* default font */
3992 UNSUPPORTED("e7ws06cub67fioowd2qb57bdq"); // gvc->defaultfontname = late_nnstring(NULL,
3993 UNSUPPORTED("7bozarsmoudzlhh3sw6pkg1h5"); // N_fontname, "Times-Roman");
3994 UNSUPPORTED("58t4peku7cnyvnai2a20f5879"); // gvc->defaultfontsize = late_double(NULL,
3995 UNSUPPORTED("bbm0e0fv8warl1ji3fdc6yt6b"); // N_fontsize, 14.0, 1.0);
3996 UNSUPPORTED("5w09u9j3f1qfayfhrgj57ecba"); // /* default line style */
3997 UNSUPPORTED("7qer3idmrdf9t80kv56o3uuss"); // gvc->defaultlinestyle = defaultlinestyle;
3998 UNSUPPORTED("4bhwcitlq1486x53gcbhloizr"); // gvc->graphname = agnameof(g);
3999 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
4000
4001 throw new UnsupportedOperationException();
4002 }
4003
4004
4005
4006
4007 //3 9pyz8u3udm2aoyugcsto0kix5
4008 // static void init_job_pad(GVJ_t *job)
4009 public static Object init_job_pad(Object... arg) {
4010 UNSUPPORTED("agxhh3hamzm2l90mq5ojrmfkv"); // static void init_job_pad(GVJ_t *job)
4011 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
4012 UNSUPPORTED("eyew5ay5wwktz4fysz0b78ugv"); // GVC_t *gvc = job->gvc;
4013 UNSUPPORTED("de4elc7zm79xniuphcxgyvvk9"); // if (gvc->graph_sets_pad) {
4014 UNSUPPORTED("aptzesoqv5uqgvgg0mc6kao5e"); // job->pad = gvc->pad;
4015 UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); // }
4016 UNSUPPORTED("1nyzbeonram6636b1w955bypn"); // else {
4017 UNSUPPORTED("aj6nzz9d7a58djho9n52jx8yw"); // switch (job->output_lang) {
4018 UNSUPPORTED("b72lffvceole2ir7mpo7p336e"); // case 300:
4019 UNSUPPORTED("2j1zpsvat3akpjxygl2b8ttbg"); // job->pad.x = job->pad.y = job->render.features->default_pad;
4020 UNSUPPORTED("ai3czg6gaaxspsmndknpyvuiu"); // break;
4021 UNSUPPORTED("1drv0xz8hp34qnf72b4jpprg2"); // default:
4022 UNSUPPORTED("3w0qgk20xo9z7unk42folarn1"); // job->pad.x = job->pad.y = 4;
4023 UNSUPPORTED("ai3czg6gaaxspsmndknpyvuiu"); // break;
4024 UNSUPPORTED("flupwh3kosf3fkhkxllllt1"); // }
4025 UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); // }
4026 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
4027
4028 throw new UnsupportedOperationException();
4029 }
4030
4031
4032
4033
4034 //3 f2syfb4rj7trco59aj1v5jm7b
4035 // static void init_job_margin(GVJ_t *job)
4036 public static Object init_job_margin(Object... arg) {
4037 UNSUPPORTED("a2o4lfoc2z821pg69j2xraq5h"); // static void init_job_margin(GVJ_t *job)
4038 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
4039 UNSUPPORTED("eyew5ay5wwktz4fysz0b78ugv"); // GVC_t *gvc = job->gvc;
4040 UNSUPPORTED("7jaj0gwqx6io2udyixmrzcc1z"); // if (gvc->graph_sets_margin) {
4041 UNSUPPORTED("4snswj683owzbho4jjotw970l"); // job->margin = gvc->margin;
4042 UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); // }
4043 UNSUPPORTED("1nyzbeonram6636b1w955bypn"); // else {
4044 UNSUPPORTED("za5jq2evnfd3fbn96g250vy9"); // /* set default margins depending on format */
4045 UNSUPPORTED("ampzlf94vv6frsr0uc6d017f6"); // switch (job->output_lang) {
4046 UNSUPPORTED("aul67kwcbtvgyy4b36yxw76ou"); // case 300:
4047 UNSUPPORTED("e4ovq7tj6z354n1fhbnxfzufe"); // job->margin = job->device.features->default_margin;
4048 UNSUPPORTED("dtx9szdvwh3uhziubh9zvgbk5"); // break;
4049 UNSUPPORTED("2jhp1005lxz99z1pc9syee424"); // case 2: case 3: case 4: case 22: case 21: case 30:
4050 UNSUPPORTED("9mg8oo60qykyf8i35w2raa26p"); // job->margin.x = job->margin.y = 36;
4051 UNSUPPORTED("dtx9szdvwh3uhziubh9zvgbk5"); // break;
4052 UNSUPPORTED("p0mt8wznalavjdm44ot4ykl7"); // default:
4053 UNSUPPORTED("5l3hvgkkpuhcf4cohs28abhtz"); // job->margin.x = job->margin.y = 0;
4054 UNSUPPORTED("dtx9szdvwh3uhziubh9zvgbk5"); // break;
4055 UNSUPPORTED("4mhlpjofolwivhm0tl8cxznly"); // }
4056 UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); // }
4057 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
4058
4059 throw new UnsupportedOperationException();
4060 }
4061
4062
4063
4064
4065 //3 8g64hepne35gexv6ju81tbqc3
4066 // static void init_job_dpi(GVJ_t *job, graph_t *g)
4067 public static Object init_job_dpi(Object... arg) {
4068 UNSUPPORTED("2p6nt5vob0ei8v7773p5tdecd"); // static void init_job_dpi(GVJ_t *job, graph_t *g)
4069 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
4070 UNSUPPORTED("8m7r6h2rw1gx6dc2436egqiay"); // GVJ_t *firstjob = job->gvc->active_jobs;
4071 UNSUPPORTED("brb2vqrp3wxbej2f8h8oo3dcq"); // if (GD_drawing(g)->dpi != 0) {
4072 UNSUPPORTED("dt9qdoazpes90xzueapuxxspa"); // job->dpi.x = job->dpi.y = (double)(GD_drawing(g)->dpi);
4073 UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); // }
4074 UNSUPPORTED("6upj4lbia39c7c7hd9vsvv8b8"); // else if (firstjob && firstjob->device_sets_dpi) {
4075 UNSUPPORTED("7mtrejna32wqb64ec8s1hvrgt"); // job->dpi = firstjob->device_dpi; /* some devices set dpi in initialize() */
4076 UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); // }
4077 UNSUPPORTED("1nyzbeonram6636b1w955bypn"); // else {
4078 UNSUPPORTED("za5jq2evnfd3fbn96g250vy9"); // /* set default margins depending on format */
4079 UNSUPPORTED("ampzlf94vv6frsr0uc6d017f6"); // switch (job->output_lang) {
4080 UNSUPPORTED("aul67kwcbtvgyy4b36yxw76ou"); // case 300:
4081 UNSUPPORTED("azl3hjq4ji3la2pi9cndx1k3e"); // job->dpi = job->device.features->default_dpi;
4082 UNSUPPORTED("dtx9szdvwh3uhziubh9zvgbk5"); // break;
4083 UNSUPPORTED("p0mt8wznalavjdm44ot4ykl7"); // default:
4084 UNSUPPORTED("7g69tkl1he21l042jkugrqp6o"); // job->dpi.x = job->dpi.y = (double)(DEFAULT_DPI);
4085 UNSUPPORTED("dtx9szdvwh3uhziubh9zvgbk5"); // break;
4086 UNSUPPORTED("4mhlpjofolwivhm0tl8cxznly"); // }
4087 UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); // }
4088 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
4089
4090 throw new UnsupportedOperationException();
4091 }
4092
4093
4094
4095
4096 //3 4q75k0eh9opws0n4g4hucx21k
4097 // static void init_job_viewport(GVJ_t * job, graph_t * g)
4098 public static Object init_job_viewport(Object... arg) {
4099 UNSUPPORTED("624efhjg4wk3vw59b77itfyvo"); // static void init_job_viewport(GVJ_t * job, graph_t * g)
4100 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
4101 UNSUPPORTED("eyew5ay5wwktz4fysz0b78ugv"); // GVC_t *gvc = job->gvc;
4102 UNSUPPORTED("6i2nacyhq49omlq45m07qui2g"); // pointf LL, UR, size, sz;
4103 UNSUPPORTED("du235xtc4birmdt1yr7ce3jpv"); // double X, Y, Z, x, y;
4104 UNSUPPORTED("ecz4e03zumggc8tfymqvirexq"); // int rv;
4105 UNSUPPORTED("2jcii9cclu1dijzqekzc175pe"); // Agnode_t *n;
4106 UNSUPPORTED("adc06gp2568j6zfk5jqvbfo2y"); // char *str, *nodename = NULL, *junk = NULL;
4107 UNSUPPORTED("cibtljruio32e5gvrl87lh88l"); // UR = gvc->bb.UR;
4108 UNSUPPORTED("5vjounfbnwwcy8tbj300r79r2"); // LL = gvc->bb.LL;
4109 UNSUPPORTED("50ygg0dkfzxllsg7k6fe56huy"); // job->bb.LL.x = LL.x - job->pad.x; /* job->bb is bb of graph and padding - graph units */
4110 UNSUPPORTED("49aqo5a8zzjcw7blnfu1d31q4"); // job->bb.LL.y = LL.y - job->pad.y;
4111 UNSUPPORTED("b3wmaft4mjah5tibmxgrds6eg"); // job->bb.UR.x = UR.x + job->pad.x;
4112 UNSUPPORTED("80w280ro0p0cugy34wuqzbsh9"); // job->bb.UR.y = UR.y + job->pad.y;
4113 UNSUPPORTED("6w6xt2yb2jn5st0s2quady6io"); // sz.x = job->bb.UR.x - job->bb.LL.x; /* size, including padding - graph units */
4114 UNSUPPORTED("99nzl03ckbymw5ajsxg2lxf5v"); // sz.y = job->bb.UR.y - job->bb.LL.y;
4115 UNSUPPORTED("2mgynwyvee3ie46hpl26kqtf2"); // /* determine final drawing size and scale to apply. */
4116 UNSUPPORTED("753yoijk60817tp79pq00vr0m"); // /* N.B. size given by user is not rotated by landscape mode */
4117 UNSUPPORTED("ag04g63wularfd1fbljawhkqj"); // /* start with "natural" size of layout */
4118 UNSUPPORTED("637m663yod0dkbreevp6qk44p"); // Z = 1.0;
4119 UNSUPPORTED("c8oufh828idctovprrgjdm0os"); // if (GD_drawing(g)->size.x > 0.001 && GD_drawing(g)->size.y > 0.001) { /* graph size was given by user... */
4120 UNSUPPORTED("bmz1dbirkeldxm62ak0co2qrb"); // size = GD_drawing(g)->size;
4121 UNSUPPORTED("6qb7wsi1h19gy3dx25dsrf542"); // if (sz.x == 0) sz.x = size.x;
4122 UNSUPPORTED("3o8bk5rxvc9z3ttlp9sr2qn4s"); // if (sz.y == 0) sz.y = size.y;
4123 UNSUPPORTED("46ob9e3vmgm08hjtxp6tfvhoz"); // if ((size.x < sz.x) || (size.y < sz.y) /* drawing is too big (in either axis) ... */
4124 UNSUPPORTED("5auolwo9gg1phxl3qsyuubbu1"); // || ((GD_drawing(g)->filled) /* or ratio=filled requested and ... */
4125 UNSUPPORTED("9x8rozkks9tk12it75o6ejh9"); // && (size.x > sz.x) && (size.y > sz.y))) /* drawing is too small (in both axes) ... */
4126 UNSUPPORTED("745ba2myf8zykpw51eip22lxr"); // Z = MIN(size.x/sz.x, size.y/sz.y);
4127 UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); // }
4128 UNSUPPORTED("62gog7hki8holy1wdxok8ii3s"); // /* default focus, in graph units = center of bb */
4129 UNSUPPORTED("eh4upvvzpvb3b2hlopix62qvx"); // x = (LL.x + UR.x) / 2.;
4130 UNSUPPORTED("8mdsmfdv26en9t0wke5lj3yoe"); // y = (LL.y + UR.y) / 2.;
4131 UNSUPPORTED("cb0lygghq98c5tsuyl02ecakn"); // /* rotate and scale bb to give default absolute size in points*/
4132 UNSUPPORTED("7y4ysg5hih6aou07wc3jxhb35"); // job->rotation = job->gvc->rotation;
4133 UNSUPPORTED("1tcvgfcsior9vxwosbtysfoyl"); // X = sz.x * Z;
4134 UNSUPPORTED("7rvjwv9lldh8cdbpwf2e5b4em"); // Y = sz.y * Z;
4135 UNSUPPORTED("7mjigzchm03dvse5yty9697ik"); // /* user can override */
4136 UNSUPPORTED("bbb4aunqlxn7ymn473u9tfjh2"); // if ((str = agget(g, "viewport"))) {
4137 UNSUPPORTED("70923c97qwh5i4mk8teckxbg"); // nodename = malloc(strlen(str)+1);
4138 UNSUPPORTED("axxbey14epctt08bqmg4e4ljx"); // junk = malloc(strlen(str)+1);
4139 UNSUPPORTED("4nbqjt16sk1g61qjzmyth3m3y"); // rv = sscanf(str, "%lf,%lf,%lf,\'%[^\']\'", &X, &Y, &Z, nodename);
4140 UNSUPPORTED("8azqq8b6xz6pe75pwuu92bkis"); // if (rv == 4) {
4141 UNSUPPORTED("6vgu6qnrol7hlgg01x8iopat1"); // n = (agnode(g->root,nodename,0));
4142 UNSUPPORTED("5m395o1mab9my7pgd1wtfpkt4"); // if (n) {
4143 UNSUPPORTED("54io2bm3l9lajfo4g3z58eg1t"); // x = ND_coord(n).x;
4144 UNSUPPORTED("9woodb3r1ali6shtfkh2rz8h2"); // y = ND_coord(n).y;
4145 UNSUPPORTED("6t98dcecgbvbvtpycwiq2ynnj"); // }
4146 UNSUPPORTED("flupwh3kosf3fkhkxllllt1"); // }
4147 UNSUPPORTED("8k75h069sv2k9b6tgz77dscwd"); // else {
4148 UNSUPPORTED("s1rt11h530ot4w6oo53nl5ui"); // rv = sscanf(str, "%lf,%lf,%lf,%[^,]%s", &X, &Y, &Z, nodename, junk);
4149 UNSUPPORTED("4kcpjq4bw60ex3z1ewxgr1mjw"); // if (rv == 4) {
4150 UNSUPPORTED("874kb6l4r88vgo7isombaflpy"); // n = (agnode(g->root,nodename,0));
4151 UNSUPPORTED("a2kqxh7ugzx0wm2vq2kbx20y7"); // if (n) {
4152 UNSUPPORTED("9qhwk8hw3vgr1m1rzg5atx1zk"); // x = ND_coord(n).x;
4153 UNSUPPORTED("e4zoymn2c1bi9un0aj7x2plqm"); // y = ND_coord(n).y;
4154 UNSUPPORTED("6eq5kf0bj692bokt0bixy1ixh"); // }
4155 UNSUPPORTED("6t98dcecgbvbvtpycwiq2ynnj"); // }
4156 UNSUPPORTED("6q044im7742qhglc4553noina"); // else {
4157 UNSUPPORTED("2s114kzoj9bs4dyo9fxw68w0t"); // rv = sscanf(str, "%lf,%lf,%lf,%lf,%lf", &X, &Y, &Z, &x, &y);
4158 UNSUPPORTED("6t98dcecgbvbvtpycwiq2ynnj"); // }
4159 UNSUPPORTED("4mhlpjofolwivhm0tl8cxznly"); // }
4160 UNSUPPORTED("blr8vtykke5kreaxyos1zlb97"); // free (nodename);
4161 UNSUPPORTED("2pd0mx508kg0shcwmffjkyxc4"); // free (junk);
4162 UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); // }
4163 UNSUPPORTED("7bmnorp8hdilbzb9xmgr16rs5"); // /* rv is ignored since args retain previous values if not scanned */
4164 UNSUPPORTED("c22q6sbjdy7erjlxyrdanr1x3"); // /* job->view gives port size in graph units, unscaled or rotated
4165 UNSUPPORTED("eb5vhw8ufy0hgbridh6g2vao9"); // * job->zoom gives scaling factor.
4166 UNSUPPORTED("f4zt60wq4jiuahkpno3xurcl7"); // * job->focus gives the position in the graph of the center of the port
4167 UNSUPPORTED("795vpnc8yojryr8b46aidsu69"); // */
4168 UNSUPPORTED("asnqk2ep45wun0a0przl141qw"); // job->view.x = X;
4169 UNSUPPORTED("98ffy6ki313rluvwb97rnvig9"); // job->view.y = Y;
4170 UNSUPPORTED("2lcv08icuvjg8b9dwsdpqqold"); // job->zoom = Z; /* scaling factor */
4171 UNSUPPORTED("3pf2n1wcp8dwhgr0dom3f5c5y"); // job->focus.x = x;
4172 UNSUPPORTED("d40e8u3927lyzr1i1eodxb5ip"); // job->focus.y = y;
4173 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
4174
4175 throw new UnsupportedOperationException();
4176 }
4177
4178
4179
4180
4181 //3 cixyhqk69srhxgi3264xh8v68
4182 // static void emit_cluster_colors(GVJ_t * job, graph_t * g)
4183 public static Object emit_cluster_colors(Object... arg) {
4184 UNSUPPORTED("4do3kncw83okg157mdqb1rtct"); // static void emit_cluster_colors(GVJ_t * job, graph_t * g)
4185 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
4186 UNSUPPORTED("5wyi0wasd5kecf6rhsqdjk7v2"); // graph_t *sg;
4187 UNSUPPORTED("53xzwretgdbd0atozc0w6hagb"); // int c;
4188 UNSUPPORTED("76nok3eiyr33qf4ecv69ujxn6"); // char *str;
4189 UNSUPPORTED("99d9j6m0161wdv2tu4wbf3ifi"); // for (c = 1; c <= GD_n_cluster(g); c++) {
4190 UNSUPPORTED("cuf43q4kl3kqgyuuxdqve1mqt"); // sg = GD_clust(g)[c];
4191 UNSUPPORTED("eior21tu8n3jvwp0uvojvs0f9"); // emit_cluster_colors(job, sg);
4192 UNSUPPORTED("9obyty3pjddtipkl1momqv3h5"); // if (((str = agget(sg, "color")) != 0) && str[0])
4193 UNSUPPORTED("6095vphn778u0cj7bwv5weas7"); // gvrender_set_pencolor(job, str);
4194 UNSUPPORTED("497nfxb4jva1q66gyzxn4skpv"); // if (((str = agget(sg, "pencolor")) != 0) && str[0])
4195 UNSUPPORTED("6095vphn778u0cj7bwv5weas7"); // gvrender_set_pencolor(job, str);
4196 UNSUPPORTED("70ojemxfr6iv12m0fxcxdg0bp"); // if (((str = agget(sg, "bgcolor")) != 0) && str[0])
4197 UNSUPPORTED("6095vphn778u0cj7bwv5weas7"); // gvrender_set_pencolor(job, str);
4198 UNSUPPORTED("cdl50xso69xffobr8d9xfkxez"); // if (((str = agget(sg, "fillcolor")) != 0) && str[0])
4199 UNSUPPORTED("1a63r7ud39pu64tbombwke5j6"); // gvrender_set_fillcolor(job, str);
4200 UNSUPPORTED("a5y2a7fa23tghirfggvztwunc"); // if (((str = agget(sg, "fontcolor")) != 0) && str[0])
4201 UNSUPPORTED("6095vphn778u0cj7bwv5weas7"); // gvrender_set_pencolor(job, str);
4202 UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); // }
4203 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
4204
4205 throw new UnsupportedOperationException();
4206 }
4207
4208
4209
4210
4211 //3 6z2ta8nxn4szbpjidikrdzjd2
4212 // static void emit_colors(GVJ_t * job, graph_t * g)
4213 public static Object emit_colors(Object... arg) {
4214 UNSUPPORTED("60y3484rmpjm7xlt67j7mdl4"); // static void emit_colors(GVJ_t * job, graph_t * g)
4215 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
4216 UNSUPPORTED("cjx5v6hayed3q8eeub1cggqca"); // node_t *n;
4217 UNSUPPORTED("5gypxs09iuryx5a2eho9lgdcp"); // edge_t *e;
4218 UNSUPPORTED("85i6qyzcmdaf9l7uvotaz8nlu"); // char *str, *colors;
4219 UNSUPPORTED("c7ds3utacpnq14lyij0jurwb4"); // gvrender_set_fillcolor(job, "lightgrey");
4220 UNSUPPORTED("1lp6a62t425k9v01z810wrp7b"); // if (((str = agget(g, "bgcolor")) != 0) && str[0])
4221 UNSUPPORTED("34u8f5cr333f4sprskexyebpp"); // gvrender_set_fillcolor(job, str);
4222 UNSUPPORTED("56twc8sam9h8hr3clpxijei6p"); // if (((str = agget(g, "fontcolor")) != 0) && str[0])
4223 UNSUPPORTED("6uvs8it1wts6hypu32nx4owck"); // gvrender_set_pencolor(job, str);
4224 UNSUPPORTED("bikc4jaduha3tdbl9ci5qcrq5"); // emit_cluster_colors(job, g);
4225 UNSUPPORTED("44thr6ep72jsj3fksjiwdx3yr"); // for (n = agfstnode(g); n; n = agnxtnode(g, n)) {
4226 UNSUPPORTED("dnan5xu2dkpu7sl1b03ahndx"); // if (((str = agget(n, "color")) != 0) && str[0])
4227 UNSUPPORTED("6095vphn778u0cj7bwv5weas7"); // gvrender_set_pencolor(job, str);
4228 UNSUPPORTED("7zwodk0er4swr49op7lbvckmu"); // if (((str = agget(n, "pencolor")) != 0) && str[0])
4229 UNSUPPORTED("1a63r7ud39pu64tbombwke5j6"); // gvrender_set_fillcolor(job, str);
4230 UNSUPPORTED("7jynqpniz3o3a1uxq7wr68b3q"); // if (((str = agget(n, "fillcolor")) != 0) && str[0]) {
4231 UNSUPPORTED("2zkeug16gnaam15be1glq0d41"); // if (strchr(str, ':')) {
4232 UNSUPPORTED("zgs1bnae9v7jn6nvqwuf2unh"); // colors = strdup(str);
4233 UNSUPPORTED("65cuya3pzizp1x4mn7jdufwrd"); // for (str = strtok(colors, ":"); str;
4234 UNSUPPORTED("3pjrrvuvl7stxcg84h491n5qg"); // str = strtok(0, ":")) {
4235 UNSUPPORTED("bxlc2ohnhd7goi002fh9vwmuf"); // if (str[0])
4236 UNSUPPORTED("a83f0af7up943bqeqb4ktss9t"); // gvrender_set_pencolor(job, str);
4237 UNSUPPORTED("6eq5kf0bj692bokt0bixy1ixh"); // }
4238 UNSUPPORTED("1gvispqysaotaxpswiriasys2"); // free(colors);
4239 UNSUPPORTED("6t98dcecgbvbvtpycwiq2ynnj"); // }
4240 UNSUPPORTED("6q044im7742qhglc4553noina"); // else {
4241 UNSUPPORTED("97osvej5vqjmf4a6du709am4f"); // gvrender_set_pencolor(job, str);
4242 UNSUPPORTED("6t98dcecgbvbvtpycwiq2ynnj"); // }
4243 UNSUPPORTED("flupwh3kosf3fkhkxllllt1"); // }
4244 UNSUPPORTED("gmm6wp0dtyc0tsmtzu5if62t"); // if (((str = agget(n, "fontcolor")) != 0) && str[0])
4245 UNSUPPORTED("6095vphn778u0cj7bwv5weas7"); // gvrender_set_pencolor(job, str);
4246 UNSUPPORTED("e20lm4qtccvgsfq5fzjv6sjyl"); // for (e = agfstout(g, n); e; e = agnxtout(g, e)) {
4247 UNSUPPORTED("bcwa1u39hsu389fzlp0d4l21f"); // if (((str = agget(e, "color")) != 0) && str[0]) {
4248 UNSUPPORTED("4efctxbb4wq0ep3hzlpkaz7ue"); // if (strchr(str, ':')) {
4249 UNSUPPORTED("5vhkpar2tw6xtzhthkurydd1f"); // colors = strdup(str);
4250 UNSUPPORTED("aiy80oj5zipifrkb47xkmftsr"); // for (str = strtok(colors, ":"); str;
4251 UNSUPPORTED("6krlp42os46gl8wai0xgvb6kw"); // str = strtok(0, ":")) {
4252 UNSUPPORTED("cnbqptqtolqfv8ldin52nlvx0"); // if (str[0])
4253 UNSUPPORTED("cogpzraxmtn5x26pbzrmt64ow"); // gvrender_set_pencolor(job, str);
4254 UNSUPPORTED("dkxvw03k2gg9anv4dbze06axd"); // }
4255 UNSUPPORTED("9eduqn5owyzon5mdfrfajror6"); // free(colors);
4256 UNSUPPORTED("6eq5kf0bj692bokt0bixy1ixh"); // }
4257 UNSUPPORTED("d28blrbmwwqp80cyksuz7dwx9"); // else {
4258 UNSUPPORTED("13h4fpjj7vkimtrsq5l5siic1"); // gvrender_set_pencolor(job, str);
4259 UNSUPPORTED("6eq5kf0bj692bokt0bixy1ixh"); // }
4260 UNSUPPORTED("6t98dcecgbvbvtpycwiq2ynnj"); // }
4261 UNSUPPORTED("33tragnfqd9eqgqdst6rty8gp"); // if (((str = agget(e, "fontcolor")) != 0) && str[0])
4262 UNSUPPORTED("97osvej5vqjmf4a6du709am4f"); // gvrender_set_pencolor(job, str);
4263 UNSUPPORTED("flupwh3kosf3fkhkxllllt1"); // }
4264 UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); // }
4265 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
4266
4267 throw new UnsupportedOperationException();
4268 }
4269
4270
4271
4272
4273 //3 dlue7nzn2pfskq2p54b34b488
4274 // static void emit_view(GVJ_t * job, graph_t * g, int flags)
4275 public static Object emit_view(Object... arg) {
4276 UNSUPPORTED("5imanth4uju8cetckpnvqvzub"); // static void emit_view(GVJ_t * job, graph_t * g, int flags)
4277 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
4278 UNSUPPORTED("c00osdfe9g1arquj6clfdrh3e"); // GVC_t * gvc = job->gvc;
4279 UNSUPPORTED("cjx5v6hayed3q8eeub1cggqca"); // node_t *n;
4280 UNSUPPORTED("5gypxs09iuryx5a2eho9lgdcp"); // edge_t *e;
4281 UNSUPPORTED("csndbis67mjcboadb9c3vccda"); // gvc->common.viewNum++;
4282 UNSUPPORTED("586npexnnd5vijp8l2yb7kv6i"); // /* when drawing, lay clusters down before nodes and edges */
4283 UNSUPPORTED("8rgrpr4idg5l73bbih7wy6xuh"); // if (!(flags & (1<<2)))
4284 UNSUPPORTED("5gnlxmhx15pwjdqb1bv6lj9q1"); // emit_clusters(job, g, flags);
4285 UNSUPPORTED("8odxjg9o1tr8v6pqudnrplweo"); // if (flags & (1<<0)) {
4286 UNSUPPORTED("2xnyatu1c43zijt16ke1g4gg9"); // /* output all nodes, then all edges */
4287 UNSUPPORTED("24iil9cfhuxvvzbkepuax0fq8"); // gvrender_begin_nodes(job);
4288 UNSUPPORTED("eg21iwn9eqyjsoisl58nl8i36"); // for (n = agfstnode(g); n; n = agnxtnode(g, n))
4289 UNSUPPORTED("21cc1ilu48o079xze4a4zj021"); // emit_node(job, n);
4290 UNSUPPORTED("bwt97v7vxmudd2nrehidk4f20"); // gvrender_end_nodes(job);
4291 UNSUPPORTED("3vzktz5re4ifmdiynmy5l85h9"); // gvrender_begin_edges(job);
4292 UNSUPPORTED("attp4bsjqe99xnhi7lr7pszar"); // for (n = agfstnode(g); n; n = agnxtnode(g, n)) {
4293 UNSUPPORTED("8wpryg13apwpccvklympyeyqu"); // for (e = agfstout(g, n); e; e = agnxtout(g, e))
4294 UNSUPPORTED("egbuqrd3oowt73ihe2c07hylx"); // emit_edge(job, e);
4295 UNSUPPORTED("flupwh3kosf3fkhkxllllt1"); // }
4296 UNSUPPORTED("7pirwyfpglg7wt4glc4zlfvz"); // gvrender_end_edges(job);
4297 UNSUPPORTED("aj09npfwn78tl31m397v0s50r"); // } else if (flags & (1<<4)) {
4298 UNSUPPORTED("clvp13zubjxry8l8nesv79xjl"); // /* output all edges, then all nodes */
4299 UNSUPPORTED("3vzktz5re4ifmdiynmy5l85h9"); // gvrender_begin_edges(job);
4300 UNSUPPORTED("eg21iwn9eqyjsoisl58nl8i36"); // for (n = agfstnode(g); n; n = agnxtnode(g, n))
4301 UNSUPPORTED("8wpryg13apwpccvklympyeyqu"); // for (e = agfstout(g, n); e; e = agnxtout(g, e))
4302 UNSUPPORTED("egbuqrd3oowt73ihe2c07hylx"); // emit_edge(job, e);
4303 UNSUPPORTED("7pirwyfpglg7wt4glc4zlfvz"); // gvrender_end_edges(job);
4304 UNSUPPORTED("24iil9cfhuxvvzbkepuax0fq8"); // gvrender_begin_nodes(job);
4305 UNSUPPORTED("eg21iwn9eqyjsoisl58nl8i36"); // for (n = agfstnode(g); n; n = agnxtnode(g, n))
4306 UNSUPPORTED("21cc1ilu48o079xze4a4zj021"); // emit_node(job, n);
4307 UNSUPPORTED("bwt97v7vxmudd2nrehidk4f20"); // gvrender_end_nodes(job);
4308 UNSUPPORTED("3v872xkvak5nthxntrmy679dt"); // } else if (flags & (1<<3)) {
4309 UNSUPPORTED("24iil9cfhuxvvzbkepuax0fq8"); // gvrender_begin_nodes(job);
4310 UNSUPPORTED("eg21iwn9eqyjsoisl58nl8i36"); // for (n = agfstnode(g); n; n = agnxtnode(g, n))
4311 UNSUPPORTED("enqvgohrxvf10ccw4y4r96nkf"); // if (write_node_test(g, n))
4312 UNSUPPORTED("1bzj2os22s6b3tf899bpkde6t"); // emit_node(job, n);
4313 UNSUPPORTED("bwt97v7vxmudd2nrehidk4f20"); // gvrender_end_nodes(job);
4314 UNSUPPORTED("3vzktz5re4ifmdiynmy5l85h9"); // gvrender_begin_edges(job);
4315 UNSUPPORTED("attp4bsjqe99xnhi7lr7pszar"); // for (n = agfstnode(g); n; n = agnxtnode(g, n)) {
4316 UNSUPPORTED("7yvyv13me3s32qvq3gfbyt283"); // for (e = agfstout(g, n); e; e = agnxtout(g, e)) {
4317 UNSUPPORTED("2fgkqy3hjpj9eo76nnctdhelj"); // if (write_edge_test(g, e))
4318 UNSUPPORTED("auj2mo2tz3uf10zjkza14e82k"); // emit_edge(job, e);
4319 UNSUPPORTED("6t98dcecgbvbvtpycwiq2ynnj"); // }
4320 UNSUPPORTED("flupwh3kosf3fkhkxllllt1"); // }
4321 UNSUPPORTED("7pirwyfpglg7wt4glc4zlfvz"); // gvrender_end_edges(job);
4322 UNSUPPORTED("c07up7zvrnu2vhzy6d7zcu94g"); // } else {
4323 UNSUPPORTED("2638u64adcw68h4iekta3woqj"); // /* output in breadth first graph walk order */
4324 UNSUPPORTED("attp4bsjqe99xnhi7lr7pszar"); // for (n = agfstnode(g); n; n = agnxtnode(g, n)) {
4325 UNSUPPORTED("21cc1ilu48o079xze4a4zj021"); // emit_node(job, n);
4326 UNSUPPORTED("7yvyv13me3s32qvq3gfbyt283"); // for (e = agfstout(g, n); e; e = agnxtout(g, e)) {
4327 UNSUPPORTED("6a94yfoszisanhlfhbgaagm7b"); // emit_node(job, aghead(e));
4328 UNSUPPORTED("egbuqrd3oowt73ihe2c07hylx"); // emit_edge(job, e);
4329 UNSUPPORTED("6t98dcecgbvbvtpycwiq2ynnj"); // }
4330 UNSUPPORTED("flupwh3kosf3fkhkxllllt1"); // }
4331 UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); // }
4332 UNSUPPORTED("1rit427sa8udvzo3k42t9iha0"); // /* when mapping, detect events on clusters after nodes and edges */
4333 UNSUPPORTED("1nky1gj4525b4130zqg4jg6ah"); // if (flags & (1<<2))
4334 UNSUPPORTED("5gnlxmhx15pwjdqb1bv6lj9q1"); // emit_clusters(job, g, flags);
4335 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
4336
4337 throw new UnsupportedOperationException();
4338 }
4339
4340
4341
4342
4343 //3 dk8gj6u142q8vgup6ar9ruysc
4344 // static void emit_begin_graph(GVJ_t * job, graph_t * g)
4345 public static Object emit_begin_graph(Object... arg) {
4346 UNSUPPORTED("5njsnfg1w96wtvkzxnnx79oze"); // static void emit_begin_graph(GVJ_t * job, graph_t * g)
4347 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
4348 UNSUPPORTED("8lamppsqs7nhiu5v8k1f5jfh2"); // obj_state_t *obj;
4349 UNSUPPORTED("1iexddadjo0w6fdgddatfx40s"); // obj = push_obj_state(job);
4350 UNSUPPORTED("7ihakbkozgh3iuzyjmmhyh6k3"); // obj->type = ROOTGRAPH_OBJTYPE;
4351 UNSUPPORTED("9ud9itr2e77p4owess7q8718d"); // obj->u.g = g;
4352 UNSUPPORTED("5pf0fco1plw3oedj6uzq7uimr"); // obj->emit_state = EMIT_GDRAW;
4353 UNSUPPORTED("bg4pso3sflig43odlnhxv7hak"); // initObjMapData (job, GD_label(g), g);
4354 UNSUPPORTED("e44aso60solubotswg1yr8un"); // gvrender_begin_graph(job, g);
4355 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
4356
4357 throw new UnsupportedOperationException();
4358 }
4359
4360
4361
4362
4363 //3 3nhn5596nwxutoyrm6tsxwvbd
4364 // static void emit_end_graph(GVJ_t * job, graph_t * g)
4365 public static Object emit_end_graph(Object... arg) {
4366 UNSUPPORTED("e5oluojkvyfuqdu97u95cqg3w"); // static void emit_end_graph(GVJ_t * job, graph_t * g)
4367 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
4368 UNSUPPORTED("1n9wfd0yho4z5950kfzq1f6y5"); // gvrender_end_graph(job);
4369 UNSUPPORTED("39iamwq9cd9iv3d2iyiaq8gz9"); // pop_obj_state(job);
4370 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
4371
4372 throw new UnsupportedOperationException();
4373 }
4374
4375
4376
4377
4378 //3 9to165vrtas68afpbjdprx2vd
4379 // static void emit_page(GVJ_t * job, graph_t * g)
4380 public static Object emit_page(Object... arg) {
4381 UNSUPPORTED("di1dvfa15xs9rx182756djgqg"); // static void emit_page(GVJ_t * job, graph_t * g)
4382 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
4383 UNSUPPORTED("84llcpxtvxaggx841n2t03850"); // obj_state_t *obj = job->obj;
4384 UNSUPPORTED("6662g2itnb2i3tqvhvnkpfe2f"); // int nump = 0, flags = job->flags;
4385 UNSUPPORTED("1ikkkd5pukqwffmu5mtak47js"); // textlabel_t *lab;
4386 UNSUPPORTED("wv6e6kkgh4jw93f4dlmoozok"); // pointf *p = NULL;
4387 UNSUPPORTED("6xn8wrm21858wn8m5cu76e7k6"); // char* saveid;
4388 UNSUPPORTED("h0or3v13348vfl22jqz895yc"); // unsigned char buf[128];
4389 UNSUPPORTED("9gou5otj6s39l2cbyc8i5i5lq"); // agxbuf xb;
4390 UNSUPPORTED("c4vh2q9zpipty999dty5nvmpm"); // /* For the first page, we can use the values generated in emit_begin_graph.
4391 UNSUPPORTED("2rctyueh35ne2pj7qe3nbgj64"); // * For multiple pages, we need to generate a new id.
4392 UNSUPPORTED("795vpnc8yojryr8b46aidsu69"); // */
4393 UNSUPPORTED("1p2sfiuz204i105cwxgsww1g7"); // if ((((job)->layerNum>1)||((job)->pagesArrayElem.x > 0)||((job)->pagesArrayElem.x > 0))) {
4394 UNSUPPORTED("el1z2krv8hoorc5c7vjsxw7yn"); // agxbinit(&xb, 128, buf);
4395 UNSUPPORTED("288ufw5rels1yxspvgtsyk3ve"); // saveid = obj->id;
4396 UNSUPPORTED("dly1rpg3t74a0cgwq5m4vdfir"); // layerPagePrefix (job, &xb);
4397 UNSUPPORTED("9vff0t827i9c1drbwcuxv66vl"); // agxbput (&xb, saveid);
4398 UNSUPPORTED("7fsfc9wkigjp8e60ca77krp4q"); // obj->id = (((((&xb)->ptr >= (&xb)->eptr) ? agxbmore(&xb,1) : 0), (int)(*(&xb)->ptr++ = ((unsigned char)'\0'))),(char*)((&xb)->ptr = (&xb)->buf));
4399 UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); // }
4400 UNSUPPORTED("div10atae09n36x269sl208r1"); // else
4401 UNSUPPORTED("5cjdy9xrlft2fd3m8c4wfxvn0"); // saveid = NULL;
4402 UNSUPPORTED("3glknrzusaw84wts2i8rbn2cq"); // setColorScheme (agget (g, "colorscheme"));
4403 UNSUPPORTED("7n40v0iw6f6evriibhioqu7ts"); // setup_page(job, g);
4404 UNSUPPORTED("8xm4n85i531jwobi44phtf4ir"); // gvrender_begin_page(job);
4405 UNSUPPORTED("e7x5ptqcyrjeve73rf3hjhuhn"); // gvrender_set_pencolor(job, "black");
4406 UNSUPPORTED("c7ds3utacpnq14lyij0jurwb4"); // gvrender_set_fillcolor(job, "lightgrey");
4407 UNSUPPORTED("8k7npuk2pg2np42cu63aachgc"); // if ((flags & ((1<<16) | (1<<22)))
4408 UNSUPPORTED("cjxb7soy84ukfc9btgpgb20qv"); // && (obj->url || obj->explicit_tooltip)) {
4409 UNSUPPORTED("bdk6hu2yhmni45qx7umzxcygk"); // if (flags & ((1<<17) | (1<<19))) {
4410 UNSUPPORTED("9cwsuo4ejz94kt28xa30z24o4"); // if (flags & (1<<17)) {
4411 UNSUPPORTED("4rlzy2etw4nk635bj5t9ru8p8"); // obj->url_map_shape = MAP_RECTANGLE;
4412 UNSUPPORTED("c4ypp4cr8076ye8m20un6b1r0"); // nump = 2;
4413 UNSUPPORTED("6t98dcecgbvbvtpycwiq2ynnj"); // }
4414 UNSUPPORTED("6q044im7742qhglc4553noina"); // else {
4415 UNSUPPORTED("ei9dbrwfxqj4zzq5goyjrp35m"); // obj->url_map_shape = MAP_POLYGON;
4416 UNSUPPORTED("bc2bgfqrx6wr17fw3ipheaxt3"); // nump = 4;
4417 UNSUPPORTED("6t98dcecgbvbvtpycwiq2ynnj"); // }
4418 UNSUPPORTED("1ubuo1fytrqcvpt7d5d82uhus"); // p = (pointf*)zmalloc((nump)*sizeof(pointf));
4419 UNSUPPORTED("7mbkf7uj9kru8y0p4vqwvqcuz"); // p[0] = job->pageBox.LL;
4420 UNSUPPORTED("6r0id695rza6fkyms76whk4iv"); // p[1] = job->pageBox.UR;
4421 UNSUPPORTED("bt5khrnbcnl2rast8s6f5hsb3"); // if (! (flags & ((1<<17))))
4422 UNSUPPORTED("32e1sy1ya6lb3qmnvfchmljx6"); // rect2poly(p);
4423 UNSUPPORTED("flupwh3kosf3fkhkxllllt1"); // }
4424 UNSUPPORTED("cnadzqqicrskcdzko360llcg5"); // if (! (flags & (1<<13)))
4425 UNSUPPORTED("8bpnq0a8qri3cve2qymb5tdyk"); // gvrender_ptf_A(job, p, p, nump);
4426 UNSUPPORTED("e4cpy14h8m2l16mjqadzsk89g"); // obj->url_map_p = p;
4427 UNSUPPORTED("evxoqe3dfgjf7bsm11ipkr8uc"); // obj->url_map_n = nump;
4428 UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); // }
4429 UNSUPPORTED("6le9aolkoakj39i518xz8m4mp"); // if ((flags & (1<<15)) && ((lab = GD_label(g))))
4430 UNSUPPORTED("ear31tm0c4wpfnpcaoecqkfs3"); // /* do graph label on every page and rely on clipping to show it on the right one(s) */
4431 UNSUPPORTED("1sy2sk1asrfkgl0880y6kmloo"); // obj->label = lab->text;
4432 UNSUPPORTED("5r6tugfy15ojg2zla1xfnbmfc"); // /* If EMIT_CLUSTERS_LAST is set, we assume any URL or tooltip
4433 UNSUPPORTED("33ajxgdgcy9ya7o2qo3545kjz"); // * attached to the root graph is emitted either in begin_page
4434 UNSUPPORTED("8oq67ru65jsrltrbkpicoq60r"); // * or end_page of renderer.
4435 UNSUPPORTED("62wb43w2xc6ex6hootjubbx22"); // */
4436 UNSUPPORTED("b465fu7r28ccnhoa0uvk6txhm"); // if (!(flags & (1<<2)) && (obj->url || obj->explicit_tooltip)) {
4437 UNSUPPORTED("874x9mgt9apdota54iarnz9v1"); // emit_map_rect(job, job->clip);
4438 UNSUPPORTED("5dgsg5nmc05yy1ape6ses927z"); // gvrender_begin_anchor(job, obj->url, obj->tooltip, obj->target, obj->id);
4439 UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); // }
4440 UNSUPPORTED("4h1kjxw1u80nnonna7i2zuoec"); // /* if (numPhysicalLayers(job) == 1) */
4441 UNSUPPORTED("2vh3blbhjrzadv1wr6ru210tj"); // emit_background(job, g);
4442 UNSUPPORTED("aplr7sm051i57jygcfj6gigoh"); // if (GD_label(g))
4443 UNSUPPORTED("ett9sr8mbs57jfjk6eqf66ood"); // emit_label(job, EMIT_GLABEL, GD_label(g));
4444 UNSUPPORTED("abgvf32lk9jxduwyafzp9fn6r"); // if (!(flags & (1<<2)) && (obj->url || obj->explicit_tooltip))
4445 UNSUPPORTED("e3o6yrnsv8lko5fql4f8a9gly"); // gvrender_end_anchor(job);
4446 UNSUPPORTED("ckjdhy2wwekw6raq99m9r1wwe"); // emit_view(job,g,flags);
4447 UNSUPPORTED("90q0ssftdvmcofopllyikqw70"); // gvrender_end_page(job);
4448 UNSUPPORTED("ba2uwvbdk3mubgsfak0882ay6"); // if (saveid) {
4449 UNSUPPORTED("52frst03mcbsuu6bmnqs962qm"); // agxbfree(&xb);
4450 UNSUPPORTED("9z28bgnq8rla75dmcugnyi4ql"); // obj->id = saveid;
4451 UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); // }
4452 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
4453
4454 throw new UnsupportedOperationException();
4455 }
4456
4457
4458
4459
4460 //3 87nutd480deekxln7o14or4vo
4461 // void emit_graph(GVJ_t * job, graph_t * g)
4462 public static Object emit_graph(Object... arg) {
4463 UNSUPPORTED("3bmd2hvgnq1fcmgpxtam9hsx0"); // void emit_graph(GVJ_t * job, graph_t * g)
4464 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
4465 UNSUPPORTED("cjx5v6hayed3q8eeub1cggqca"); // node_t *n;
4466 UNSUPPORTED("8yytudftst76763qgnjebkzhm"); // char *s;
4467 UNSUPPORTED("12bpksga44s9sfl7x8xn2rt2k"); // int flags = job->flags;
4468 UNSUPPORTED("9q16e0ya19gm18zkyq7str796"); // int* lp;
4469 UNSUPPORTED("3aho54lnlpjyvy4ud87k3xnt1"); // /* device dpi is now known */
4470 UNSUPPORTED("drdz8zf1napfd9649xa2vvoui"); // job->scale.x = job->zoom * job->dpi.x / 72;
4471 UNSUPPORTED("esbjlmqb7gaaf3pfsa89lgev"); // job->scale.y = job->zoom * job->dpi.y / 72;
4472 UNSUPPORTED("ag4tx55kpqxgiqh97rx32q22l"); // job->devscale.x = job->dpi.x / 72;
4473 UNSUPPORTED("7t3liq77ckb4jbxzzkuvpenqu"); // job->devscale.y = job->dpi.y / 72;
4474 UNSUPPORTED("d3hdv8k8yieahljfu3qt853ud"); // if ((job->flags & (1<<12)) || (Y_invert))
4475 UNSUPPORTED("dhkndrjvudfzh9rih1bg17gz3"); // job->devscale.y *= -1;
4476 UNSUPPORTED("7q82xx3mn6mih80ewhar8lg0g"); // /* compute current view in graph units */
4477 UNSUPPORTED("3h1yo631e2fq69mxwoggya716"); // if (job->rotation) {
4478 UNSUPPORTED("b9r25eu40lq0rhgqpis89rji8"); // job->view.y = job->width / job->scale.y;
4479 UNSUPPORTED("6a6udj0vxgy2ylquj5qgi0v5y"); // job->view.x = job->height / job->scale.x;
4480 UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); // }
4481 UNSUPPORTED("1nyzbeonram6636b1w955bypn"); // else {
4482 UNSUPPORTED("6v8ftcsv837e27gwxszngvin2"); // job->view.x = job->width / job->scale.x;
4483 UNSUPPORTED("49fsot485en3t7beaufx5qicy"); // job->view.y = job->height / job->scale.y;
4484 UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); // }
4485 UNSUPPORTED("du7kz5k6s1p26hnk6fqj746mu"); // s = late_string(g, agattr(g, AGRAPH, "comment", 0), "");
4486 UNSUPPORTED("5td7tli30j1zl1fgvmy30blpa"); // gvrender_comment(job, s);
4487 UNSUPPORTED("b6bxtnfqf846y3t3131e0p4d0"); // job->layerNum = 0;
4488 UNSUPPORTED("7ky2s7fpgwjuqrftlhyowbq7q"); // emit_begin_graph(job, g);
4489 UNSUPPORTED("9saz20f1su2m7mwo82xf6hqc7"); // if (flags & (1<<1))
4490 UNSUPPORTED("5ay1uey9mpe77501hacs5cu3c"); // emit_colors(job,g);
4491 UNSUPPORTED("f36txx1tdgu50b4nkh20skis"); // /* reset node state */
4492 UNSUPPORTED("16hw9gw0dz2w7mrtba0eoqrdi"); // for (n = agfstnode(g); n; n = agnxtnode(g, n))
4493 UNSUPPORTED("9jg6tdwrn007w9odzq2qc6zdy"); // ND_state(n) = 0;
4494 UNSUPPORTED("1xhln25szyh2h4t7ccsprle9"); // /* iterate layers */
4495 UNSUPPORTED("4nvgbfw6y1185pj4e8h7daw79"); // for (firstlayer(job,&lp); validlayer(job); nextlayer(job,&lp)) {
4496 UNSUPPORTED("bn0m6u9dix50gpbajrfezpgua"); // if (numPhysicalLayers (job) > 1)
4497 UNSUPPORTED("35ib30gs09z3uwjvjoju5mpm2"); // gvrender_begin_layer(job);
4498 UNSUPPORTED("3b9ro4joid217f74xv0vx23ox"); // /* iterate pages */
4499 UNSUPPORTED("5h2vy2qmsot0bw099k6zh72gd"); // for (firstpage(job); validpage(job); nextpage(job))
4500 UNSUPPORTED("f0wsoynbdz170hyw1cg27wfte"); // emit_page(job, g);
4501 UNSUPPORTED("bn0m6u9dix50gpbajrfezpgua"); // if (numPhysicalLayers (job) > 1)
4502 UNSUPPORTED("2v3s6ab0rugrq7jsmzwh0cop0"); // gvrender_end_layer(job);
4503 UNSUPPORTED("3xbu5lb3fe5zgccq9vbjk3kln"); // }
4504 UNSUPPORTED("580k35rndifpvngdh5ih6za8j"); // emit_end_graph(job, g);
4505 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
4506
4507 throw new UnsupportedOperationException();
4508 }
4509
4510
4511
4512
4513 //3 8drr2f8zs3soqc2sosnio8pzh
4514 // static void free_string_entry(Dict_t * dict, char *key, Dtdisc_t * disc)
4515 public static Object free_string_entry(Object... arg) {
4516 UNSUPPORTED("5fw7dopfefym7l730mi9nupmb"); // static void free_string_entry(Dict_t * dict, char *key, Dtdisc_t * disc)
4517 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
4518 UNSUPPORTED("3a76j29jy9as91ppatk4njqfj"); // free(key);
4519 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
4520
4521 throw new UnsupportedOperationException();
4522 }
4523
4524
4525 //1 bh276mpp135v0h4xcw5xq7dw0
4526 // static Dict_t *strings
4527
4528
4529 //1 b145hfewfupd0yod069hevlar
4530 // static Dtdisc_t stringdict =
4531
4532
4533
4534
4535 //3 2akcqhxfjsryfaxqftz8ogp65
4536 // int emit_once(char *str)
4537 public static Object emit_once(Object... arg) {
4538 UNSUPPORTED("av9vowc3noulfodcy4y75cigq"); // int emit_once(char *str)
4539 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
4540 UNSUPPORTED("9o1ba2pupi4m7jhoaypqirzvz"); // if (strings == 0)
4541 UNSUPPORTED("oaii1lps6xe7x781clc5iody"); // strings = dtopen(&stringdict, Dtoset);
4542 UNSUPPORTED("a42qo364e33vq6xbaw4vwmfzy"); // if (!(*(((Dt_t*)(strings))->searchf))((strings),(void*)(str),0000004)) {
4543 UNSUPPORTED("a012inr2a6x936i3bmmkqbemf"); // (*(((Dt_t*)(strings))->searchf))((strings),(void*)(strdup(str)),0000001);
4544 UNSUPPORTED("bp2y18pqq5n09006utwifdyxo"); // return NOT(0);
4545 UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); // }
4546 UNSUPPORTED("5oxhd3fvp0gfmrmz12vndnjt"); // return 0;
4547 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
4548
4549 throw new UnsupportedOperationException();
4550 }
4551
4552
4553
4554
4555 //3 13d7ot7fdy4wdgkjwthvwzm4e
4556 // void emit_once_reset(void)
4557 public static Object emit_once_reset(Object... arg) {
4558 UNSUPPORTED("7ssgqzgkp5093mqxhkhuxum69"); // void emit_once_reset(void)
4559 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
4560 UNSUPPORTED("92fsshcviqb93ohg6shu769vw"); // if (strings) {
4561 UNSUPPORTED("czsk7hllpj8z00253zg9zwhd7"); // dtclose(strings);
4562 UNSUPPORTED("eolwadtu14y3m949xmkvfm351"); // strings = 0;
4563 UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); // }
4564 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
4565
4566 throw new UnsupportedOperationException();
4567 }
4568
4569
4570
4571
4572 //3 elzykz6y67nj4wkw8ujszlav6
4573 // static void emit_begin_cluster(GVJ_t * job, Agraph_t * sg)
4574 public static Object emit_begin_cluster(Object... arg) {
4575 UNSUPPORTED("5hucwlu4giv8cmas625we7f9h"); // static void emit_begin_cluster(GVJ_t * job, Agraph_t * sg)
4576 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
4577 UNSUPPORTED("8lamppsqs7nhiu5v8k1f5jfh2"); // obj_state_t *obj;
4578 UNSUPPORTED("1iexddadjo0w6fdgddatfx40s"); // obj = push_obj_state(job);
4579 UNSUPPORTED("n4boka8crqg5xqjpjbgcxln8"); // obj->type = CLUSTER_OBJTYPE;
4580 UNSUPPORTED("4xukb2axnj1vamt817cyruv0g"); // obj->u.sg = sg;
4581 UNSUPPORTED("7by2ra75cr7w394dpq9nmc5ft"); // obj->emit_state = EMIT_CDRAW;
4582 UNSUPPORTED("bl6tgzo7jj7jcpgtgg48l2agv"); // initObjMapData (job, GD_label(sg), sg);
4583 UNSUPPORTED("85xekl5v59s8nwopb1oyrehis"); // gvrender_begin_cluster(job, sg);
4584 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
4585
4586 throw new UnsupportedOperationException();
4587 }
4588
4589
4590
4591
4592 //3 djiumpyzkrvkc510ygwc0qw82
4593 // static void emit_end_cluster(GVJ_t * job, Agraph_t * g)
4594 public static Object emit_end_cluster(Object... arg) {
4595 UNSUPPORTED("9dxd1b11ibgf7uvh7mf5mvzye"); // static void emit_end_cluster(GVJ_t * job, Agraph_t * g)
4596 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
4597 UNSUPPORTED("9k80dolt6qs55o0oinc7mvk7k"); // gvrender_end_cluster(job, g);
4598 UNSUPPORTED("39iamwq9cd9iv3d2iyiaq8gz9"); // pop_obj_state(job);
4599 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
4600
4601 throw new UnsupportedOperationException();
4602 }
4603
4604
4605
4606
4607 //3 560z6epwa1xr2jys0av7hf7e5
4608 // void emit_clusters(GVJ_t * job, Agraph_t * g, int flags)
4609 public static Object emit_clusters(Object... arg) {
4610 UNSUPPORTED("9xh1f0u1yb9m8ypftvkh8ix4c"); // void emit_clusters(GVJ_t * job, Agraph_t * g, int flags)
4611 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
4612 UNSUPPORTED("18uvc5sri0zzjmzue0wwo1z3j"); // int doPerim, c, istyle, filled;
4613 UNSUPPORTED("en6q26cyrg17g6yd6el73b3ns"); // pointf AF[4];
4614 UNSUPPORTED("w9bbn26rmq9dc8ihryhse3pi"); // char *color, *fillcolor, *pencolor, **style, *s;
4615 UNSUPPORTED("5wyi0wasd5kecf6rhsqdjk7v2"); // graph_t *sg;
4616 UNSUPPORTED("cjx5v6hayed3q8eeub1cggqca"); // node_t *n;
4617 UNSUPPORTED("5gypxs09iuryx5a2eho9lgdcp"); // edge_t *e;
4618 UNSUPPORTED("8lamppsqs7nhiu5v8k1f5jfh2"); // obj_state_t *obj;
4619 UNSUPPORTED("1ikkkd5pukqwffmu5mtak47js"); // textlabel_t *lab;
4620 UNSUPPORTED("eqepzr79q5src0e30wgplnm07"); // int doAnchor;
4621 UNSUPPORTED("75w3zx2oz7s1yf7arcxf48heo"); // double penwidth;
4622 UNSUPPORTED("bhtcyodd9jiazat6sqhp9pm4x"); // char* clrs[2];
4623 UNSUPPORTED("99d9j6m0161wdv2tu4wbf3ifi"); // for (c = 1; c <= GD_n_cluster(g); c++) {
4624 UNSUPPORTED("cuf43q4kl3kqgyuuxdqve1mqt"); // sg = GD_clust(g)[c];
4625 UNSUPPORTED("75ua4s360ejy0ad5556y7rxc6"); // if (clust_in_layer(job, sg) == 0)
4626 UNSUPPORTED("6hqli9m8yickz1ox1qfgtdbnd"); // continue;
4627 UNSUPPORTED("cf5aumm9peswnfjdghtniv57i"); // /* when mapping, detect events on clusters after sub_clusters */
4628 UNSUPPORTED("7pfc87mgoy8xnsdd8w3r44gt4"); // if (flags & (1<<2))
4629 UNSUPPORTED("8zezqxx7s7218o1z84t9283i1"); // emit_clusters(job, sg, flags);
4630 UNSUPPORTED("4griuzh66dk49to2z4vg4n58t"); // emit_begin_cluster(job, sg);
4631 UNSUPPORTED("4afw3f56zovkl91einsaznlr1"); // obj = job->obj;
4632 UNSUPPORTED("8njvdvq4f4flv48y83eoo9guh"); // doAnchor = (obj->url || obj->explicit_tooltip);
4633 UNSUPPORTED("88mnm1u4w0ntiz5kynm02mfri"); // setColorScheme (agget (sg, "colorscheme"));
4634 UNSUPPORTED("eazs637wvmi4mg6rzyohl77bn"); // if (doAnchor && !(flags & (1<<2))) {
4635 UNSUPPORTED("4brof5tmiwuq5x63jh8whfeo0"); // emit_map_rect(job, GD_bb(sg));
4636 UNSUPPORTED("96wz4onwo8hv1dre15npyoncl"); // gvrender_begin_anchor(job, obj->url, obj->tooltip, obj->target, obj->id);
4637 UNSUPPORTED("flupwh3kosf3fkhkxllllt1"); // }
4638 UNSUPPORTED("arpfq2ay8oyluwsz8s1wp6tp4"); // filled = 0;
4639 UNSUPPORTED("7z8t2n0ov011yh7grn6tj8xl2"); // istyle = 0;
4640 UNSUPPORTED("e1llbio24o8st183k6ivn3x0p"); // if ((style = checkClusterStyle(sg, &istyle))) {
4641 UNSUPPORTED("5ijzig29e4ve6o6tmpypjijfc"); // gvrender_set_style(job, style);
4642 UNSUPPORTED("1jumnpbkw6xmpcroil8k5o5m8"); // if (istyle & (1 << 0))
4643 UNSUPPORTED("6w06em6l23suofe15du0wq9hb"); // filled = 1;
4644 UNSUPPORTED("flupwh3kosf3fkhkxllllt1"); // }
4645 UNSUPPORTED("17irg4x9jsg1ae0ueg2w7tyws"); // fillcolor = pencolor = 0;
4646 UNSUPPORTED("5erty8ili3cu3xxgovmr7jyzp"); // if (GD_gui_state(sg) & (1<<0)) {
4647 UNSUPPORTED("5ikpu0qi6d121h4pgoxr837nf"); // pencolor = late_nnstring(sg, G_activepencolor, "#808080");
4648 UNSUPPORTED("4k5huj86rwz99dqspibchklqc"); // fillcolor = late_nnstring(sg, G_activefillcolor, "#fcfcfc");
4649 UNSUPPORTED("5op945vn3c1cyxwov5p8rj33t"); // filled = NOT(0);
4650 UNSUPPORTED("flupwh3kosf3fkhkxllllt1"); // }
4651 UNSUPPORTED("76bnhukou8byzgwwws7ab8b0k"); // else if (GD_gui_state(sg) & (1<<1)) {
4652 UNSUPPORTED("3twy3v6vi0eeadoc4u1zlxb45"); // pencolor = late_nnstring(sg, G_activepencolor, "#303030");
4653 UNSUPPORTED("1osuzkag4yl1jf1yqr8to7q1x"); // fillcolor = late_nnstring(sg, G_activefillcolor, "#e8e8e8");
4654 UNSUPPORTED("5op945vn3c1cyxwov5p8rj33t"); // filled = NOT(0);
4655 UNSUPPORTED("flupwh3kosf3fkhkxllllt1"); // }
4656 UNSUPPORTED("er04c856pdifd7e1lw1c2jtba"); // else if (GD_gui_state(sg) & (1<<3)) {
4657 UNSUPPORTED("8kgp6s9d1pkgammp2cqy0lgz4"); // pencolor = late_nnstring(sg, G_deletedpencolor, "#e0e0e0");
4658 UNSUPPORTED("50zeczr79uvycx2cumnhd1tjx"); // fillcolor = late_nnstring(sg, G_deletedfillcolor, "#f0f0f0");
4659 UNSUPPORTED("5op945vn3c1cyxwov5p8rj33t"); // filled = NOT(0);
4660 UNSUPPORTED("flupwh3kosf3fkhkxllllt1"); // }
4661 UNSUPPORTED("6ziqrkwt111lwfmj2h8pp9244"); // else if (GD_gui_state(sg) & (1<<2)) {
4662 UNSUPPORTED("5zrylqp2iq3cuxz4lzc0545c3"); // pencolor = late_nnstring(sg, G_visitedpencolor, "#101010");
4663 UNSUPPORTED("2ehq3py2ixs9yy4hteia4zne7"); // fillcolor = late_nnstring(sg, G_visitedfillcolor, "#f8f8f8");
4664 UNSUPPORTED("5op945vn3c1cyxwov5p8rj33t"); // filled = NOT(0);
4665 UNSUPPORTED("flupwh3kosf3fkhkxllllt1"); // }
4666 UNSUPPORTED("8k75h069sv2k9b6tgz77dscwd"); // else {
4667 UNSUPPORTED("8ame1huznbi4b3mfey57xdith"); // if (((color = agget(sg, "color")) != 0) && color[0])
4668 UNSUPPORTED("122n5atq0kvxnd5tgprr5fu8m"); // fillcolor = pencolor = color;
4669 UNSUPPORTED("1zymwwt3solqac47a89h9z0im"); // if (((color = agget(sg, "pencolor")) != 0) && color[0])
4670 UNSUPPORTED("17hxm349yg7jla8miv14hwpgd"); // pencolor = color;
4671 UNSUPPORTED("dlm2m16no4yo0v65zm3r6q273"); // if (((color = agget(sg, "fillcolor")) != 0) && color[0])
4672 UNSUPPORTED("4mfyuvfftu02jnxjtms8u89df"); // fillcolor = color;
4673 UNSUPPORTED("ee02x4g8qa44xw1iktx466luf"); // /* bgcolor is supported for backward compatability
4674 UNSUPPORTED("921qzbfipmjh6nvtnq08xm284"); // if fill is set, fillcolor trumps bgcolor, so
4675 UNSUPPORTED("tzyfjffroigby20366m64xps"); // don't bother checking.
4676 UNSUPPORTED("3wmft8410e1kee6p60k7wx3aa"); // if gradient is set fillcolor trumps bgcolor
4677 UNSUPPORTED("29edlge3wqyp1gs0vymtr5700"); // */
4678 UNSUPPORTED("dzc0yotcol1cuthw3y39cexc6"); // if ((!filled || !fillcolor) && ((color = agget(sg, "bgcolor")) != 0) && color[0]) {
4679 UNSUPPORTED("4mfyuvfftu02jnxjtms8u89df"); // fillcolor = color;
4680 UNSUPPORTED("1obncd6x9bei9fl89du99yv6z"); // filled = 1;
4681 UNSUPPORTED("7g94ubxa48a1yi3mf9v521b7c"); // }
4682 UNSUPPORTED("flupwh3kosf3fkhkxllllt1"); // }
4683 UNSUPPORTED("4onosby3tz5zsis6f7400lgv0"); // if (!pencolor) pencolor = "black";
4684 UNSUPPORTED("5eg5vn1y14wludgfck0xaq3b9"); // if (!fillcolor) fillcolor = "lightgrey";
4685 UNSUPPORTED("1xf5m2okbj7owt77vc19vmf8r"); // clrs[0] = NULL;
4686 UNSUPPORTED("2atgu691bmn6h9jvk8lve5qzc"); // if (filled) {
4687 UNSUPPORTED("1ldzvmymblz8y4a6idvyxoj5t"); // float frac;
4688 UNSUPPORTED("5dnga3gh00f4sv4fk1n2iqdgu"); // if (findStopColor (fillcolor, clrs, &frac)) {
4689 UNSUPPORTED("12wjuz2zq45txyp39hhco78xu"); // gvrender_set_fillcolor(job, clrs[0]);
4690 UNSUPPORTED("5o23oun5dlazsaicyjj530pp"); // if (clrs[1])
4691 UNSUPPORTED("a7gdknkeqzyql1xn5aou1tu3u"); // gvrender_set_gradient_vals(job,clrs[1],late_int(sg,G_gradientangle,0,0), frac);
4692 UNSUPPORTED("5v31mz0fdr0su096gqov41vyn"); // else
4693 UNSUPPORTED("bs5b6w27pwn1xz2vkqcvhvw13"); // gvrender_set_gradient_vals(job,"black",late_int(sg,G_gradientangle,0,0), frac);
4694 UNSUPPORTED("7m5m0tkcf8zs343oe1dddsxz6"); // if (istyle & (1 << 1))
4695 UNSUPPORTED("5jf506rwz9snq4d6ozpjvg3yg"); // filled = 3;
4696 UNSUPPORTED("7rknc7r0egcn3cw68mrvgow3v"); // else
4697 UNSUPPORTED("7bikp52v1ey2yil3rybx6nris"); // filled = 2;
4698 UNSUPPORTED("6t98dcecgbvbvtpycwiq2ynnj"); // }
4699 UNSUPPORTED("5c97f6vfxny0zz35l2bu4maox"); // else
4700 UNSUPPORTED("es2lu1zhy5wdeml1v1kmrcix3"); // gvrender_set_fillcolor(job, fillcolor);
4701 UNSUPPORTED("flupwh3kosf3fkhkxllllt1"); // }
4702 UNSUPPORTED("6j0eo47d00ez70necc0iot40d"); // if (G_penwidth && ((s=agxget(sg,G_penwidth)) && s[0])) {
4703 UNSUPPORTED("6wycyviq3z90tulx4rjwg7sw"); // penwidth = late_double(sg, G_penwidth, 1.0, 0.0);
4704 UNSUPPORTED("7mn8zfxwz2kendg9ewcomj2tv"); // gvrender_set_penwidth(job, penwidth);
4705 UNSUPPORTED("flupwh3kosf3fkhkxllllt1"); // }
4706 UNSUPPORTED("4z3pjxp0yl5bmzgwdor3xvrv7"); // if (istyle & (1 << 2)) {
4707 UNSUPPORTED("mp3otb18t8y3o4bchg5z2idp"); // if ((doPerim = late_int(sg, G_peripheries, 1, 0)) || filled) {
4708 UNSUPPORTED("8si227ium48spncryy7frwynh"); // AF[0] = GD_bb(sg).LL;
4709 UNSUPPORTED("d45bxs36if3jklht2eq00pcr3"); // AF[2] = GD_bb(sg).UR;
4710 UNSUPPORTED("7pt3ynvpv9wcldm9uyl4hs9ud"); // AF[1].x = AF[2].x;
4711 UNSUPPORTED("busa4gdiebsow4m6i91pei9dk"); // AF[1].y = AF[0].y;
4712 UNSUPPORTED("6zog1wdj92i5gy18x1tgo7l8k"); // AF[3].x = AF[0].x;
4713 UNSUPPORTED("56s58onhzgnly5ggdvt1nlqnr"); // AF[3].y = AF[2].y;
4714 UNSUPPORTED("4jwde8ij6mapmpzufmz71uw3e"); // if (doPerim)
4715 UNSUPPORTED("7xogzuqvqci68vd0h8mw3g3hc"); // gvrender_set_pencolor(job, pencolor);
4716 UNSUPPORTED("7e1uy5mzei37p66t8jp01r3mk"); // else
4717 UNSUPPORTED("3eca1kfk7d0usysqe2g25s9dt"); // gvrender_set_pencolor(job, "transparent");
4718 UNSUPPORTED("ayr41ncx6835i1t6cvbbocmjt"); // round_corners(job, AF, 4, istyle, filled);
4719 UNSUPPORTED("6t98dcecgbvbvtpycwiq2ynnj"); // }
4720 UNSUPPORTED("flupwh3kosf3fkhkxllllt1"); // }
4721 UNSUPPORTED("9yi0sfy5jinx301z6euefq1gx"); // else if (istyle & (1 << 6)) {
4722 UNSUPPORTED("ax8y1utessq4dsj8ao6g7j2gw"); // int rv;
4723 UNSUPPORTED("4hludau9a2am1tjk0xhlnxfwy"); // AF[0] = GD_bb(sg).LL;
4724 UNSUPPORTED("4k77pmee44hsr6plcoi20dqdh"); // AF[2] = GD_bb(sg).UR;
4725 UNSUPPORTED("94xw5t69k3x4bncfo418rzk41"); // AF[1].x = AF[2].x;
4726 UNSUPPORTED("2wgbau6oi3x84fa5vbjpl4tys"); // AF[1].y = AF[0].y;
4727 UNSUPPORTED("drztvrhevx0zqyqw37lqbywwv"); // AF[3].x = AF[0].x;
4728 UNSUPPORTED("47fk1ddlzlenv8temw9o74dkm"); // AF[3].y = AF[2].y;
4729 UNSUPPORTED("d53rklwtw1a8c0ucfyief5w1w"); // if (late_int(sg, G_peripheries, 1, 0) == 0)
4730 UNSUPPORTED("63hseiu22ctgv9gdekam65t07"); // gvrender_set_pencolor(job, "transparent");
4731 UNSUPPORTED("5c97f6vfxny0zz35l2bu4maox"); // else
4732 UNSUPPORTED("1wbjeln7h70lig2gl98kt8rf5"); // gvrender_set_pencolor(job, pencolor);
4733 UNSUPPORTED("97vrs1f2jac8rfh3rnv1du0r7"); // rv = stripedBox (job, AF, fillcolor, 0);
4734 UNSUPPORTED("26uxy1rkzvmsisagoc5g7f9qc"); // if (rv > 1)
4735 UNSUPPORTED("8b71lckf2t9xe9fslu15tp484"); // agerr (AGPREV, "in cluster %s\n", agnameof(sg));
4736 UNSUPPORTED("cahw6lsgg8xmfslugv8wqwbhc"); // gvrender_box(job, GD_bb(sg), 0);
4737 UNSUPPORTED("flupwh3kosf3fkhkxllllt1"); // }
4738 UNSUPPORTED("8k75h069sv2k9b6tgz77dscwd"); // else {
4739 UNSUPPORTED("dgmim3t3r6y21whczevrqvhn1"); // if (late_int(sg, G_peripheries, 1, 0)) {
4740 UNSUPPORTED("1wbjeln7h70lig2gl98kt8rf5"); // gvrender_set_pencolor(job, pencolor);
4741 UNSUPPORTED("8lraxifxzs9ffrnk8a0ckeesw"); // gvrender_box(job, GD_bb(sg), filled);
4742 UNSUPPORTED("6t98dcecgbvbvtpycwiq2ynnj"); // }
4743 UNSUPPORTED("7a977zitdpktoxwn8rbjif9ux"); // else if (filled) {
4744 UNSUPPORTED("63hseiu22ctgv9gdekam65t07"); // gvrender_set_pencolor(job, "transparent");
4745 UNSUPPORTED("8lraxifxzs9ffrnk8a0ckeesw"); // gvrender_box(job, GD_bb(sg), filled);
4746 UNSUPPORTED("6t98dcecgbvbvtpycwiq2ynnj"); // }
4747 UNSUPPORTED("flupwh3kosf3fkhkxllllt1"); // }
4748 UNSUPPORTED("1j4mx2l2nl1oo3makbr3eyoxc"); // free (clrs[0]);
4749 UNSUPPORTED("ecowjd4zwo4ew6jeu9evjiij9"); // if ((lab = GD_label(sg)))
4750 UNSUPPORTED("2rvfkljzair3c2v8un739u8j"); // emit_label(job, EMIT_CLABEL, lab);
4751 UNSUPPORTED("7lbjljjzqr08zoe4tepd81ci0"); // if (doAnchor) {
4752 UNSUPPORTED("33sr8o6eyia8xv39c3ax3i9lq"); // if (flags & (1<<2)) {
4753 UNSUPPORTED("7fheoklw2kecmkg0cc6gap5f4"); // emit_map_rect(job, GD_bb(sg));
4754 UNSUPPORTED("b2xca1s1bd7tkr1vo1weazvq1"); // gvrender_begin_anchor(job, obj->url, obj->tooltip, obj->target, obj->id);
4755 UNSUPPORTED("6t98dcecgbvbvtpycwiq2ynnj"); // }
4756 UNSUPPORTED("dtwdqlhxsk4vpro8m02pot0co"); // gvrender_end_anchor(job);
4757 UNSUPPORTED("flupwh3kosf3fkhkxllllt1"); // }
4758 UNSUPPORTED("aayivxn33okuwnvn0iqa4066x"); // if (flags & (1<<3)) {
4759 UNSUPPORTED("7pdiogu941nic4o67h7upbhm4"); // for (n = agfstnode(sg); n; n = agnxtnode(sg, n)) {
4760 UNSUPPORTED("1bzj2os22s6b3tf899bpkde6t"); // emit_node(job, n);
4761 UNSUPPORTED("cvwdbwresv9dldcthcbnyp9kk"); // for (e = agfstout(sg, n); e; e = agnxtout(sg, e))
4762 UNSUPPORTED("auj2mo2tz3uf10zjkza14e82k"); // emit_edge(job, e);
4763 UNSUPPORTED("6t98dcecgbvbvtpycwiq2ynnj"); // }
4764 UNSUPPORTED("flupwh3kosf3fkhkxllllt1"); // }
4765 UNSUPPORTED("cv3hy45odqvlvwcjdyr6spm3h"); // emit_end_cluster(job, g);
4766 UNSUPPORTED("40fwf06hlkuo7isg6mip8g7el"); // /* when drawing, lay down clusters before sub_clusters */
4767 UNSUPPORTED("3i5ezqfabmzliv96rwzf0rp37"); // if (!(flags & (1<<2)))
4768 UNSUPPORTED("8zezqxx7s7218o1z84t9283i1"); // emit_clusters(job, sg, flags);
4769 UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); // }
4770 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
4771
4772 throw new UnsupportedOperationException();
4773 }
4774
4775
4776
4777
4778 //3 c4mtnyvuir2cais09r4vk4xwa
4779 // static boolean is_style_delim(int c)
4780 public static Object is_style_delim(Object... arg) {
4781 UNSUPPORTED("8mez49lbay1n6ghwk9q96arp5"); // static boolean is_style_delim(int c)
4782 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
4783 UNSUPPORTED("8amt8fmqdipygnxirowfbawox"); // switch (c) {
4784 UNSUPPORTED("71si918orgtw88hf3ef5zmsur"); // case '(':
4785 UNSUPPORTED("6w345tkzwww6jqwaqdi7yww9s"); // case ')':
4786 UNSUPPORTED("d7tc6f9496ufckp546jd19usk"); // case ',':
4787 UNSUPPORTED("1luutzji7osg8esr8b5j2cmsr"); // case '\0':
4788 UNSUPPORTED("bp2y18pqq5n09006utwifdyxo"); // return NOT(0);
4789 UNSUPPORTED("8l3rwj6ctswoa4gvh2j4poq70"); // default:
4790 UNSUPPORTED("c9ckhc8veujmwcw0ar3u3zld4"); // return 0;
4791 UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); // }
4792 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
4793
4794 throw new UnsupportedOperationException();
4795 }
4796
4797
4798
4799
4800 //3 ciz01t6xlpxu9dny1f4zwb45n
4801 // static int style_token(char **s, agxbuf * xb)
4802 public static Object style_token(Object... arg) {
4803 UNSUPPORTED("28oqkocgew358xzz1ws4vsuz4"); // static int style_token(char **s, agxbuf * xb)
4804 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
4805 UNSUPPORTED("8m3k758dcwwz4y8dqzc62remf"); // char *p = *s;
4806 UNSUPPORTED("eyxuxcumfs3lh2yyd55uy6v7w"); // int token, rc;
4807 UNSUPPORTED("wrvu9u7a8j6i6y6552zncxfk"); // char c;
4808 UNSUPPORTED("e5ufot6klnpqffix37q98elea"); // while (*p && (isspace(*p) || (*p == ',')))
4809 UNSUPPORTED("2wdgcrx402aszs54rq2kh9txd"); // p++;
4810 UNSUPPORTED("ajkn8nsofzadrqa5lz0j3dil2"); // switch (*p) {
4811 UNSUPPORTED("1luutzji7osg8esr8b5j2cmsr"); // case '\0':
4812 UNSUPPORTED("dmnwmwojsxusa7q5qt23h5zmg"); // token = 0;
4813 UNSUPPORTED("6aw91xzjmqvmtdvt1di23af8y"); // break;
4814 UNSUPPORTED("71si918orgtw88hf3ef5zmsur"); // case '(':
4815 UNSUPPORTED("6w345tkzwww6jqwaqdi7yww9s"); // case ')':
4816 UNSUPPORTED("eksinwup1v6a3d98byb38snby"); // token = *p++;
4817 UNSUPPORTED("6aw91xzjmqvmtdvt1di23af8y"); // break;
4818 UNSUPPORTED("8l3rwj6ctswoa4gvh2j4poq70"); // default:
4819 UNSUPPORTED("4cdl2v54v6i2dni2p09haa90i"); // token = 1;
4820 UNSUPPORTED("chgfiktm89qx6plbkcedgxntv"); // while (!is_style_delim(c = *p)) {
4821 UNSUPPORTED("44fjmben1pin1nau1r4s4b1jc"); // rc = ((((xb)->ptr >= (xb)->eptr) ? agxbmore(xb,1) : 0), (int)(*(xb)->ptr++ = ((unsigned char)c)));
4822 UNSUPPORTED("847zwwso12sey42b59zepembc"); // p++;
4823 UNSUPPORTED("flupwh3kosf3fkhkxllllt1"); // }
4824 UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); // }
4825 UNSUPPORTED("3kblfzc6j01qhc67wzeuk2oam"); // *s = p;
4826 UNSUPPORTED("dzxpp1eh4dn7ckzehm8pbp5r5"); // return token;
4827 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
4828
4829 throw new UnsupportedOperationException();
4830 }
4831
4832
4833 //1 5rjzz2a1wogd5wh9oa5o1fofa
4834 // static unsigned char outbuf[128]
4835
4836
4837 //1 adi2polpq88o43a9ixp81gazu
4838 // static agxbuf ps_xb
4839
4840
4841
4842
4843 //3 31nqh76a91ewgfgc421tjgnxd
4844 // char **parse_style(char *s)
4845 public static Object parse_style(Object... arg) {
4846 UNSUPPORTED("e5cy7r0xn364flrgake76xt8i"); // char **parse_style(char *s)
4847 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
4848 UNSUPPORTED("3vpphojcmf2gtvenbux84m8z9"); // static char *parse[64];
4849 UNSUPPORTED("3gkp456k9uixnbt0hgaw7oeep"); // static boolean is_first = NOT(0);
4850 UNSUPPORTED("ap64a3u5ezb8lo8thseajc887"); // int fun = 0;
4851 UNSUPPORTED("ci8semxrw11syu6su3skyfkoa"); // boolean in_parens = 0;
4852 UNSUPPORTED("h0or3v13348vfl22jqz895yc"); // unsigned char buf[128];
4853 UNSUPPORTED("aexhdud6z2wbwwi73yppp0ynl"); // char *p;
4854 UNSUPPORTED("53xzwretgdbd0atozc0w6hagb"); // int c;
4855 UNSUPPORTED("9gou5otj6s39l2cbyc8i5i5lq"); // agxbuf xb;
4856 UNSUPPORTED("ew6jw9dmd6hait9mgj7ouhmmr"); // if (is_first) {
4857 UNSUPPORTED("4m5jd5elxj32gsmed58fjnfcr"); // agxbinit(&ps_xb, 128, outbuf);
4858 UNSUPPORTED("43wu8jjb66y01a3hlgjrjryh1"); // is_first = 0;
4859 UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); // }
4860 UNSUPPORTED("ci65k77x1b3nq6luu69s87oup"); // agxbinit(&xb, 128, buf);
4861 UNSUPPORTED("7qb9c0pzh9hqyptqv00luagac"); // p = s;
4862 UNSUPPORTED("f242flcqmvdk48iozm6utnd21"); // while ((c = style_token(&p, &xb)) != 0) {
4863 UNSUPPORTED("7rk995hpmaqbbasmi40mqg0yw"); // switch (c) {
4864 UNSUPPORTED("ej3xfo9vi5946bx4zdvzne2rq"); // case '(':
4865 UNSUPPORTED("apbqdu2kbx5fo2pqipxe7a1dq"); // if (in_parens) {
4866 UNSUPPORTED("5gru9bi76isvm0xludlszwnh1"); // agerr(AGERR, "nesting not allowed in style: %s\n", s);
4867 UNSUPPORTED("2zjdsh2kepmo5yfkli65ofxe1"); // parse[0] = (char *) 0;
4868 UNSUPPORTED("97nzy67m5eyfd9a6d1montbam"); // agxbfree(&xb);
4869 UNSUPPORTED("6c4u745gvkt06ky00z0po4obm"); // return parse;
4870 UNSUPPORTED("6t98dcecgbvbvtpycwiq2ynnj"); // }
4871 UNSUPPORTED("iod77t2iafvqv6ivwpk389b4"); // in_parens = NOT(0);
4872 UNSUPPORTED("ai3czg6gaaxspsmndknpyvuiu"); // break;
4873 UNSUPPORTED("6740d5ahrznermt1b0z9i00yc"); // case ')':
4874 UNSUPPORTED("83ahjzhawu24k7hgmo221pz3k"); // if (in_parens == 0) {
4875 UNSUPPORTED("9ymlk0ikhvtvhj6ke4b2tooxg"); // agerr(AGERR, "unmatched ')' in style: %s\n", s);
4876 UNSUPPORTED("2zjdsh2kepmo5yfkli65ofxe1"); // parse[0] = (char *) 0;
4877 UNSUPPORTED("97nzy67m5eyfd9a6d1montbam"); // agxbfree(&xb);
4878 UNSUPPORTED("6c4u745gvkt06ky00z0po4obm"); // return parse;
4879 UNSUPPORTED("6t98dcecgbvbvtpycwiq2ynnj"); // }
4880 UNSUPPORTED("9yik55atrk3v32zihswkxoepa"); // in_parens = 0;
4881 UNSUPPORTED("ai3czg6gaaxspsmndknpyvuiu"); // break;
4882 UNSUPPORTED("1drv0xz8hp34qnf72b4jpprg2"); // default:
4883 UNSUPPORTED("83ahjzhawu24k7hgmo221pz3k"); // if (in_parens == 0) {
4884 UNSUPPORTED("197h1mowju7n7bgy7wx0jpyyp"); // if (fun == 64 - 1) {
4885 UNSUPPORTED("47cw8s3z99bcrten2c3js5q7u"); // agerr(AGWARN, "truncating style '%s'\n", s);
4886 UNSUPPORTED("2pxlo0tqwhg51d3v8r33x5vlm"); // parse[fun] = (char *) 0;
4887 UNSUPPORTED("pjkyn5638fsqi3xazu3sd2ce"); // agxbfree(&xb);
4888 UNSUPPORTED("dedftzivffm91rj6yyibb1jrh"); // return parse;
4889 UNSUPPORTED("6eq5kf0bj692bokt0bixy1ixh"); // }
4890 UNSUPPORTED("4h5li2e1ckwp4ztkl6ur4hjvr"); // ((((&ps_xb)->ptr >= (&ps_xb)->eptr) ? agxbmore(&ps_xb,1) : 0), (int)(*(&ps_xb)->ptr++ = ((unsigned char)'\0'))); /* terminate previous */
4891 UNSUPPORTED("czp2gx1ewvuil58eqg7muqbp3"); // parse[fun++] = ((char*)((&ps_xb)->ptr));
4892 UNSUPPORTED("6t98dcecgbvbvtpycwiq2ynnj"); // }
4893 UNSUPPORTED("ex1k1y0wj1bw5fju2ynw8wztq"); // agxbput(&ps_xb, (((((&xb)->ptr >= (&xb)->eptr) ? agxbmore(&xb,1) : 0), (int)(*(&xb)->ptr++ = ((unsigned char)'\0'))),(char*)((&xb)->ptr = (&xb)->buf)));
4894 UNSUPPORTED("8rvrgugqqjus18zwf0flkmyg5"); // ((((&ps_xb)->ptr >= (&ps_xb)->eptr) ? agxbmore(&ps_xb,1) : 0), (int)(*(&ps_xb)->ptr++ = ((unsigned char)'\0')));
4895 UNSUPPORTED("flupwh3kosf3fkhkxllllt1"); // }
4896 UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); // }
4897 UNSUPPORTED("eh4399dy51qz9v5k46j7u7f0b"); // if (in_parens) {
4898 UNSUPPORTED("a9afc2y8uauucn25hpjrq0oxx"); // agerr(AGERR, "unmatched '(' in style: %s\n", s);
4899 UNSUPPORTED("dtv4q4ijbxgbp2d77nklhf35w"); // parse[0] = (char *) 0;
4900 UNSUPPORTED("52frst03mcbsuu6bmnqs962qm"); // agxbfree(&xb);
4901 UNSUPPORTED("415n1ugoxgttbkl3ewfv6oqts"); // return parse;
4902 UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); // }
4903 UNSUPPORTED("ajac1de3cpgvymee2hqm7cqi2"); // parse[fun] = (char *) 0;
4904 UNSUPPORTED("1at5m9ctjn3ukv5gqtfswik02"); // agxbfree(&xb);
4905 UNSUPPORTED("9tjoh4elqwg3obcqij1u484gf"); // (void)(((((&ps_xb)->ptr >= (&ps_xb)->eptr) ? agxbmore(&ps_xb,1) : 0), (int)(*(&ps_xb)->ptr++ = ((unsigned char)'\0'))),(char*)((&ps_xb)->ptr = (&ps_xb)->buf)); /* adds final '\0' to buffer */
4906 UNSUPPORTED("be22l01ejxdw3x933qiz2eaon"); // return parse;
4907 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
4908
4909 throw new UnsupportedOperationException();
4910 }
4911
4912
4913
4914
4915 //3 ck3omsgy3q0zlazix8r2dmufz
4916 // static boxf bezier_bb(bezier bz)
4917 public static Object bezier_bb(Object... arg) {
4918 UNSUPPORTED("4x8to7ipsnszk7hvp8b6us95m"); // static boxf bezier_bb(bezier bz)
4919 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
4920 UNSUPPORTED("b17di9c7wgtqm51bvsyxz6e2f"); // int i;
4921 UNSUPPORTED("b4p0empvxghe2amctuezw2fj3"); // pointf p, p1, p2;
4922 UNSUPPORTED("2lzsl1e035wt5epd1h8f4bn8m"); // boxf bb;
4923 UNSUPPORTED("du76etbklizf0ujj6epooc4u3"); // assert(bz.size > 0);
4924 UNSUPPORTED("ch7u0adkg05jhr4w0rc7h1fhk"); // assert(bz.size % 3 == 1);
4925 UNSUPPORTED("1ecqftepbszmmeix7g8yerzho"); // bb.LL = bb.UR = bz.list[0];
4926 UNSUPPORTED("67q9vbylk5li7nl6u0g87ew09"); // for (i = 1; i < bz.size;) {
4927 UNSUPPORTED("6lezptnqjziit71m8utngn9ec"); // /* take mid-point between two control points for bb calculation */
4928 UNSUPPORTED("bcrmrqurd18pu7bb549lkj2zm"); // p1=bz.list[i];
4929 UNSUPPORTED("chd2f5z6rt19lbaye25ej7q6j"); // i++;
4930 UNSUPPORTED("f1w8uf97bnvwem92r7cka4vh2"); // p2=bz.list[i];
4931 UNSUPPORTED("chd2f5z6rt19lbaye25ej7q6j"); // i++;
4932 UNSUPPORTED("djwxlpeud1dn44xcrj6ndqzur"); // p.x = ( p1.x + p2.x ) / 2;
4933 UNSUPPORTED("626yu2abpm7sgxs2a6ojagloa"); // p.y = ( p1.y + p2.y ) / 2;
4934 UNSUPPORTED("a7j5rlajnoe7gj2d4vp29dlq3"); // EXPANDBP(bb,p);
4935 UNSUPPORTED("bg1txe7hn8ps3rf82tirvfik0"); // p=bz.list[i];
4936 UNSUPPORTED("a7j5rlajnoe7gj2d4vp29dlq3"); // EXPANDBP(bb,p);
4937 UNSUPPORTED("chd2f5z6rt19lbaye25ej7q6j"); // i++;
4938 UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); // }
4939 UNSUPPORTED("5v5hh30squmit8o2i5hs25eig"); // return bb;
4940 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
4941
4942 throw new UnsupportedOperationException();
4943 }
4944
4945
4946
4947
4948 //3 mmp96ytye8ub6txmw93m4vel
4949 // static void init_splines_bb(splines *spl)
4950 public static Object init_splines_bb(Object... arg) {
4951 UNSUPPORTED("c3y3jo1ro3rw4jxe8wllr42wd"); // static void init_splines_bb(splines *spl)
4952 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
4953 UNSUPPORTED("b17di9c7wgtqm51bvsyxz6e2f"); // int i;
4954 UNSUPPORTED("37thdceezsvepe7tlyfatrbcw"); // bezier bz;
4955 UNSUPPORTED("dljqqka7giae8b01dcwrse8yc"); // boxf bb, b;
4956 UNSUPPORTED("e0qqavuetiwg28hno3n4emxw0"); // assert(spl->size > 0);
4957 UNSUPPORTED("2hacb9fdt2n4mkiveluxkiu2e"); // bz = spl->list[0];
4958 UNSUPPORTED("3dpg7yydfzt8n9mt7n873m4bx"); // bb = bezier_bb(bz);
4959 UNSUPPORTED("4z4l1zu33m72iirxmuhdg36iw"); // for (i = 0; i < spl->size; i++) {
4960 UNSUPPORTED("1e2qc8e42f9ohrllk7q5kbqh9"); // if (i > 0) {
4961 UNSUPPORTED("75bvkqcdmtm8cgnu9vvehmsjq"); // bz = spl->list[i];
4962 UNSUPPORTED("7r4akm44y65pzpvui9670oihh"); // b = bezier_bb(bz);
4963 UNSUPPORTED("3vlk6ne4cz4fhhm5a6o0buaiy"); // EXPANDBB(bb, b);
4964 UNSUPPORTED("4mhlpjofolwivhm0tl8cxznly"); // }
4965 UNSUPPORTED("5uvyqkv0zlq1pvknbc0xbocwu"); // if (bz.sflag) {
4966 UNSUPPORTED("8ee2v0q9etbnezmd0792omuyg"); // b = arrow_bb(bz.sp, bz.list[0], 1, bz.sflag);
4967 UNSUPPORTED("3vlk6ne4cz4fhhm5a6o0buaiy"); // EXPANDBB(bb, b);
4968 UNSUPPORTED("4mhlpjofolwivhm0tl8cxznly"); // }
4969 UNSUPPORTED("d2m398qqli1zbrdk57sgrhwjf"); // if (bz.eflag) {
4970 UNSUPPORTED("w3y4iuwxuffqu27zjsr7v6zs"); // b = arrow_bb(bz.ep, bz.list[bz.size - 1], 1, bz.eflag);
4971 UNSUPPORTED("3vlk6ne4cz4fhhm5a6o0buaiy"); // EXPANDBB(bb, b);
4972 UNSUPPORTED("4mhlpjofolwivhm0tl8cxznly"); // }
4973 UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); // }
4974 UNSUPPORTED("2mlym7h1a7wx8a5v8uwfgt2ve"); // spl->bb = bb;
4975 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
4976
4977 throw new UnsupportedOperationException();
4978 }
4979
4980
4981
4982
4983 //3 56w9yqsde88lk1salsdo9zhek
4984 // static void init_bb_edge(edge_t *e)
4985 public static Object init_bb_edge(Object... arg) {
4986 UNSUPPORTED("czoe4mrvfnlkgkf9dd5gswdun"); // static void init_bb_edge(edge_t *e)
4987 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
4988 UNSUPPORTED("6tl9mepc2bett364jduh2q4mf"); // splines *spl;
4989 UNSUPPORTED("2c3cg84bl0xam4mk6g5f31jj0"); // spl = ED_spl(e);
4990 UNSUPPORTED("cnmg8m65mfhsyyzyck7jhyf0v"); // if (spl)
4991 UNSUPPORTED("5vuo8sxknwrhunmoccygtuuvr"); // init_splines_bb(spl);
4992 UNSUPPORTED("2o9ao5unxwbngk1qd0p8whpeg"); // // lp = ED_label(e);
4993 UNSUPPORTED("9g4o5rsb2iu810alwb470phyr"); // // if (lp)
4994 UNSUPPORTED("3h79hsuz9ndp04mum4ile2v9k"); // // {}
4995 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
4996
4997 throw new UnsupportedOperationException();
4998 }
4999
5000
5001
5002
5003 //3 ciznhkb6ca1q6pevo943ekme0
5004 // static void init_bb_node(graph_t *g, node_t *n)
5005 public static Object init_bb_node(Object... arg) {
5006 UNSUPPORTED("9eic9chg3e24i3qt1eqh1kglr"); // static void init_bb_node(graph_t *g, node_t *n)
5007 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
5008 UNSUPPORTED("5gypxs09iuryx5a2eho9lgdcp"); // edge_t *e;
5009 UNSUPPORTED("a20p0a7nmewnhy041mtj2osk3"); // ND_bb(n).LL.x = ND_coord(n).x - ND_lw(n);
5010 UNSUPPORTED("c2n18y1ykeeclakw3paasxuvw"); // ND_bb(n).LL.y = ND_coord(n).y - ND_ht(n) / 2.;
5011 UNSUPPORTED("cd1j2q3oehrg8vdh5mc2y15n3"); // ND_bb(n).UR.x = ND_coord(n).x + ND_rw(n);
5012 UNSUPPORTED("dtlwzpd98hya2ssejmz7kfy75"); // ND_bb(n).UR.y = ND_coord(n).y + ND_ht(n) / 2.;
5013 UNSUPPORTED("azojsmj2w5kkwset562797bbz"); // for (e = agfstout(g, n); e; e = agnxtout(g, e))
5014 UNSUPPORTED("7ubpqzgmjcyyknlapquyjzh46"); // init_bb_edge(e);
5015 UNSUPPORTED("a9q4nnyheflcgogy9pvb7zhe9"); // /* IDEA - could also save in the node the bb of the node and
5016 UNSUPPORTED("ap39xkzymz5jtyyjrlh4oh7jz"); // all of its outedges, then the scan time would be proportional
5017 UNSUPPORTED("p6lfyicqm841ng07jzfz6erf"); // to just the number of nodes for many graphs.
5018 UNSUPPORTED("7is89igk57j6xxcbdvbmswq98"); // Wouldn't work so well if the edges are sprawling all over the place
5019 UNSUPPORTED("2x1b3m9zalxzp45ojidztaq43"); // because then the boxes would overlap a lot and require more tests,
5020 UNSUPPORTED("18qw5xpzps91vgn0jsv7bjzi0"); // but perhaps that wouldn't add much to the cost before trying individual
5021 UNSUPPORTED("43p4cwx9g5a9grh509zne19l"); // nodes and edges. */
5022 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
5023
5024 throw new UnsupportedOperationException();
5025 }
5026
5027
5028
5029
5030 //3 rpxf4np5e0zbdxhp8wqxwjru
5031 // static void init_bb(graph_t *g)
5032 public static Object init_bb(Object... arg) {
5033 UNSUPPORTED("4c9b9a1jd95zvo8rew7l4rdw2"); // static void init_bb(graph_t *g)
5034 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
5035 UNSUPPORTED("cjx5v6hayed3q8eeub1cggqca"); // node_t *n;
5036 UNSUPPORTED("16hw9gw0dz2w7mrtba0eoqrdi"); // for (n = agfstnode(g); n; n = agnxtnode(g, n))
5037 UNSUPPORTED("85uc0svzwbkhdrn713tjitqh5"); // init_bb_node(g, n);
5038 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
5039
5040 throw new UnsupportedOperationException();
5041 }
5042
5043
5044 //1 5cwzfc0p4amr0ryx8p6dllo42
5045 // extern gvevent_key_binding_t gvevent_key_binding[]
5046
5047
5048 //1 d1twtwndjbh6p8fkxukwz6gh8
5049 // extern int gvevent_key_binding_size
5050
5051
5052 //1 7w0woib3eaxzhaeksz12t3814
5053 // extern gvdevice_callbacks_t gvdevice_callbacks
5054
5055
5056
5057
5058 //3 31vgctm6ydke1b6e0s06x85og
5059 // void gv_fixLocale (int set)
5060 public static void gv_fixLocale(int set) {
5061 ENTERING("31vgctm6ydke1b6e0s06x85og","gv_fixLocale");
5062 try {
5063 // System.out.println("SKIPPING gv_fixLocale");
5064 } finally {
5065 LEAVING("31vgctm6ydke1b6e0s06x85og","gv_fixLocale");
5066 }
5067 }
5068
5069
5070
5071
5072 //3 9elgfx2mwaal8mp8yu4i8x55g
5073 // int gvRenderJobs (GVC_t * gvc, graph_t * g)
5074 public static Object gvRenderJobs(Object... arg) {
5075 UNSUPPORTED("al6r85bl2757m64h0be99kb2v"); // int gvRenderJobs (GVC_t * gvc, graph_t * g)
5076 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
5077 UNSUPPORTED("8hzx29jh0v2eh3jdrvrguy5mn"); // static GVJ_t *prevjob;
5078 UNSUPPORTED("88ctjz58veqptrabz1ddnfvaf"); // GVJ_t *job, *firstjob;
5079 UNSUPPORTED("2di5wqm6caczzl6bvqe35ry8y"); // if (Verbose)
5080 UNSUPPORTED("aaarjibm8djv3koq2y6u4m044"); // start_timer();
5081 UNSUPPORTED("c2dyme9nsswgb9qb96oh2m08s"); // if (!(agbindrec(g, "Agraphinfo_t", 0, NOT(0)) && GD_drawing(g))) {
5082 UNSUPPORTED("aix30bpzzydybozpwmqe2bf25"); // agerr (AGERR, "Layout was not done. Missing layout plugins? \n");
5083 UNSUPPORTED("881fnyqz9k0o6nu5p5pf6n7ka"); // if (Verbose) fprintf(stderr,"gvRenderJobs %s: %.2f secs.\n", agnameof(g), elapsed_sec());
5084 UNSUPPORTED("f3a98gxettwtewduvje9y3524"); // return -1;
5085 UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); // }
5086 UNSUPPORTED("8tzaifmwoislyhju3smc3zukv"); // init_bb(g);
5087 UNSUPPORTED("83mub13eiupttlu3d4j5lvj5p"); // init_gvc(gvc, g);
5088 UNSUPPORTED("1qo78wc1zt5cptfpywfwemtjj"); // init_layering(gvc, g);
5089 UNSUPPORTED("98b2uqnwq3rgamma244bsbrt1"); // gv_fixLocale (1);
5090 UNSUPPORTED("52t975anlz3qwnjcfxc5ok1at"); // for (job = gvjobs_first(gvc); job; job = gvjobs_next(gvc)) {
5091 UNSUPPORTED("6hzx763hhvpbtsvjf8aud3axf"); // if (gvc->gvg) {
5092 UNSUPPORTED("ckzfglt7a4q9ca1ek9xm04vf5"); // job->input_filename = gvc->gvg->input_filename;
5093 UNSUPPORTED("5gsifqa9895ltjbs6fiwkoqup"); // job->graph_index = gvc->gvg->graph_index;
5094 UNSUPPORTED("flupwh3kosf3fkhkxllllt1"); // }
5095 UNSUPPORTED("8k75h069sv2k9b6tgz77dscwd"); // else {
5096 UNSUPPORTED("bv62u1zxiszyu0z7y97u4p0sq"); // job->input_filename = NULL;
5097 UNSUPPORTED("84w8f8lfynhieu4ce6k6q0f7o"); // job->graph_index = 0;
5098 UNSUPPORTED("flupwh3kosf3fkhkxllllt1"); // }
5099 UNSUPPORTED("752jskfqikhifji0h9luxjt5p"); // job->common = &(gvc->common);
5100 UNSUPPORTED("2k3vzw6p3k1ruqmf5ckjkq8ss"); // job->layout_type = gvc->layout.type;
5101 UNSUPPORTED("5j4wuo1sqs572ms6xud4w1vnj"); // job->keybindings = gvevent_key_binding;
5102 UNSUPPORTED("3ev58alw9vec8e3ekuvfalsiw"); // job->numkeys = gvevent_key_binding_size;
5103 UNSUPPORTED("5e56auki36a9c8a9jxaig2dtn"); // if (!GD_drawing(g)) {
5104 UNSUPPORTED("7p3ojgx61zomxbqv96sv65491"); // agerr (AGERR, "layout was not done\n");
5105 UNSUPPORTED("1li5h7sm29md39a6rbj983auz"); // gv_fixLocale (0);
5106 UNSUPPORTED("1i6w37q3xx7w76ft9lu49wl53"); // if (Verbose) fprintf(stderr,"gvRenderJobs %s: %.2f secs.\n", agnameof(g), elapsed_sec());
5107 UNSUPPORTED("aivfd7ajlfz8o8oi68d4u5s5z"); // return -1;
5108 UNSUPPORTED("flupwh3kosf3fkhkxllllt1"); // }
5109 UNSUPPORTED("xa3la9zayp2j503lislwf8bw"); // job->output_lang = gvrender_select(job, job->output_langname);
5110 UNSUPPORTED("8mhtshj21zmdehr49crz92ubk"); // if (job->output_lang == 999) {
5111 UNSUPPORTED("74iiov8kfwdwwftrvbuhx0uar"); // agerr (AGERR, "renderer for %s is unavailable\n", job->output_langname);
5112 UNSUPPORTED("1li5h7sm29md39a6rbj983auz"); // gv_fixLocale (0);
5113 UNSUPPORTED("1i6w37q3xx7w76ft9lu49wl53"); // if (Verbose) fprintf(stderr,"gvRenderJobs %s: %.2f secs.\n", agnameof(g), elapsed_sec());
5114 UNSUPPORTED("62ko03w39aomt1h9y758mag0k"); // return -1;
5115 UNSUPPORTED("4mhlpjofolwivhm0tl8cxznly"); // }
5116 UNSUPPORTED("ampzlf94vv6frsr0uc6d017f6"); // switch (job->output_lang) {
5117 UNSUPPORTED("14mysa63mq9rkffdt98zlyxsl"); // case 21:
5118 UNSUPPORTED("apkae0nhyzfihcum8kdea13xc"); // /* output sorted, i.e. all nodes then all edges */
5119 UNSUPPORTED("ci29ynt7cueaf8jqpqstm7gm7"); // job->flags |= (1<<0);
5120 UNSUPPORTED("dtx9szdvwh3uhziubh9zvgbk5"); // break;
5121 UNSUPPORTED("ph1r5pdbnaj90pytg37mdsoy"); // case 24:
5122 UNSUPPORTED("70rmrtuyb914znb7mrak6xhuk"); // /* output in preorder traversal of the graph */
5123 UNSUPPORTED("cc3065soln8us3k43ovq935gw"); // job->flags |= (1<<3)
5124 UNSUPPORTED("c5oeo2n9siifh7xp8im8oy9i6"); // | (1<<9);
5125 UNSUPPORTED("dtx9szdvwh3uhziubh9zvgbk5"); // break;
5126 UNSUPPORTED("p0mt8wznalavjdm44ot4ykl7"); // default:
5127 UNSUPPORTED("d8cu5xolc31bwzqz3dmt12i74"); // job->flags |= chkOrder(g);
5128 UNSUPPORTED("dtx9szdvwh3uhziubh9zvgbk5"); // break;
5129 UNSUPPORTED("4mhlpjofolwivhm0tl8cxznly"); // }
5130 UNSUPPORTED("3yuatt6c28xj5dvgsxflopn9c"); // /* if we already have an active job list and the device doesn't support mutiple output files, or we are about to write to a different output device */
5131 UNSUPPORTED("b6or2ku9xlp5adhzyfj6ggg74"); // firstjob = gvc->active_jobs;
5132 UNSUPPORTED("kkqmd3s54yqyxuy9ujfd6bp8"); // if (firstjob) {
5133 UNSUPPORTED("bkayjk7mhfk0z1prvegopn9f2"); // if (! (firstjob->flags & (1<<5))
5134 UNSUPPORTED("7rq6o3m7v5g2jxfc61r9529oz"); // || (strcmp(job->output_langname,firstjob->output_langname))) {
5135 UNSUPPORTED("9ciig60i0ebtgpx2rjem515x2"); // gvrender_end_job(firstjob);
5136 UNSUPPORTED("6qee6pctu0pao210s569zuhhx"); // gvc->active_jobs = NULL; /* clear active list */
5137 UNSUPPORTED("6rrb76y5gxl4tyyy39ju8vsqh"); // gvc->common.viewNum = 0;
5138 UNSUPPORTED("237aavazed82p3dahdkyqne7v"); // prevjob = NULL;
5139 UNSUPPORTED("7g94ubxa48a1yi3mf9v521b7c"); // }
5140 UNSUPPORTED("4mhlpjofolwivhm0tl8cxznly"); // }
5141 UNSUPPORTED("3jir07ymknf0hmb9pv9x4dr3o"); // else {
5142 UNSUPPORTED("21ah75bxrqgvsk8az3ejvz9xm"); // prevjob = NULL;
5143 UNSUPPORTED("4mhlpjofolwivhm0tl8cxznly"); // }
5144 UNSUPPORTED("eq1quwlwab222bf12rqzylabz"); // if (prevjob) {
5145 UNSUPPORTED("7lbeby5mwfpebpi6oat7oziry"); // prevjob->next_active = job; /* insert job in active list */
5146 UNSUPPORTED("92fdsdu2rxr0mo9vqr7xw6ivn"); // job->output_file = prevjob->output_file; /* FIXME - this is dumb ! */
5147 UNSUPPORTED("flupwh3kosf3fkhkxllllt1"); // }
5148 UNSUPPORTED("8k75h069sv2k9b6tgz77dscwd"); // else {
5149 UNSUPPORTED("a3ph0rnir8dxbkuydjfk32hyf"); // if (gvrender_begin_job(job))
5150 UNSUPPORTED("6hyelvzskqfqa07xtgjtvg2is"); // continue;
5151 UNSUPPORTED("dhzmccdky20j8px8fj86coz1s"); // gvc->active_jobs = job; /* first job of new list */
5152 UNSUPPORTED("flupwh3kosf3fkhkxllllt1"); // }
5153 UNSUPPORTED("ec054g5x4n09tjvekoarr5lj2"); // job->next_active = NULL; /* terminate active list */
5154 UNSUPPORTED("a3g0lqkbu5x3tp31mzdb9z1a1"); // job->callbacks = &gvdevice_callbacks;
5155 UNSUPPORTED("91r9tszzf49cistgb3dx6c5cv"); // init_job_pad(job);
5156 UNSUPPORTED("1b3piu56i8aqmewokmp76n4ov"); // init_job_margin(job);
5157 UNSUPPORTED("c30lbf0gqt0nfgjngfkbrkh1u"); // init_job_dpi(job, g);
5158 UNSUPPORTED("6719w8ckdbr5o57x6eoomwwqf"); // init_job_viewport(job, g);
5159 UNSUPPORTED("12oknjh0if0kwauc10p58ooj6"); // init_job_pagination(job, g);
5160 UNSUPPORTED("dhiros11nue53w4sfjg764f66"); // if (! (job->flags & (1<<7))) {
5161 UNSUPPORTED("au82zdbwbf11c4dhp3j9goiuj"); // emit_graph(job, g);
5162 UNSUPPORTED("flupwh3kosf3fkhkxllllt1"); // }
5163 UNSUPPORTED("7wrg45h3f9gl77k72io059dov"); // /* the last job, after all input graphs are processed,
5164 UNSUPPORTED("b2u8zjdvgah99yawh4ppdgfxk"); // * is finalized from gvFinalize()
5165 UNSUPPORTED("3vesx4cskuo1q42jvwmoum2xs"); // */
5166 UNSUPPORTED("9g4mahhmb798zgagmhs69g7o5"); // prevjob = job;
5167 UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); // }
5168 UNSUPPORTED("bkwnwkliqxeb0zv9leq3mcdrx"); // gv_fixLocale (0);
5169 UNSUPPORTED("et6g7m7r8rj6f8qhvpz93lqxs"); // if (Verbose) fprintf(stderr,"gvRenderJobs %s: %.2f secs.\n", agnameof(g), elapsed_sec());
5170 UNSUPPORTED("5oxhd3fvp0gfmrmz12vndnjt"); // return 0;
5171 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
5172
5173 throw new UnsupportedOperationException();
5174 }
5175
5176
5177
5178
5179 //3 a3vxhyyu69l0qyuv5lmbs3mhh
5180 // boolean findStopColor (char* colorlist, char* clrs[2], float* frac)
5181 public static Object findStopColor(Object... arg) {
5182 UNSUPPORTED("4an2je0tp9mryy4qaly9pg51w"); // boolean findStopColor (char* colorlist, char* clrs[2], float* frac)
5183 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
5184 UNSUPPORTED("8z3a2qjysx0m326m5qjy91tnu"); // colorsegs_t* segs;
5185 UNSUPPORTED("ecz4e03zumggc8tfymqvirexq"); // int rv;
5186 UNSUPPORTED("5h68n5d5dxbzm77fsc9jacogv"); // rv = parseSegs (colorlist, 0, &segs);
5187 UNSUPPORTED("dtjj3ng1i6w3ypa53dix5k2bp"); // if (rv || (segs->numc < 2) || (segs->segs[0].color == NULL)) {
5188 UNSUPPORTED("1xf5m2okbj7owt77vc19vmf8r"); // clrs[0] = NULL;
5189 UNSUPPORTED("c9ckhc8veujmwcw0ar3u3zld4"); // return 0;
5190 UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); // }
5191 UNSUPPORTED("2y5g21fon514qpa8eaqvqil0b"); // if (segs->numc > 2)
5192 UNSUPPORTED("8r2xfo7zhrx0y02i0g0nmmb8v"); // agerr (AGWARN, "More than 2 colors specified for a gradient - ignoring remaining\n");
5193 UNSUPPORTED("9qa66u5mlsn5qyltb3mz8tv6x"); // clrs[0] = (char*)gmalloc((strlen(colorlist)+1)*sizeof(char));
5194 UNSUPPORTED("6wkfmz13gix78yhxfl4wu387t"); // strcpy (clrs[0], segs->segs[0].color);
5195 UNSUPPORTED("346qdfuvl40mzq9b0c1jmxrph"); // if (segs->segs[1].color) {
5196 UNSUPPORTED("17tzhs6hjalzhgf9x6bjt9a21"); // clrs[1] = clrs[0] + (strlen(clrs[0])+1);
5197 UNSUPPORTED("78iakjpvgfjfvohpfjme8wm3p"); // strcpy (clrs[1], segs->segs[1].color);
5198 UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); // }
5199 UNSUPPORTED("div10atae09n36x269sl208r1"); // else
5200 UNSUPPORTED("8adbeboqco76ee1xfw2yotsrc"); // clrs[1] = NULL;
5201 UNSUPPORTED("6srhlc05d53hy25ewfxz9k5zg"); // if (segs->segs[0].hasFraction)
5202 UNSUPPORTED("6b4phzvf6fhvg9dib574qa5zl"); // *frac = segs->segs[0].t;
5203 UNSUPPORTED("95s3rw3vuxb43fouesg4994w9"); // else if (segs->segs[1].hasFraction)
5204 UNSUPPORTED("9vkv3aohcusc7x3qflm8ode9m"); // *frac = 1 - segs->segs[1].t;
5205 UNSUPPORTED("4lti1w2qslxj3ihoatmbavsfr"); // else
5206 UNSUPPORTED("dgf6ly3jfdezgto7fetu7v2nj"); // *frac = 0;
5207 UNSUPPORTED("dwbftn5fib1yir7gshhy14cup"); // freeSegs (segs);
5208 UNSUPPORTED("8fwlqtemsmckleh6946lyd8mw"); // return NOT(0);
5209 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
5210
5211 throw new UnsupportedOperationException();
5212 }
5213
5214
5215 }