Debian Codegraph @

src/gen/lib/common/textspan__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 smetana.core.JUtilsDebug.ENTERING;
48 import static smetana.core.JUtilsDebug.LEAVING;
49 import static smetana.core.Macro.UNSUPPORTED;
50 import h.ST_GVC_s;
51 import h.ST_dt_s;
52 import h.ST_pointf;
53 import h.ST_textspan_t;
54
55 public class textspan__c {
56 //1 9k44uhd5foylaeoekf3llonjq
57 // extern Dtmethod_t* Dtset
58
59
60 //1 1ahfywsmzcpcig2oxm7pt9ihj
61 // extern Dtmethod_t* Dtbag
62
63
64 //1 anhghfj3k7dmkudy2n7rvt31v
65 // extern Dtmethod_t* Dtoset
66
67
68 //1 5l6oj1ux946zjwvir94ykejbc
69 // extern Dtmethod_t* Dtobag
70
71
72 //1 2wtf222ak6cui8cfjnw6w377z
73 // extern Dtmethod_t* Dtlist
74
75
76 //1 d1s1s6ibtcsmst88e3057u9r7
77 // extern Dtmethod_t* Dtstack
78
79
80 //1 axa7mflo824p6fspjn1rdk0mt
81 // extern Dtmethod_t* Dtqueue
82
83
84 //1 ega812utobm4xx9oa9w9ayij6
85 // extern Dtmethod_t* Dtdeque
86
87
88 //1 cyfr996ur43045jv1tjbelzmj
89 // extern Dtmethod_t* Dtorder
90
91
92 //1 wlofoiftbjgrrabzb2brkycg
93 // extern Dtmethod_t* Dttree
94
95
96 //1 12bds94t7voj7ulwpcvgf6agr
97 // extern Dtmethod_t* Dthash
98
99
100 //1 9lqknzty480cy7zsubmabkk8h
101 // extern Dtmethod_t _Dttree
102
103
104 //1 bvn6zkbcp8vjdhkccqo1xrkrb
105 // extern Dtmethod_t _Dthash
106
107
108 //1 9lidhtd6nsmmv3e7vjv9e10gw
109 // extern Dtmethod_t _Dtlist
110
111
112 //1 34ujfamjxo7xn89u90oh2k6f8
113 // extern Dtmethod_t _Dtqueue
114
115
116 //1 3jy4aceckzkdv950h89p4wjc8
117 // extern Dtmethod_t _Dtstack
118
119
120 //1 2digov3edok6d5srhgtlmrycs
121 // extern lt_symlist_t lt_preloaded_symbols[]
122
123
124 //1 baedz5i9est5csw3epz3cv7z
125 // typedef Ppoly_t Ppolyline_t
126
127
128 //1 8dfqgf3u1v830qzcjqh9o8ha7
129 // extern Agmemdisc_t AgMemDisc
130
131
132 //1 18k2oh2t6llfsdc5x0wlcnby8
133 // extern Agiddisc_t AgIdDisc
134
135
136 //1 a4r7hi80gdxtsv4hdoqpyiivn
137 // extern Agiodisc_t AgIoDisc
138
139
140 //1 bnzt5syjb7mgeru19114vd6xx
141 // extern Agdisc_t AgDefaultDisc
142
143
144 //1 35y2gbegsdjilegaribes00mg
145 // extern Agdesc_t Agdirected, Agstrictdirected, Agundirected, Agstrictundirected
146
147
148 //1 c2rygslq6bcuka3awmvy2b3ow
149 // typedef Agsubnode_t Agnoderef_t
150
151
152 //1 xam6yv0dcsx57dtg44igpbzn
153 // typedef Dtlink_t Agedgeref_t
154
155
156 //1 nye6dsi1twkbddwo9iffca1j
157 // extern char *Version
158
159
160 //1 65mu6k7h7lb7bx14jpiw7iyxr
161 // extern char **Files
162
163
164 //1 2rpjdzsdyrvomf00zcs3u3dyn
165 // extern const char **Lib
166
167
168 //1 6d2f111lntd2rsdt4gswh5909
169 // extern char *CmdName
170
171
172 //1 a0ltq04fpeg83soa05a2fkwb2
173 // extern char *specificFlags
174
175
176 //1 1uv30qeqq2jh6uznlr4dziv0y
177 // extern char *specificItems
178
179
180 //1 7i4hkvngxe3x7lmg5h6b3t9g3
181 // extern char *Gvfilepath
182
183
184 //1 9jp96pa73kseya3w6sulxzok6
185 // extern char *Gvimagepath
186
187
188 //1 40ylumfu7mrvawwf4v2asvtwk
189 // extern unsigned char Verbose
190
191
192 //1 93st8awjy1z0h07n28qycbaka
193 // extern unsigned char Reduce
194
195
196 //1 f2vs67ts992erf8onwfglurzp
197 // extern int MemTest
198
199
200 //1 c6f8whijgjwwagjigmxlwz3gb
201 // extern char *HTTPServerEnVar
202
203
204 //1 cp4hzj7p87m7arw776d3bt7aj
205 // extern char *Output_file_name
206
207
208 //1 a3rqagofsgraie6mx0krzkgsy
209 // extern int graphviz_errors
210
211
212 //1 5up05203r4kxvjn1m4njcgq5x
213 // extern int Nop
214
215
216 //1 umig46cco431x14b3kosde2t
217 // extern double PSinputscale
218
219
220 //1 52bj6v8fqz39khasobljfukk9
221 // extern int Syntax_errors
222
223
224 //1 9ekf2ina8fsjj6y6i0an6somj
225 // extern int Show_cnt
226
227
228 //1 38di5qi3nkxkq65onyvconk3r
229 // extern char** Show_boxes
230
231
232 //1 6ri6iu712m8mpc7t2670etpcw
233 // extern int CL_type
234
235
236 //1 bomxiw3gy0cgd1ydqtek7fpxr
237 // extern unsigned char Concentrate
238
239
240 //1 cqy3gqgcq8empdrbnrhn84058
241 // extern double Epsilon
242
243
244 //1 64slegfoouqeg0rmbyjrm8wgr
245 // extern int MaxIter
246
247
248 //1 88wdinpnmfs4mab4aw62yb0bg
249 // extern int Ndim
250
251
252 //1 8bbad3ogcelqnnvo5br5s05gq
253 // extern int State
254
255
256 //1 17rnd8q45zclfn68qqst2vxxn
257 // extern int EdgeLabelsDone
258
259
260 //1 ymx1z4s8cznjifl2d9f9m8jr
261 // extern double Initial_dist
262
263
264 //1 a33bgl0c3uqb3trx419qulj1x
265 // extern double Damping
266
267
268 //1 d9lvrpjg1r0ojv40pod1xwk8n
269 // extern int Y_invert
270
271
272 //1 71efkfs77q5tq9ex6y0f4kanh
273 // extern int GvExitOnUsage
274
275
276 //1 4xy2dkdkv0acs2ue9eca8hh2e
277 // 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
278
279
280 //1 9js5gxgzr74eakgtfhnbws3t9
281 // 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
282
283
284 //1 anqllp9sj7wo45w6bm11j8trn
285 // 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
286
287
288 //1 bh0z9puipqw7gymjd5h5b8s6i
289 // extern struct fdpParms_s* fdp_parms
290
291
292
293
294 //3 ciez0pfggxdljedzsbklq49f0
295 // static inline point pointof(int x, int y)
296 public static Object pointof(Object... arg) {
297 UNSUPPORTED("8e4tj258yvfq5uhsdpk37n5eq"); // static inline point pointof(int x, int y)
298 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
299 UNSUPPORTED("c0j3k9xv06332q98k2pgpacto"); // point r;
300 UNSUPPORTED("12jimkrzqxavaie0cpapbx18c"); // r.x = x;
301 UNSUPPORTED("7ivmviysahgsc5nn9gtp7q2if"); // r.y = y;
302 UNSUPPORTED("a2hk6w52njqjx48nq3nnn2e5i"); // return r;
303 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
304
305 throw new UnsupportedOperationException();
306 }
307
308
309
310
311 //3 c1s4k85p1cdfn176o3uryeros
312 // static inline pointf pointfof(double x, double y)
313 public static ST_pointf pointfof(double x, double y) {
314 // WARNING!! STRUCT
315 return pointfof_w_(x, y).copy();
316 }
317 private static ST_pointf pointfof_w_(double x, double y) {
318 ENTERING("c1s4k85p1cdfn176o3uryeros","pointfof");
319 try {
320 final ST_pointf r = new ST_pointf();
321 r.setDouble("x", x);
322 r.setDouble("y", y);
323 return r;
324 } finally {
325 LEAVING("c1s4k85p1cdfn176o3uryeros","pointfof");
326 }
327 }
328
329
330
331
332 //3 7cufnfitrh935ew093mw0i4b7
333 // static inline box boxof(int llx, int lly, int urx, int ury)
334 public static Object boxof(Object... arg) {
335 UNSUPPORTED("3lzesfdd337h31jrlib1czocm"); // static inline box boxof(int llx, int lly, int urx, int ury)
336 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
337 UNSUPPORTED("52u27kayecy1i1e8bbo8f7s9r"); // box b;
338 UNSUPPORTED("cylhjlutoc0sc0uy7g98m9fb8"); // b.LL.x = llx, b.LL.y = lly;
339 UNSUPPORTED("242of6revxzx8hpe7yerrchz6"); // b.UR.x = urx, b.UR.y = ury;
340 UNSUPPORTED("2vmm1j57brhn455f8f3iyw6mo"); // return b;
341 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
342
343 throw new UnsupportedOperationException();
344 }
345
346
347
348
349
350
351
352 //3 1n5xl70wxuabyf97mclvilsm6
353 // static inline point add_point(point p, point q)
354 public static Object add_point(Object... arg) {
355 UNSUPPORTED("6iamka1fx8fk1rohzzse8phte"); // static inline point add_point(point p, point q)
356 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
357 UNSUPPORTED("c0j3k9xv06332q98k2pgpacto"); // point r;
358 UNSUPPORTED("3n2sizjd0civbzm6iq7su1s2p"); // r.x = p.x + q.x;
359 UNSUPPORTED("65ygdo31w09i5i6bd2f7azcd3"); // r.y = p.y + q.y;
360 UNSUPPORTED("a2hk6w52njqjx48nq3nnn2e5i"); // return r;
361 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
362
363 throw new UnsupportedOperationException();
364 }
365
366
367
368
369 //3 arrsbik9b5tnfcbzsm8gr2chx
370 // static inline pointf add_pointf(pointf p, pointf q)
371 public static ST_pointf add_pointf(final ST_pointf p, final ST_pointf q) {
372 // WARNING!! STRUCT
373 return add_pointf_w_(p.copy(), q.copy()).copy();
374 }
375 private static ST_pointf add_pointf_w_(final ST_pointf p, final ST_pointf q) {
376 ENTERING("arrsbik9b5tnfcbzsm8gr2chx","add_pointf");
377 try {
378 final ST_pointf r = new ST_pointf();
379 r.setDouble("x", p.x + q.x);
380 r.setDouble("y", p.y + q.y);
381 return r;
382 } finally {
383 LEAVING("arrsbik9b5tnfcbzsm8gr2chx","add_pointf");
384 }
385 }
386
387
388
389
390 //3 ai2dprak5y6obdsflguh5qbd7
391 // static inline point sub_point(point p, point q)
392 public static Object sub_point(Object... arg) {
393 UNSUPPORTED("cd602849h0bce8lu9xegka0ia"); // static inline point sub_point(point p, point q)
394 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
395 UNSUPPORTED("c0j3k9xv06332q98k2pgpacto"); // point r;
396 UNSUPPORTED("4q4q9dveah93si8ajfv59gz27"); // r.x = p.x - q.x;
397 UNSUPPORTED("9f90ik0o2yqhanzntpy3d2ydy"); // r.y = p.y - q.y;
398 UNSUPPORTED("a2hk6w52njqjx48nq3nnn2e5i"); // return r;
399 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
400
401 throw new UnsupportedOperationException();
402 }
403
404
405
406
407 //3 16f6pyogcv3j7n2p0n8giqqgh
408 // static inline pointf sub_pointf(pointf p, pointf q)
409 public static Object sub_pointf(Object... arg) {
410 UNSUPPORTED("dmufj44lddsnj0wjyxsg2fcso"); // static inline pointf sub_pointf(pointf p, pointf q)
411 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
412 UNSUPPORTED("cvexv13y9fq49v0j4d5t4cm9f"); // pointf r;
413 UNSUPPORTED("4q4q9dveah93si8ajfv59gz27"); // r.x = p.x - q.x;
414 UNSUPPORTED("9f90ik0o2yqhanzntpy3d2ydy"); // r.y = p.y - q.y;
415 UNSUPPORTED("a2hk6w52njqjx48nq3nnn2e5i"); // return r;
416 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
417
418 throw new UnsupportedOperationException();
419 }
420
421
422
423
424 //3 9k50jgrhc4f9824vf8ony74rw
425 // static inline point mid_point(point p, point q)
426 public static Object mid_point(Object... arg) {
427 UNSUPPORTED("evy44tdsmu3erff9dp2x835u2"); // static inline point mid_point(point p, point q)
428 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
429 UNSUPPORTED("c0j3k9xv06332q98k2pgpacto"); // point r;
430 UNSUPPORTED("1a6p6fm57o0wt5ze2btsx06c7"); // r.x = (p.x + q.x) / 2;
431 UNSUPPORTED("1kbj5tgdmfi6kf4jgg6skhr6e"); // r.y = (p.y + q.y) / 2;
432 UNSUPPORTED("a2hk6w52njqjx48nq3nnn2e5i"); // return r;
433 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
434
435 throw new UnsupportedOperationException();
436 }
437
438
439
440
441 //3 59c4f7im0ftyowhnzzq2v9o1x
442 // static inline pointf mid_pointf(pointf p, pointf q)
443 public static Object mid_pointf(Object... arg) {
444 UNSUPPORTED("381o63o9kb04d7gzg65v0r3q"); // static inline pointf mid_pointf(pointf p, pointf q)
445 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
446 UNSUPPORTED("cvexv13y9fq49v0j4d5t4cm9f"); // pointf r;
447 UNSUPPORTED("c5vboetlr3mf43wns7iik6m1w"); // r.x = (p.x + q.x) / 2.;
448 UNSUPPORTED("bcdf562ldr3bjn78hcay5xd63"); // r.y = (p.y + q.y) / 2.;
449 UNSUPPORTED("a2hk6w52njqjx48nq3nnn2e5i"); // return r;
450 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
451
452 throw new UnsupportedOperationException();
453 }
454
455
456
457
458 //3 5r18p38gisvcx3zsvbb9saixx
459 // static inline pointf interpolate_pointf(double t, pointf p, pointf q)
460 public static Object interpolate_pointf(Object... arg) {
461 UNSUPPORTED("894yimn33kmtm454llwdaotu8"); // static inline pointf interpolate_pointf(double t, pointf p, pointf q)
462 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
463 UNSUPPORTED("ef2acl8wa2ooqcb5vz3098maz"); // pointf r;
464 UNSUPPORTED("5tpwuyf5iidesy80v8o4nwkmk"); // r.x = p.x + t * (q.x - p.x);
465 UNSUPPORTED("ewnrc5uloj3w5jbmsjcn3wja0"); // r.y = p.y + t * (q.y - p.y);
466 UNSUPPORTED("a2hk6w52njqjx48nq3nnn2e5i"); // return r;
467 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
468
469 throw new UnsupportedOperationException();
470 }
471
472
473
474
475 //3 bxzrv2ghq04qk5cbyy68s4mol
476 // static inline point exch_xy(point p)
477 public static Object exch_xy(Object... arg) {
478 UNSUPPORTED("2vxya0v2fzlv5e0vjaa8d414"); // static inline point exch_xy(point p)
479 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
480 UNSUPPORTED("c0j3k9xv06332q98k2pgpacto"); // point r;
481 UNSUPPORTED("60cojdwc2h7f0m51s9jdwvup7"); // r.x = p.y;
482 UNSUPPORTED("evp2x66oa4s1tlnc0ytxq2qbq"); // r.y = p.x;
483 UNSUPPORTED("a2hk6w52njqjx48nq3nnn2e5i"); // return r;
484 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
485
486 throw new UnsupportedOperationException();
487 }
488
489
490
491
492 //3 9lt3e03tac6h6sydljrcws8fd
493 // static inline pointf exch_xyf(pointf p)
494 public static Object exch_xyf(Object... arg) {
495 UNSUPPORTED("8qamrobrqi8jsvvfrxkimrsnw"); // static inline pointf exch_xyf(pointf p)
496 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
497 UNSUPPORTED("cvexv13y9fq49v0j4d5t4cm9f"); // pointf r;
498 UNSUPPORTED("60cojdwc2h7f0m51s9jdwvup7"); // r.x = p.y;
499 UNSUPPORTED("evp2x66oa4s1tlnc0ytxq2qbq"); // r.y = p.x;
500 UNSUPPORTED("a2hk6w52njqjx48nq3nnn2e5i"); // return r;
501 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
502
503 throw new UnsupportedOperationException();
504 }
505
506
507
508
509 //3 8l9qhieokthntzdorlu5zn29b
510 // static inline box box_bb(box b0, box b1)
511 public static Object box_bb(Object... arg) {
512 UNSUPPORTED("36et5gmnjrby6o7bq9sgh1hx6"); // static inline box box_bb(box b0, box b1)
513 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
514 UNSUPPORTED("52u27kayecy1i1e8bbo8f7s9r"); // box b;
515 UNSUPPORTED("8mr2c9xitsqi8z1plbp7ox1hu"); // b.LL.x = MIN(b0.LL.x, b1.LL.x);
516 UNSUPPORTED("2egu55ef4u1i03nwz01k7kcrl"); // b.LL.y = MIN(b0.LL.y, b1.LL.y);
517 UNSUPPORTED("9n6ei3odbgefwfxvql9whcpe"); // b.UR.x = MAX(b0.UR.x, b1.UR.x);
518 UNSUPPORTED("19ocysbuh4pxyft2bqhyhigr1"); // b.UR.y = MAX(b0.UR.y, b1.UR.y);
519 UNSUPPORTED("2vmm1j57brhn455f8f3iyw6mo"); // return b;
520 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
521
522 throw new UnsupportedOperationException();
523 }
524
525
526
527
528 //3 clws9h3bbjm0lw3hexf8nl4c4
529 // static inline boxf boxf_bb(boxf b0, boxf b1)
530 public static Object boxf_bb(Object... arg) {
531 UNSUPPORTED("dyrqu4ww9osr9c86gqgmifcp6"); // static inline boxf boxf_bb(boxf b0, boxf b1)
532 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
533 UNSUPPORTED("c57pq0f87j6dnbcvygu7v6k84"); // boxf b;
534 UNSUPPORTED("8mr2c9xitsqi8z1plbp7ox1hu"); // b.LL.x = MIN(b0.LL.x, b1.LL.x);
535 UNSUPPORTED("2egu55ef4u1i03nwz01k7kcrl"); // b.LL.y = MIN(b0.LL.y, b1.LL.y);
536 UNSUPPORTED("9n6ei3odbgefwfxvql9whcpe"); // b.UR.x = MAX(b0.UR.x, b1.UR.x);
537 UNSUPPORTED("19ocysbuh4pxyft2bqhyhigr1"); // b.UR.y = MAX(b0.UR.y, b1.UR.y);
538 UNSUPPORTED("2vmm1j57brhn455f8f3iyw6mo"); // return b;
539 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
540
541 throw new UnsupportedOperationException();
542 }
543
544
545
546
547 //3 bit6ycxo1iqd2al92y8gkzlvb
548 // static inline box box_intersect(box b0, box b1)
549 public static Object box_intersect(Object... arg) {
550 UNSUPPORTED("34gv28cldst09bl71itjgviue"); // static inline box box_intersect(box b0, box b1)
551 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
552 UNSUPPORTED("52u27kayecy1i1e8bbo8f7s9r"); // box b;
553 UNSUPPORTED("9slu7bixuymxttjic76ha2nl2"); // b.LL.x = MAX(b0.LL.x, b1.LL.x);
554 UNSUPPORTED("3uv943c2f82yuif249pf5azob"); // b.LL.y = MAX(b0.LL.y, b1.LL.y);
555 UNSUPPORTED("74tf5h16bc9zabq3s3dyny543"); // b.UR.x = MIN(b0.UR.x, b1.UR.x);
556 UNSUPPORTED("d99gcv3i7xes7y7rqf8ii20ux"); // b.UR.y = MIN(b0.UR.y, b1.UR.y);
557 UNSUPPORTED("2vmm1j57brhn455f8f3iyw6mo"); // return b;
558 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
559
560 throw new UnsupportedOperationException();
561 }
562
563
564
565
566 //3 8gfybie7k6pgb3o1a6llgpwng
567 // static inline boxf boxf_intersect(boxf b0, boxf b1)
568 public static Object boxf_intersect(Object... arg) {
569 UNSUPPORTED("ape22b8z6jfg17gvo42hok9eb"); // static inline boxf boxf_intersect(boxf b0, boxf b1)
570 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
571 UNSUPPORTED("c57pq0f87j6dnbcvygu7v6k84"); // boxf b;
572 UNSUPPORTED("9slu7bixuymxttjic76ha2nl2"); // b.LL.x = MAX(b0.LL.x, b1.LL.x);
573 UNSUPPORTED("3uv943c2f82yuif249pf5azob"); // b.LL.y = MAX(b0.LL.y, b1.LL.y);
574 UNSUPPORTED("74tf5h16bc9zabq3s3dyny543"); // b.UR.x = MIN(b0.UR.x, b1.UR.x);
575 UNSUPPORTED("d99gcv3i7xes7y7rqf8ii20ux"); // b.UR.y = MIN(b0.UR.y, b1.UR.y);
576 UNSUPPORTED("2vmm1j57brhn455f8f3iyw6mo"); // return b;
577 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
578
579 throw new UnsupportedOperationException();
580 }
581
582
583
584
585 //3 7z8j2quq65govaaejrz7b4cvb
586 // static inline int box_overlap(box b0, box b1)
587 public static Object box_overlap(Object... arg) {
588 UNSUPPORTED("1e9k599x7ygct7r4cfdxlk9u9"); // static inline int box_overlap(box b0, box b1)
589 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
590 UNSUPPORTED("7a9wwpu7dhdphd08y1ecw54w5"); // return OVERLAP(b0, b1);
591 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
592
593 throw new UnsupportedOperationException();
594 }
595
596
597
598
599 //3 4z0suuut2acsay5m8mg9dqjdu
600 // static inline int boxf_overlap(boxf b0, boxf b1)
601 public static Object boxf_overlap(Object... arg) {
602 UNSUPPORTED("905nejsewihwhhc3bhnrz9nwo"); // static inline int boxf_overlap(boxf b0, boxf b1)
603 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
604 UNSUPPORTED("7a9wwpu7dhdphd08y1ecw54w5"); // return OVERLAP(b0, b1);
605 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
606
607 throw new UnsupportedOperationException();
608 }
609
610
611
612
613 //3 dd34swz5rmdgu3a2np2a4h1dy
614 // static inline int box_contains(box b0, box b1)
615 public static Object box_contains(Object... arg) {
616 UNSUPPORTED("aputfc30fjkvy6jx4otljaczq"); // static inline int box_contains(box b0, box b1)
617 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
618 UNSUPPORTED("87ap80vrh2a4gpprbxr33lrg3"); // return CONTAINS(b0, b1);
619 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
620
621 throw new UnsupportedOperationException();
622 }
623
624
625
626
627 //3 8laj1bspbu2i1cjd9upr7xt32
628 // static inline int boxf_contains(boxf b0, boxf b1)
629 public static Object boxf_contains(Object... arg) {
630 UNSUPPORTED("7ccnttkiwt834yfyw0evcm18v"); // static inline int boxf_contains(boxf b0, boxf b1)
631 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
632 UNSUPPORTED("87ap80vrh2a4gpprbxr33lrg3"); // return CONTAINS(b0, b1);
633 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
634
635 throw new UnsupportedOperationException();
636 }
637
638
639
640
641 //3 4wf5swkz24xx51ja2dynbycu1
642 // static inline pointf perp (pointf p)
643 public static Object perp(Object... arg) {
644 UNSUPPORTED("567wpqlg9rv63ynyvxd9sgkww"); // static inline pointf perp (pointf p)
645 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
646 UNSUPPORTED("cvexv13y9fq49v0j4d5t4cm9f"); // pointf r;
647 UNSUPPORTED("2fyydy6t6yifjsczccsb9szeg"); // r.x = -p.y;
648 UNSUPPORTED("evp2x66oa4s1tlnc0ytxq2qbq"); // r.y = p.x;
649 UNSUPPORTED("a2hk6w52njqjx48nq3nnn2e5i"); // return r;
650 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
651
652 throw new UnsupportedOperationException();
653 }
654
655
656
657
658 //3 6dtlpzv4mvgzb9o0b252yweuv
659 // static inline pointf scale (double c, pointf p)
660 public static Object scale(Object... arg) {
661 UNSUPPORTED("c1ngytew34bmkdb7vps5h3dh8"); // static inline pointf scale (double c, pointf p)
662 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
663 UNSUPPORTED("cvexv13y9fq49v0j4d5t4cm9f"); // pointf r;
664 UNSUPPORTED("dznf7nac14snww4usquyd6r3r"); // r.x = c * p.x;
665 UNSUPPORTED("33kk73m8vjcux5tnjl8co2pe6"); // r.y = c * p.y;
666 UNSUPPORTED("a2hk6w52njqjx48nq3nnn2e5i"); // return r;
667 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
668
669 throw new UnsupportedOperationException();
670 }
671
672
673 //1 2ij5ud0czexs3gf9qyg15sna0
674 // static double timesFontWidth[] =
675
676
677 //1 15m2jpfaemvlv4wwvfprbkca8
678 // static double arialFontWidth[] =
679
680
681 //1 736czmqcnj402ij7367e13rvf
682 // static double courFontWidth[] =
683
684
685
686
687 //3 c5mvc1s1l5vtwvqfbwwlzvb2k
688 // static void estimate_textspan_size(textspan_t * span, char **fontpath)
689 public static Object estimate_textspan_size(Object... arg) {
690 UNSUPPORTED("e2z2o5ybnr5tgpkt8ty7hwan1"); // static void
691 UNSUPPORTED("bz0vk28zh43zq01osv1pdbnoy"); // estimate_textspan_size(textspan_t * span, char **fontpath)
692 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
693 UNSUPPORTED("7cumpe2owb4p5ob3vhxkxozet"); // double *Fontwidth, fontsize;
694 UNSUPPORTED("8ul52kili9s5z4d2tb4ciq5fk"); // char c, *p, *fpp, *fontname;
695 UNSUPPORTED("gqcoiz3smahq7t9pizb8mu5t"); // fontname = span->font->name;
696 UNSUPPORTED("b4qovx8fo3dz2wxi2ozi00xit"); // fontsize = span->font->size;
697 UNSUPPORTED("7p3v9x3k7k60kgeqnpqm28m2b"); // span->size.x = 0.0;
698 UNSUPPORTED("2hja2plvki9yret53v34jrzuj"); // span->size.y = fontsize * 1.20;
699 UNSUPPORTED("arxrgaeah7bs997uzskiskjn6"); // span->yoffset_layout = 0.0;
700 UNSUPPORTED("80sylfo5oj6eky7rnchp1awln"); // span->yoffset_centerline = 0.1 * fontsize;
701 UNSUPPORTED("122ykarwskperlr1m2dtyh1u6"); // span->layout = NULL;
702 UNSUPPORTED("ci5ep320bpuoad04lihnrl9ox"); // span->free_layout = NULL;
703 UNSUPPORTED("5z317de5yo4y89q75r03ybvs4"); // if (!strncasecmp(fontname, "cour", 4)) {
704 UNSUPPORTED("expuc9yp3ite065nx41vtxc5x"); // fpp = "[internal courier]";
705 UNSUPPORTED("9k4mto16lsbis6uh6n1ces64u"); // Fontwidth = courFontWidth;
706 UNSUPPORTED("x43p918buqje42n73zkmmq9"); // } else if (!strncasecmp(fontname, "arial", 5)
707 UNSUPPORTED("1w0wpefq5qvjrjlfgpyvtyu1l"); // || !strncasecmp(fontname, "helvetica", 9)) {
708 UNSUPPORTED("46zalgdqorux1vqsw35wr4hug"); // fpp = "[internal arial]";
709 UNSUPPORTED("aooxzb51suo58rg4jq0yc5efh"); // Fontwidth = arialFontWidth;
710 UNSUPPORTED("c07up7zvrnu2vhzy6d7zcu94g"); // } else {
711 UNSUPPORTED("8zxh2mw2ym93g3y0qbuo7b1y2"); // fpp = "[internal times]";
712 UNSUPPORTED("ba8qp8iosrsts5d8fe3y66vfw"); // Fontwidth = timesFontWidth;
713 UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); // }
714 UNSUPPORTED("3jp7t7s8b8ho6x5ooevmh14sp"); // if (fontpath)
715 UNSUPPORTED("5mfoy5aawcfowdrruy2p79fox"); // *fontpath = fpp;
716 UNSUPPORTED("bxiz3uoynwbtpj7sczmtlpvwg"); // if ((p = span->str)) {
717 UNSUPPORTED("1d0v6uokvdvo7u0r11gjfdywv"); // while ((c = *p++))
718 UNSUPPORTED("uulsqewu7tuyaoqlsqrgr6fm"); // span->size.x += Fontwidth[(unsigned char) c];
719 UNSUPPORTED("ef61tlvpfs09dipj6a0h1rugz"); // /* NOTE: Tables are based on a font of size 1. Need to multiply by
720 UNSUPPORTED("6iewui4j0nakf1x52fizqiwva"); // * fontsize to get appropriate value.
721 UNSUPPORTED("daz6lkpz1mird0mokqvqrv9k6"); // */
722 UNSUPPORTED("3ueud3s5zgvouyxe67po3p0ez"); // span->size.x *= fontsize;
723 UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); // }
724 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
725
726 throw new UnsupportedOperationException();
727 }
728
729
730 //1 8elzy4ma9zrkr1kb4qotvmuvb
731 // static PostscriptAlias postscript_alias[] =
732
733
734
735
736 //3 2skgvoud1m9bi0twctu87d9w0
737 // static int fontcmpf(const void *a, const void *b)
738 public static Object fontcmpf(Object... arg) {
739 UNSUPPORTED("cv6ykfir8zyyc5gmbvqflk8az"); // static int fontcmpf(const void *a, const void *b)
740 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
741 UNSUPPORTED("cwkq5qoprbtbe1sanjmd8nv1j"); // return (strcasecmp(((PostscriptAlias*)a)->name, ((PostscriptAlias*)b)->name));
742 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
743
744 throw new UnsupportedOperationException();
745 }
746
747
748
749
750 //3 ch4ydg69bw2im7u9vwmlyqqe6
751 // static PostscriptAlias* translate_postscript_fontname(char* fontname)
752 public static Object translate_postscript_fontname(Object... arg) {
753 UNSUPPORTED("5uomt2e0iurhuaodxzopllgt6"); // static PostscriptAlias* translate_postscript_fontname(char* fontname)
754 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
755 UNSUPPORTED("6jyis2315vduiewgrijlvpdss"); // static PostscriptAlias key;
756 UNSUPPORTED("dsul7ne0n8pgeab5uatmk276y"); // static PostscriptAlias *result;
757 UNSUPPORTED("co97723b0exu2cdgdnzi1ak77"); // if (key.name == NULL || strcasecmp(key.name, fontname)) {
758 UNSUPPORTED("8yilwlv819631lcw5tk9k8iqo"); // key.name = fontname;
759 UNSUPPORTED("buq60ozuorb1j4pw4g4xm8cdq"); // result = (PostscriptAlias *) bsearch((void *) &key,
760 UNSUPPORTED("5jh434yyxpdbk2sru0g10aqx7"); // (void *) postscript_alias,
761 UNSUPPORTED("axfmqs3j7zitn8bx04nej328x"); // sizeof(postscript_alias) / sizeof(PostscriptAlias),
762 UNSUPPORTED("d48qr8ttleon9i6zu2d6lvl27"); // sizeof(PostscriptAlias),
763 UNSUPPORTED("8gxrgdit9jlzc8otezqbsr19o"); // fontcmpf);
764 UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); // }
765 UNSUPPORTED("e73y2609z2557xahrcvzmcb8e"); // return result;
766 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
767
768 throw new UnsupportedOperationException();
769 }
770
771
772
773
774 //3 n8tcl06mifdn779rzenam44z
775 // pointf textspan_size(GVC_t *gvc, textspan_t * span)
776 public static ST_pointf textspan_size(ST_GVC_s gvc, ST_textspan_t span) {
777 // WARNING!! STRUCT
778 return textspan_size_w_(gvc, span).copy();
779 }
780 private static ST_pointf textspan_size_w_(ST_GVC_s gvc, ST_textspan_t span) {
781 ENTERING("n8tcl06mifdn779rzenam44z","textspan_size");
782 try {
783 System.err.println("Warning:textspan_size "+span);
784 span.size.setDouble("x", 30);
785 span.size.setDouble("y", 20);
786 return span.size.copy();
787 } finally {
788 LEAVING("n8tcl06mifdn779rzenam44z","textspan_size");
789 }
790 }
791
792
793
794
795 //3 3bbrz9gqi8j8b5c1fxsnv6txg
796 // static void* textfont_makef(Dt_t* dt, void* obj, Dtdisc_t* disc)
797 public static Object textfont_makef(Object... arg) {
798 UNSUPPORTED("ezwm25dnds89i6n9bz6jxfpyv"); // static void* textfont_makef(Dt_t* dt, void* obj, Dtdisc_t* disc)
799 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
800 UNSUPPORTED("51vxeragpkjf0vwb07i7dl9x"); // textfont_t *f1 = (textfont_t*)obj;
801 UNSUPPORTED("7j92va3n01tx9nm5lfz6stedq"); // textfont_t *f2 = calloc(1,sizeof(textfont_t));
802 UNSUPPORTED("5w5r0tig83q9yoy6zhz5o7agc"); // /* key */
803 UNSUPPORTED("23s5fksqi3wn73kpx2mipfx82"); // if (f1->name) f2->name = strdup(f1->name);
804 UNSUPPORTED("f2zpyj0gm6kd4y0chvzpe3di4"); // if (f1->color) f2->color = strdup(f1->color);
805 UNSUPPORTED("83wzklvzx2pc15wj16qppl4v2"); // f2->flags = f1->flags;
806 UNSUPPORTED("8u1zhn0nsxkxbr1tmt2w8hw1f"); // f2->size = f1->size;
807 UNSUPPORTED("62pprpgc67m2fs16j6p98kin6"); // /* non key */
808 UNSUPPORTED("cf410wlb1gvcoq8d3oiajaph3"); // f2->postscript_alias = f1->postscript_alias;
809 UNSUPPORTED("9y0cehsmm6fiuv0ibvh9e4gvz"); // return f2;
810 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
811
812 throw new UnsupportedOperationException();
813 }
814
815
816
817
818 //3 p4o48ztsya6bv2xz1m59jzrk
819 // static void textfont_freef(Dt_t* dt, void* obj, Dtdisc_t* disc)
820 public static Object textfont_freef(Object... arg) {
821 UNSUPPORTED("d6z1bfrko1uq2uadgutf42fpr"); // static void textfont_freef(Dt_t* dt, void* obj, Dtdisc_t* disc)
822 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
823 UNSUPPORTED("bx771pipb8kf13oa7ww02nex3"); // textfont_t *f = (textfont_t*)obj;
824 UNSUPPORTED("eymlly2a6yv51q1jufubndg9o"); // if (f->name) free(f->name);
825 UNSUPPORTED("1omkvtjx5x2ef8xensxdm6wt7"); // if (f->color) free(f->color);
826 UNSUPPORTED("a4v6veu7h0jl3a2wwlxwpdsuw"); // free(f);
827 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
828
829 throw new UnsupportedOperationException();
830 }
831
832
833
834
835 //3 3xya6188lnt9kg5uwchhya2wt
836 // static int textfont_comparf (Dt_t* dt, void* key1, void* key2, Dtdisc_t* disc)
837 public static Object textfont_comparf(Object... arg) {
838 UNSUPPORTED("9w5158s061nd0o3p6dbh4tnqz"); // static int textfont_comparf (Dt_t* dt, void* key1, void* key2, Dtdisc_t* disc)
839 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
840 UNSUPPORTED("1bh3yj957he6yv2dkeg4pzwdk"); // int rc;
841 UNSUPPORTED("222ejoojlkxc5ocmxue2bgxdy"); // textfont_t *f1 = (textfont_t*)key1, *f2 = (textfont_t*)key2;
842 UNSUPPORTED("87sttldb6hr2mn0ab405d03li"); // if (f1->name || f2->name) {
843 UNSUPPORTED("2bqh121m1japcj8bnsuy6sc8q"); // if (! f1->name) return -1;
844 UNSUPPORTED("86ytzx2x5nrcvurajdkbm95gk"); // if (! f2->name) return 1;
845 UNSUPPORTED("673e3f928tkakxhcajat2h6p0"); // rc = strcmp(f1->name, f2->name);
846 UNSUPPORTED("b9i8cahaxv9md4mvlw484iqeg"); // if (rc) return rc;
847 UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); // }
848 UNSUPPORTED("7vzuntdto9vcvitx5s7m6zma7"); // if (f1->color || f2->color) {
849 UNSUPPORTED("4tw0lvc7t2cc0000lrb9flurf"); // if (! f1->color) return -1;
850 UNSUPPORTED("7xj68kytc2wzv6iq8ddwkwqlk"); // if (! f2->color) return 1;
851 UNSUPPORTED("bcepjb2zqe0moqakgmofmbpq2"); // rc = strcmp(f1->color, f2->color);
852 UNSUPPORTED("b9i8cahaxv9md4mvlw484iqeg"); // if (rc) return rc;
853 UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); // }
854 UNSUPPORTED("9gf3266sjn2sm6m3mxf19197l"); // rc = (f1->flags - f2->flags);
855 UNSUPPORTED("9ngqgld29f5nt7h1ffl4s0em4"); // if (rc) return rc;
856 UNSUPPORTED("d3e2n6libjqhx2xs4516lxyrf"); // if (f1->size < f2->size) return -1;
857 UNSUPPORTED("1kww1mevjniiermvdkcyihkqp"); // if (f1->size > f2->size) return 1;
858 UNSUPPORTED("5oxhd3fvp0gfmrmz12vndnjt"); // return 0;
859 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
860
861 throw new UnsupportedOperationException();
862 }
863
864
865
866
867 //3 9mfrgcpzz2d9f7nxfgx4nxj2q
868 // Dt_t * textfont_dict_open(GVC_t *gvc)
869 public static ST_dt_s textfont_dict_open(ST_GVC_s gvc) {
870 ENTERING("9mfrgcpzz2d9f7nxfgx4nxj2q","textfont_dict_open");
871 try {
872 return null;
873 //UNSUPPORTED("nexd6tbei8przmonjwzag8uf"); // Dt_t * textfont_dict_open(GVC_t *gvc)
874 //UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
875 //UNSUPPORTED("cdeb412fjgrtibum4qt0yxhc7"); // ( (&(gvc->textfont_disc))->key = (0), (&(gvc->textfont_disc))->size = (sizeof(textfont_t)), (&(gvc->textfont_disc))->link = (-1), (&(gvc->textfont_disc))->makef = (textfont_makef), (&(gvc->textfont_disc))->freef = (textfont_freef), (&(gvc->textfont_disc))->comparf = (textfont_comparf), (&(gvc->textfont_disc))->hashf = (NULL), (&(gvc->textfont_disc))->memoryf = (NULL), (&(gvc->textfont_disc))->eventf = (NULL) );
876 //UNSUPPORTED("d1t3xr23spgfbbggquvg4nodm"); // gvc->textfont_dt = dtopen(&(gvc->textfont_disc), Dtoset);
877 //UNSUPPORTED("6ynzkfpi9sy9wbln45o4jajhp"); // return gvc->textfont_dt;
878 //UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
879 } finally {
880 LEAVING("9mfrgcpzz2d9f7nxfgx4nxj2q","textfont_dict_open");
881 }
882 }
883
884
885
886
887 //3 5o4jyd0j7s18vl7inlo4o0w99
888 // void textfont_dict_close(GVC_t *gvc)
889 public static Object textfont_dict_close(Object... arg) {
890 UNSUPPORTED("7uxwdoqc8jmcbexpk4lhvdgg"); // void textfont_dict_close(GVC_t *gvc)
891 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
892 UNSUPPORTED("dyrkxfb6i5v7i47xoxoe22ykv"); // dtclose(gvc->textfont_dt);
893 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
894
895 throw new UnsupportedOperationException();
896 }
897
898
899 }