| 1 | /* ======================================================================== |
| 2 | * PlantUML : a free UML diagram generator |
| 3 | * ======================================================================== |
| 4 | * |
| 5 | * Project Info: http://plantuml.com |
| 6 | * |
| 7 | * If you like this project or if you find it useful, you can support us at: |
| 8 | * |
| 9 | * http://plantuml.com/patreon (only 1$ per month!) |
| 10 | * http://plantuml.com/paypal |
| 11 | * |
| 12 | * This file is part of Smetana. |
| 13 | * Smetana is a partial translation of Graphviz/Dot sources from C to Java. |
| 14 | * |
| 15 | * (C) Copyright 2009-2020, Arnaud Roques |
| 16 | * |
| 17 | * This translation is distributed under the same Licence as the original C program: |
| 18 | * |
| 19 | ************************************************************************* |
| 20 | * Copyright (c) 2011 AT&T Intellectual Property |
| 21 | * All rights reserved. This program and the accompanying materials |
| 22 | * are made available under the terms of the Eclipse Public License v1.0 |
| 23 | * which accompanies this distribution, and is available at |
| 24 | * http://www.eclipse.org/legal/epl-v10.html |
| 25 | * |
| 26 | * Contributors: See CVS logs. Details at http://www.graphviz.org/ |
| 27 | ************************************************************************* |
| 28 | * |
| 29 | * THE ACCOMPANYING PROGRAM IS PROVIDED UNDER THE TERMS OF THIS ECLIPSE PUBLIC |
| 30 | * LICENSE ("AGREEMENT"). [Eclipse Public License - v 1.0] |
| 31 | * |
| 32 | * ANY USE, REPRODUCTION OR DISTRIBUTION OF THE PROGRAM CONSTITUTES |
| 33 | * RECIPIENT'S ACCEPTANCE OF THIS AGREEMENT. |
| 34 | * |
| 35 | * You may obtain a copy of the License at |
| 36 | * |
| 37 | * http://www.eclipse.org/legal/epl-v10.html |
| 38 | * |
| 39 | * Unless required by applicable law or agreed to in writing, software |
| 40 | * distributed under the License is distributed on an "AS IS" BASIS, |
| 41 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 42 | * See the License for the specific language governing permissions and |
| 43 | * limitations under the License. |
| 44 | * |
| 45 | */ |
| 46 | package gen.plugin.core; |
| 47 | import static smetana.core.Macro.UNSUPPORTED; |
| 48 | |
| 49 | public class gvloadimage_core__c { |
| 50 | //1 2digov3edok6d5srhgtlmrycs |
| 51 | // extern lt_symlist_t lt_preloaded_symbols[] |
| 52 | |
| 53 | |
| 54 | //1 baedz5i9est5csw3epz3cv7z |
| 55 | // typedef Ppoly_t Ppolyline_t |
| 56 | |
| 57 | |
| 58 | //1 9k44uhd5foylaeoekf3llonjq |
| 59 | // extern Dtmethod_t* Dtset |
| 60 | |
| 61 | |
| 62 | //1 1ahfywsmzcpcig2oxm7pt9ihj |
| 63 | // extern Dtmethod_t* Dtbag |
| 64 | |
| 65 | |
| 66 | //1 anhghfj3k7dmkudy2n7rvt31v |
| 67 | // extern Dtmethod_t* Dtoset |
| 68 | |
| 69 | |
| 70 | //1 5l6oj1ux946zjwvir94ykejbc |
| 71 | // extern Dtmethod_t* Dtobag |
| 72 | |
| 73 | |
| 74 | //1 2wtf222ak6cui8cfjnw6w377z |
| 75 | // extern Dtmethod_t* Dtlist |
| 76 | |
| 77 | |
| 78 | //1 d1s1s6ibtcsmst88e3057u9r7 |
| 79 | // extern Dtmethod_t* Dtstack |
| 80 | |
| 81 | |
| 82 | //1 axa7mflo824p6fspjn1rdk0mt |
| 83 | // extern Dtmethod_t* Dtqueue |
| 84 | |
| 85 | |
| 86 | //1 ega812utobm4xx9oa9w9ayij6 |
| 87 | // extern Dtmethod_t* Dtdeque |
| 88 | |
| 89 | |
| 90 | //1 cyfr996ur43045jv1tjbelzmj |
| 91 | // extern Dtmethod_t* Dtorder |
| 92 | |
| 93 | |
| 94 | //1 wlofoiftbjgrrabzb2brkycg |
| 95 | // extern Dtmethod_t* Dttree |
| 96 | |
| 97 | |
| 98 | //1 12bds94t7voj7ulwpcvgf6agr |
| 99 | // extern Dtmethod_t* Dthash |
| 100 | |
| 101 | |
| 102 | //1 9lqknzty480cy7zsubmabkk8h |
| 103 | // extern Dtmethod_t _Dttree |
| 104 | |
| 105 | |
| 106 | //1 bvn6zkbcp8vjdhkccqo1xrkrb |
| 107 | // extern Dtmethod_t _Dthash |
| 108 | |
| 109 | |
| 110 | //1 9lidhtd6nsmmv3e7vjv9e10gw |
| 111 | // extern Dtmethod_t _Dtlist |
| 112 | |
| 113 | |
| 114 | //1 34ujfamjxo7xn89u90oh2k6f8 |
| 115 | // extern Dtmethod_t _Dtqueue |
| 116 | |
| 117 | |
| 118 | //1 3jy4aceckzkdv950h89p4wjc8 |
| 119 | // extern Dtmethod_t _Dtstack |
| 120 | |
| 121 | |
| 122 | //1 8dfqgf3u1v830qzcjqh9o8ha7 |
| 123 | // extern Agmemdisc_t AgMemDisc |
| 124 | |
| 125 | |
| 126 | //1 18k2oh2t6llfsdc5x0wlcnby8 |
| 127 | // extern Agiddisc_t AgIdDisc |
| 128 | |
| 129 | |
| 130 | //1 a4r7hi80gdxtsv4hdoqpyiivn |
| 131 | // extern Agiodisc_t AgIoDisc |
| 132 | |
| 133 | |
| 134 | //1 bnzt5syjb7mgeru19114vd6xx |
| 135 | // extern Agdisc_t AgDefaultDisc |
| 136 | |
| 137 | |
| 138 | //1 35y2gbegsdjilegaribes00mg |
| 139 | // extern Agdesc_t Agdirected, Agstrictdirected, Agundirected, Agstrictundirected |
| 140 | |
| 141 | |
| 142 | //1 c2rygslq6bcuka3awmvy2b3ow |
| 143 | // typedef Agsubnode_t Agnoderef_t |
| 144 | |
| 145 | |
| 146 | //1 xam6yv0dcsx57dtg44igpbzn |
| 147 | // typedef Dtlink_t Agedgeref_t |
| 148 | |
| 149 | |
| 150 | |
| 151 | |
| 152 | //3 29goij7ee0eovul0mzbqx3jtm |
| 153 | // static void core_loadimage_svg(GVJ_t * job, usershape_t *us, boxf b, boolean filled) |
| 154 | public static Object core_loadimage_svg(Object... arg) { |
| 155 | UNSUPPORTED("6nk88j61lq1suxn7ouneycpcp"); // static void core_loadimage_svg(GVJ_t * job, usershape_t *us, boxf b, boolean filled) |
| 156 | UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // { |
| 157 | UNSUPPORTED("dvlg6flv7gt7lh0gcin0uy3l9"); // double width = (b.UR.x-b.LL.x); |
| 158 | UNSUPPORTED("9wz3r0c7kyzar3i72jllttzwb"); // double height = (b.UR.y-b.LL.y); |
| 159 | UNSUPPORTED("372q395e12m69cssk3g0ukwxy"); // double originx = (b.UR.x+b.LL.x - width)/2; |
| 160 | UNSUPPORTED("e0lvri5s3y6isyvxbzp7653yf"); // double originy = (b.UR.y+b.LL.y + height)/2; |
| 161 | UNSUPPORTED("1nk5slg1h855ktp6d9uxli7u3"); // assert(job); |
| 162 | UNSUPPORTED("7gqi0ait1bhc4v9zl8rnn0wbs"); // assert(us); |
| 163 | UNSUPPORTED("xlffgd4fqdckxg2nbs0mxtlj"); // assert(us->name); |
| 164 | UNSUPPORTED("exol4q9xzni0vyr9nsjkskzb8"); // gvputs(job, "<image xlink:href=\""); |
| 165 | UNSUPPORTED("ert33s1sb6zmui4v2t6rv07hz"); // gvputs(job, us->name); |
| 166 | UNSUPPORTED("3h1yo631e2fq69mxwoggya716"); // if (job->rotation) { |
| 167 | UNSUPPORTED("a8oo007b0fig1htfcdahd040r"); // // FIXME - this is messed up >>> |
| 168 | UNSUPPORTED("7mtjuxpu3v8f5jp6pvlspyh1a"); // gvprintf (job, "\" width=\"%gpx\" height=\"%gpx\" preserveAspectRatio=\"xMidYMid meet\" x=\"%g\" y=\"%g\"", |
| 169 | UNSUPPORTED("24tosnol9uj8kbohgufx2s1m5"); // height, width, originx, -originy); |
| 170 | UNSUPPORTED("ecvojyyyf3xwfchx60bgxozgv"); // gvprintf (job, " transform=\"rotate(%d %g %g)\"", |
| 171 | UNSUPPORTED("2ttp17y9k4a6sx4o1ft0ek3pu"); // job->rotation, originx, -originy); |
| 172 | UNSUPPORTED("57iw9hoiqdl157du9x27qmt5u"); // // <<< |
| 173 | UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); // } |
| 174 | UNSUPPORTED("1nyzbeonram6636b1w955bypn"); // else { |
| 175 | UNSUPPORTED("7bmd7sn9bhyqyf2jkx9sba5us"); // gvprintf (job, "\" width=\"%gpx\" height=\"%gpx\" preserveAspectRatio=\"xMinYMin meet\" x=\"%g\" y=\"%g\"", |
| 176 | UNSUPPORTED("aew8hp12uey186go0vuwtc02d"); // width, height, originx, -originy); |
| 177 | UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); // } |
| 178 | UNSUPPORTED("tkpriz9q4d4xzeglsnt7kh4c"); // gvputs(job, "/>\n"); |
| 179 | UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // } |
| 180 | |
| 181 | throw new UnsupportedOperationException(); |
| 182 | } |
| 183 | |
| 184 | |
| 185 | |
| 186 | |
| 187 | //3 awiixve7n69ck2vx4dnqj8c5o |
| 188 | // static void core_loadimage_fig(GVJ_t * job, usershape_t *us, boxf bf, boolean filled) |
| 189 | public static Object core_loadimage_fig(Object... arg) { |
| 190 | UNSUPPORTED("1vcx0fw33mfxu0cqs69faf8ue"); // static void core_loadimage_fig(GVJ_t * job, usershape_t *us, boxf bf, boolean filled) |
| 191 | UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // { |
| 192 | UNSUPPORTED("1250jrnrnv2ts7w11no09s3c0"); // int object_code = 2; /* always 2 for polyline */ |
| 193 | UNSUPPORTED("148en6b5hi275wxx19n6cp8gd"); // int sub_type = 5; /* always 5 for image */ |
| 194 | UNSUPPORTED("7tjgx9otv93qdrebs8rv7cyac"); // int line_style = 0; /* solid, dotted, dashed */ |
| 195 | UNSUPPORTED("30e0ixftw8701xjb61twlmbhq"); // int thickness = 0; |
| 196 | UNSUPPORTED("dftwk23t2axyh7uht019u3i0u"); // int pen_color = 0; |
| 197 | UNSUPPORTED("cem2frpnojzzocp1y610v2plc"); // int fill_color = -1; |
| 198 | UNSUPPORTED("8aj0xwj2jf76yit9k9rhnf5ns"); // int depth = 1; |
| 199 | UNSUPPORTED("wus8ctd22mlgr1imanbjzq23"); // int pen_style = -1; /* not used */ |
| 200 | UNSUPPORTED("1pvrunrk1ylb19scd5xzhf3lp"); // int area_fill = 0; |
| 201 | UNSUPPORTED("1lwafxtlvm06paa55v0re37kn"); // double style_val = 0.0; |
| 202 | UNSUPPORTED("emk8vv370o9kkt54b48xbckqk"); // int join_style = 0; |
| 203 | UNSUPPORTED("at27yenlhsw2mhidnzh560qs7"); // int cap_style = 0; |
| 204 | UNSUPPORTED("5ah3zh0iiveyst5794k0axkys"); // int radius = 0; |
| 205 | UNSUPPORTED("6aehzky7l6ssu826xre37yhtt"); // int forward_arrow = 0; |
| 206 | UNSUPPORTED("cvrcowx9gwh8vdfgelcwxhrhq"); // int backward_arrow = 0; |
| 207 | UNSUPPORTED("6cgv2nf65suhgjxqoahqfc6rs"); // int npoints = 5; |
| 208 | UNSUPPORTED("eij0m34z5k44tgdf6qkh2oy5k"); // int flipped = 0; |
| 209 | UNSUPPORTED("52u27kayecy1i1e8bbo8f7s9r"); // box b; |
| 210 | UNSUPPORTED("1nk5slg1h855ktp6d9uxli7u3"); // assert(job); |
| 211 | UNSUPPORTED("7gqi0ait1bhc4v9zl8rnn0wbs"); // assert(us); |
| 212 | UNSUPPORTED("xlffgd4fqdckxg2nbs0mxtlj"); // assert(us->name); |
| 213 | UNSUPPORTED("b9iu6kbbbdei5no6t11x88z55"); // BF2B(bf, b); |
| 214 | UNSUPPORTED("8kr2slc04t19kslj4ccgdx67d"); // gvprintf(job, "%d %d %d %d %d %d %d %d %d %.1f %d %d %d %d %d %d\n %d %s\n", |
| 215 | UNSUPPORTED("aqhcl971r2txljfiisq3maosf"); // object_code, sub_type, line_style, thickness, pen_color, |
| 216 | UNSUPPORTED("7565hrxms7ljcrl0jc6pzqo2r"); // fill_color, depth, pen_style, area_fill, style_val, join_style, |
| 217 | UNSUPPORTED("1d2j1ewli8cdqxi5o6m08r2u9"); // cap_style, radius, forward_arrow, backward_arrow, npoints, |
| 218 | UNSUPPORTED("c7cn7eesrrv4hcu8c5cwj9hdx"); // flipped, us->name); |
| 219 | UNSUPPORTED("dlp90sbnetvo18p7neoiy44m2"); // gvprintf(job," %d %d %d %d %d %d %d %d %d %d\n", |
| 220 | UNSUPPORTED("3awclag88e7eg21axn0hj3pg0"); // b.LL.x, b.LL.y, |
| 221 | UNSUPPORTED("11zvogg3ty0403x7yuwy6ojq0"); // b.LL.x, b.UR.y, |
| 222 | UNSUPPORTED("8s3cyzq8f154a25bzouw9viu0"); // b.UR.x, b.UR.y, |
| 223 | UNSUPPORTED("elo0t85arc0xfjh4exd58ol1u"); // b.UR.x, b.LL.y, |
| 224 | UNSUPPORTED("3kygvlprcdhmx33nfvx79bo5"); // b.LL.x, b.LL.y); |
| 225 | UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // } |
| 226 | |
| 227 | throw new UnsupportedOperationException(); |
| 228 | } |
| 229 | |
| 230 | |
| 231 | |
| 232 | |
| 233 | //3 e0srb4a7jout9298385qcktc |
| 234 | // static void core_loadimage_vrml(GVJ_t * job, usershape_t *us, boxf b, boolean filled) |
| 235 | public static Object core_loadimage_vrml(Object... arg) { |
| 236 | UNSUPPORTED("6l83xscu9iu6f4q8ggkiinfbw"); // static void core_loadimage_vrml(GVJ_t * job, usershape_t *us, boxf b, boolean filled) |
| 237 | UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // { |
| 238 | UNSUPPORTED("8lamppsqs7nhiu5v8k1f5jfh2"); // obj_state_t *obj; |
| 239 | UNSUPPORTED("cjx5v6hayed3q8eeub1cggqca"); // node_t *n; |
| 240 | UNSUPPORTED("1nk5slg1h855ktp6d9uxli7u3"); // assert(job); |
| 241 | UNSUPPORTED("dfvn35vopdad6lj7flf800tqq"); // obj = job->obj; |
| 242 | UNSUPPORTED("cvrjqjl5r3cwa1izxxgzgzrap"); // assert(obj); |
| 243 | UNSUPPORTED("7gqi0ait1bhc4v9zl8rnn0wbs"); // assert(us); |
| 244 | UNSUPPORTED("xlffgd4fqdckxg2nbs0mxtlj"); // assert(us->name); |
| 245 | UNSUPPORTED("8vniyq800jfq5vcshi73on9n1"); // n = job->obj->u.n; |
| 246 | UNSUPPORTED("25fhmphgra40j368i6b09n5xz"); // assert(n); |
| 247 | UNSUPPORTED("5s8sa7g2p1i5jr6wwil4fkbal"); // gvprintf(job, "Shape {\n"); |
| 248 | UNSUPPORTED("7ku2bmvaeet8qzuuiubu8f6m9"); // gvprintf(job, " appearance Appearance {\n"); |
| 249 | UNSUPPORTED("c4wvt5ni6d27pjcj501qxdy4r"); // gvprintf(job, " material Material {\n"); |
| 250 | UNSUPPORTED("buqlt6jt41o18ca6qvrnxo9zu"); // gvprintf(job, " ambientIntensity 0.33\n"); |
| 251 | UNSUPPORTED("9732sepoh8vxkxd5c5z6n1xob"); // gvprintf(job, " diffuseColor 1 1 1\n"); |
| 252 | UNSUPPORTED("1ssfesmz57l8uwfj3pgj48ft9"); // gvprintf(job, " }\n"); |
| 253 | UNSUPPORTED("3ic6hlam7i4qdhjx51lmkyl6d"); // gvprintf(job, " texture ImageTexture { url \"%s\" }\n", us->name); |
| 254 | UNSUPPORTED("buxxkw2q5k2ois60qv3i78cx1"); // gvprintf(job, " }\n"); |
| 255 | UNSUPPORTED("5evvn7xr8ggxco146doj8qb8d"); // gvprintf(job, "}\n"); |
| 256 | UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // } |
| 257 | |
| 258 | throw new UnsupportedOperationException(); |
| 259 | } |
| 260 | |
| 261 | |
| 262 | |
| 263 | |
| 264 | //3 dkpdahf85whho6alw0wyi0589 |
| 265 | // static void ps_freeimage(usershape_t *us) |
| 266 | public static Object ps_freeimage(Object... arg) { |
| 267 | UNSUPPORTED("9sf6siqz00t6dace56itvz47b"); // static void ps_freeimage(usershape_t *us) |
| 268 | UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // { |
| 269 | UNSUPPORTED("47gtx7ffdovrgtqza8fnyxsug"); // free(us->data); |
| 270 | UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // } |
| 271 | |
| 272 | throw new UnsupportedOperationException(); |
| 273 | } |
| 274 | |
| 275 | |
| 276 | |
| 277 | |
| 278 | //3 nuj4ufu0lit6u72no7bfa0rd |
| 279 | // static void core_loadimage_ps(GVJ_t * job, usershape_t *us, boxf b, boolean filled) |
| 280 | public static Object core_loadimage_ps(Object... arg) { |
| 281 | UNSUPPORTED("3fms3fyfhjnm6awkw5hqg4yl5"); // static void core_loadimage_ps(GVJ_t * job, usershape_t *us, boxf b, boolean filled) |
| 282 | UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // { |
| 283 | UNSUPPORTED("1nk5slg1h855ktp6d9uxli7u3"); // assert(job); |
| 284 | UNSUPPORTED("7gqi0ait1bhc4v9zl8rnn0wbs"); // assert(us); |
| 285 | UNSUPPORTED("xlffgd4fqdckxg2nbs0mxtlj"); // assert(us->name); |
| 286 | UNSUPPORTED("3ustk9u43nfwube24g9ve98xz"); // if (us->data) { |
| 287 | UNSUPPORTED("afe4zn3m0v1pzuhkzgqpru8w4"); // if (us->datafree != ps_freeimage) { |
| 288 | UNSUPPORTED("14ok3e5cytlxzf48yq4we8eg9"); // us->datafree(us); /* free incompatible cache data */ |
| 289 | UNSUPPORTED("68mtdvgnb8rekg06am2p1had0"); // us->data = NULL; |
| 290 | UNSUPPORTED("db62bupqi5lihbntfqe7tlesg"); // us->datafree = NULL; |
| 291 | UNSUPPORTED("2yrrfg6saymvlwjvr1suu7q7o"); // us->datasize = 0; |
| 292 | UNSUPPORTED("4mhlpjofolwivhm0tl8cxznly"); // } |
| 293 | UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); // } |
| 294 | UNSUPPORTED("6cah19vmbqd3lb4lb3na7ugk1"); // if (!us->data) { /* read file into cache */ |
| 295 | UNSUPPORTED("2lo7xzfretk2gbeewv8amikyl"); // int fd; |
| 296 | UNSUPPORTED("4vpkg06n5nt4a7401vz4vcqu8"); // struct stat statbuf; |
| 297 | UNSUPPORTED("d5mf2vtj9iib67q8oqf1ddfoy"); // if (!gvusershape_file_access(us)) |
| 298 | UNSUPPORTED("6cprbghvenu9ldc0ez1ifc63q"); // return; |
| 299 | UNSUPPORTED("de56k988tghtjxf7im4t0oh4w"); // fd = fileno(us->f); |
| 300 | UNSUPPORTED("6c857qum6nd7x5wc8q1jm7m0j"); // switch (us->type) { |
| 301 | UNSUPPORTED("9fdmy6cmkcs9xgg5u8d0r8az9"); // case FT_PS: |
| 302 | UNSUPPORTED("362x4fjrplaceoflc8oicvclf"); // case FT_EPS: |
| 303 | UNSUPPORTED("9rlgca7weqdcml6h34damptdz"); // fstat(fd, &statbuf); |
| 304 | UNSUPPORTED("aaef3zsmqgw7i8yzrzsa9f8ub"); // us->datasize = statbuf.st_size; |
| 305 | UNSUPPORTED("mvnxwqq1g43j0zwetc2lrbp0"); // us->data = malloc(statbuf.st_size); |
| 306 | UNSUPPORTED("8xav6nswhw039it5hkieqssre"); // read(fd, us->data, statbuf.st_size); |
| 307 | UNSUPPORTED("als7ie9jjt7wa384s4idszvj8"); // us->must_inline = NOT(0); |
| 308 | UNSUPPORTED("d1pumbibe8xz2i7gr1wj6zdak"); // break; |
| 309 | UNSUPPORTED("84cl4r6uveabh1lahtyw0ptb8"); // default: |
| 310 | UNSUPPORTED("d1pumbibe8xz2i7gr1wj6zdak"); // break; |
| 311 | UNSUPPORTED("4mhlpjofolwivhm0tl8cxznly"); // } |
| 312 | UNSUPPORTED("a9tazqo3lt2plzwxwbkazmark"); // if (us->data) |
| 313 | UNSUPPORTED("8xta46k7s6x1mogx5xomvejr3"); // us->datafree = ps_freeimage; |
| 314 | UNSUPPORTED("98myit7krb8a180ecsgm7wvjm"); // gvusershape_file_release(us); |
| 315 | UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); // } |
| 316 | UNSUPPORTED("3ustk9u43nfwube24g9ve98xz"); // if (us->data) { |
| 317 | UNSUPPORTED("50th0fnys6h3ghiyg8f4dfbdc"); // gvprintf(job, "gsave %g %g translate newpath\n", |
| 318 | UNSUPPORTED("5uhskkri1bhns0e9ddbr7mg4u"); // b.LL.x - (double)(us->x), b.LL.y - (double)(us->y)); |
| 319 | UNSUPPORTED("e1l98s1a0wb698pmm0ai481qi"); // if (us->must_inline) |
| 320 | UNSUPPORTED("988u2js5bqmntibjg98i07nz"); // epsf_emit_body(job, us); |
| 321 | UNSUPPORTED("35nw1pbiz2p3s6qwlam5eoo3m"); // else |
| 322 | UNSUPPORTED("az4q3r5wmapqascnw6mjghrmm"); // gvprintf(job, "user_shape_%d\n", us->macro_id); |
| 323 | UNSUPPORTED("1u16m9wjpuzt2gfhhilh5n9nv"); // gvprintf(job, "grestore\n"); |
| 324 | UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); // } |
| 325 | UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // } |
| 326 | |
| 327 | throw new UnsupportedOperationException(); |
| 328 | } |
| 329 | |
| 330 | |
| 331 | |
| 332 | |
| 333 | //3 cjibf8ypal3z8qjb7adn6tcix |
| 334 | // static void core_loadimage_pslib(GVJ_t * job, usershape_t *us, boxf b, boolean filled) |
| 335 | public static Object core_loadimage_pslib(Object... arg) { |
| 336 | UNSUPPORTED("7n8f9on2nkf9werk0kza1vc7b"); // static void core_loadimage_pslib(GVJ_t * job, usershape_t *us, boxf b, boolean filled) |
| 337 | UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // { |
| 338 | UNSUPPORTED("b17di9c7wgtqm51bvsyxz6e2f"); // int i; |
| 339 | UNSUPPORTED("en6q26cyrg17g6yd6el73b3ns"); // pointf AF[4]; |
| 340 | UNSUPPORTED("1l6nftr6o7rxwrg50yru6yu46"); // shape_desc *shape; |
| 341 | UNSUPPORTED("1nk5slg1h855ktp6d9uxli7u3"); // assert(job); |
| 342 | UNSUPPORTED("7gqi0ait1bhc4v9zl8rnn0wbs"); // assert(us); |
| 343 | UNSUPPORTED("xlffgd4fqdckxg2nbs0mxtlj"); // assert(us->name); |
| 344 | UNSUPPORTED("bbiovnfd6hlkzpdyqejaf3qb"); // if ((shape = (shape_desc*)us->data)) { |
| 345 | UNSUPPORTED("39kp6t9wenypchz2s58mkxgup"); // AF[0] = b.LL; |
| 346 | UNSUPPORTED("qpi4gufgxrvf8bx626lhkjwi"); // AF[2] = b.UR; |
| 347 | UNSUPPORTED("9lkdjc4of18mpcfe956xmzwet"); // AF[1].x = AF[0].x; |
| 348 | UNSUPPORTED("dpljjfhpwqivqkp6h79do3mqj"); // AF[1].y = AF[2].y; |
| 349 | UNSUPPORTED("32r2hu93lwrbd3zwxt303gh03"); // AF[3].x = AF[2].x; |
| 350 | UNSUPPORTED("edu3nrugftlt30kevnwc8y7f8"); // AF[3].y = AF[0].y; |
| 351 | UNSUPPORTED("9iv8yeefz2ll4zeeboqqtd4xu"); // if (filled) { |
| 352 | UNSUPPORTED("19zazncbqb0fh25slowlirl7k"); // // ps_begin_context(); |
| 353 | UNSUPPORTED("44dzyphll6m2rt2zvmxpxgr21"); // // ps_set_color(S[SP].fillcolor); |
| 354 | UNSUPPORTED("dhq1jxkwjggs0noew4i58yadj"); // gvprintf(job, "[ "); |
| 355 | UNSUPPORTED("8pozief1dm7j8crbw5313ff7f"); // for (i = 0; i < 4; i++) |
| 356 | UNSUPPORTED("4t5xu3wpffox1dcs6a4ulrynd"); // gvprintf(job, "%g %g ", AF[i].x, AF[i].y); |
| 357 | UNSUPPORTED("6peyrbfphj7hkptgimqm27sca"); // gvprintf(job, "%g %g ", AF[0].x, AF[0].y); |
| 358 | UNSUPPORTED("akrzmc2n64ahl34msb4iapdqx"); // gvprintf(job, "] %d true %s\n", 4, us->name); |
| 359 | UNSUPPORTED("3i17c088ltdll07ap9tqxpxs3"); // // ps_end_context(); |
| 360 | UNSUPPORTED("4mhlpjofolwivhm0tl8cxznly"); // } |
| 361 | UNSUPPORTED("erik7m9ivop3xh5y5fpto8q1n"); // gvprintf(job, "[ "); |
| 362 | UNSUPPORTED("ccewlfwc1gagj8vpwd576azfu"); // for (i = 0; i < 4; i++) |
| 363 | UNSUPPORTED("a68qmvv7ajcdvz4ko51ja25wy"); // gvprintf(job, "%g %g ", AF[i].x, AF[i].y); |
| 364 | UNSUPPORTED("eh6hpah3dqqf8n4pf1hn0urfi"); // gvprintf(job, "%g %g ", AF[0].x, AF[0].y); |
| 365 | UNSUPPORTED("aatxb1868s4jg7ocv1yy2rr7p"); // gvprintf(job, "] %d false %s\n", 4, us->name); |
| 366 | UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); // } |
| 367 | UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // } |
| 368 | |
| 369 | throw new UnsupportedOperationException(); |
| 370 | } |
| 371 | |
| 372 | |
| 373 | |
| 374 | |
| 375 | //3 11j2m0cxdp9z59j3doz82ei2o |
| 376 | // static void core_loadimage_vml(GVJ_t * job, usershape_t *us, boxf b, boolean filled) |
| 377 | public static Object core_loadimage_vml(Object... arg) { |
| 378 | UNSUPPORTED("dp5zde6274mdvioy5u59hk5jc"); // static void core_loadimage_vml(GVJ_t * job, usershape_t *us, boxf b, boolean filled) |
| 379 | UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // { |
| 380 | UNSUPPORTED("oe4wxcwk2rxtensxhcfp70d8"); // unsigned int graphHeight; |
| 381 | UNSUPPORTED("e1b0xy1qef9gc82t0ivbjb8zh"); // graphHeight =(int)(job->bb.UR.y - job->bb.LL.y); |
| 382 | UNSUPPORTED("56vt25hvpvbnprocv3ga6amb9"); // gvprintf (job, "<v:image src=\"%s\" style=\" position:absolute; width:%.2f; height:%.2f; left:%.2f ; top:%.2f\"", |
| 383 | UNSUPPORTED("901jotrnuwksfsvz4ate4wqsh"); // us->name, b.UR.x - b.LL.x, b.UR.y - b.LL.y, b.LL.x, graphHeight-b.UR.y); |
| 384 | UNSUPPORTED("bq4vgoqdsjkwuyyspku5kznhh"); // gvputs(job, " />\n"); |
| 385 | UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // } |
| 386 | |
| 387 | throw new UnsupportedOperationException(); |
| 388 | } |
| 389 | |
| 390 | |
| 391 | |
| 392 | |
| 393 | //3 9rnpduughujmxwpfj9uny5yfw |
| 394 | // static void core_loadimage_tk(GVJ_t * job, usershape_t *us, boxf b, boolean filled) |
| 395 | public static Object core_loadimage_tk(Object... arg) { |
| 396 | UNSUPPORTED("2us7fsaz0xyimqhdmd2oabwoo"); // static void core_loadimage_tk(GVJ_t * job, usershape_t *us, boxf b, boolean filled) |
| 397 | UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // { |
| 398 | UNSUPPORTED("wkagaos2d0sha79uninstvkl"); // gvprintf (job, "image create photo \"photo_%s\" -file \"%s\"\n", |
| 399 | UNSUPPORTED("38kbczko9ldqe6gfwzsqn7ne1"); // us->name, us->name); |
| 400 | UNSUPPORTED("57qf7m9y8ekwlo8zafyotx1vi"); // gvprintf (job, "$c create image %.2f %.2f -image \"photo_%s\"\n", |
| 401 | UNSUPPORTED("amiu4sx3oah6j8cumbyac7fgu"); // us->name, (b.UR.x + b.LL.x) / 2, (b.UR.y + b.LL.y) / 2); |
| 402 | UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // } |
| 403 | |
| 404 | throw new UnsupportedOperationException(); |
| 405 | } |
| 406 | |
| 407 | |
| 408 | |
| 409 | |
| 410 | //3 7r8kuhs5mt25fif8rga7ycuk4 |
| 411 | // void core_loadimage_null(GVJ_t *gvc, usershape_t *us, boxf b, boolean filled) |
| 412 | public static Object core_loadimage_null(Object... arg) { |
| 413 | UNSUPPORTED("10aeq8i34y842tyczscr6r92s"); // void core_loadimage_null(GVJ_t *gvc, usershape_t *us, boxf b, boolean filled) |
| 414 | UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // { |
| 415 | UNSUPPORTED("43g24def5o0e68iopoodbo6hq"); // /* null function - basically suppress the missing loader message */ |
| 416 | UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // } |
| 417 | |
| 418 | throw new UnsupportedOperationException(); |
| 419 | } |
| 420 | |
| 421 | |
| 422 | //1 5caj98xv9ldmw6dinjt7jgpcx |
| 423 | // static gvloadimage_engine_t engine_svg = |
| 424 | |
| 425 | |
| 426 | //1 pv6o8s1n1h9zk3lxm9ryq5c8 |
| 427 | // static gvloadimage_engine_t engine_fig = |
| 428 | |
| 429 | |
| 430 | //1 a9e239ql9867ljor8u16cj2pf |
| 431 | // static gvloadimage_engine_t engine_vrml = |
| 432 | |
| 433 | |
| 434 | //1 8kzbk9u03208629mtai1ay942 |
| 435 | // static gvloadimage_engine_t engine_ps = |
| 436 | |
| 437 | |
| 438 | //1 dj5z2gmpjxtxsvujmovvwuyxw |
| 439 | // static gvloadimage_engine_t engine_pslib = |
| 440 | |
| 441 | |
| 442 | //1 3kvzpib9rpmlf3o00tet08n90 |
| 443 | // static gvloadimage_engine_t engine_null = |
| 444 | |
| 445 | |
| 446 | //1 bwx5544czjvaz5aigxvcx2nl |
| 447 | // static gvloadimage_engine_t engine_xdot = |
| 448 | |
| 449 | |
| 450 | //1 965gxus2gru0zhovsq4pc39w3 |
| 451 | // static gvloadimage_engine_t engine_vml = |
| 452 | |
| 453 | |
| 454 | //1 7h8ksznsrd48e4elfd9w6yqnm |
| 455 | // static gvloadimage_engine_t engine_tk = |
| 456 | |
| 457 | |
| 458 | //1 90d4e129eeox69ftipmimqjx2 |
| 459 | // gvplugin_installed_t gvloadimage_core_types[] = |
| 460 | |
| 461 | |
| 462 | } |