/* ========================================================================
* PlantUML : a free UML diagram generator
* ========================================================================
*
* Project Info: http://plantuml.com
*
* If you like this project or if you find it useful, you can support us at:
*
* http://plantuml.com/patreon (only 1$ per month!)
* http://plantuml.com/paypal
*
* This file is part of Smetana.
* Smetana is a partial translation of Graphviz/Dot sources from C to Java.
*
* (C) Copyright 2009-2017, Arnaud Roques
*
* This translation is distributed under the same Licence as the original C program:
*
*************************************************************************
* Copyright (c) 2011 AT&T Intellectual Property
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*
* Contributors: See CVS logs. Details at http://www.graphviz.org/
*************************************************************************
*
* THE ACCOMPANYING PROGRAM IS PROVIDED UNDER THE TERMS OF THIS ECLIPSE PUBLIC
* LICENSE ("AGREEMENT"). [Eclipse Public License - v 1.0]
*
* ANY USE, REPRODUCTION OR DISTRIBUTION OF THE PROGRAM CONSTITUTES
* RECIPIENT'S ACCEPTANCE OF THIS AGREEMENT.
*
* You may obtain a copy of the License at
*
* http://www.eclipse.org/legal/epl-v10.html
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*
*/
package gen.plugin.core;
import static smetana.core.Macro.UNSUPPORTED;
public class gvrender_core_map__c {
//1 2digov3edok6d5srhgtlmrycs
// extern lt_symlist_t lt_preloaded_symbols[]
//1 baedz5i9est5csw3epz3cv7z
// typedef Ppoly_t Ppolyline_t
//1 9k44uhd5foylaeoekf3llonjq
// extern Dtmethod_t* Dtset
//1 1ahfywsmzcpcig2oxm7pt9ihj
// extern Dtmethod_t* Dtbag
//1 anhghfj3k7dmkudy2n7rvt31v
// extern Dtmethod_t* Dtoset
//1 5l6oj1ux946zjwvir94ykejbc
// extern Dtmethod_t* Dtobag
//1 2wtf222ak6cui8cfjnw6w377z
// extern Dtmethod_t* Dtlist
//1 d1s1s6ibtcsmst88e3057u9r7
// extern Dtmethod_t* Dtstack
//1 axa7mflo824p6fspjn1rdk0mt
// extern Dtmethod_t* Dtqueue
//1 ega812utobm4xx9oa9w9ayij6
// extern Dtmethod_t* Dtdeque
//1 cyfr996ur43045jv1tjbelzmj
// extern Dtmethod_t* Dtorder
//1 wlofoiftbjgrrabzb2brkycg
// extern Dtmethod_t* Dttree
//1 12bds94t7voj7ulwpcvgf6agr
// extern Dtmethod_t* Dthash
//1 9lqknzty480cy7zsubmabkk8h
// extern Dtmethod_t _Dttree
//1 bvn6zkbcp8vjdhkccqo1xrkrb
// extern Dtmethod_t _Dthash
//1 9lidhtd6nsmmv3e7vjv9e10gw
// extern Dtmethod_t _Dtlist
//1 34ujfamjxo7xn89u90oh2k6f8
// extern Dtmethod_t _Dtqueue
//1 3jy4aceckzkdv950h89p4wjc8
// extern Dtmethod_t _Dtstack
//1 8dfqgf3u1v830qzcjqh9o8ha7
// extern Agmemdisc_t AgMemDisc
//1 18k2oh2t6llfsdc5x0wlcnby8
// extern Agiddisc_t AgIdDisc
//1 a4r7hi80gdxtsv4hdoqpyiivn
// extern Agiodisc_t AgIoDisc
//1 bnzt5syjb7mgeru19114vd6xx
// extern Agdisc_t AgDefaultDisc
//1 35y2gbegsdjilegaribes00mg
// extern Agdesc_t Agdirected, Agstrictdirected, Agundirected, Agstrictundirected
//1 c2rygslq6bcuka3awmvy2b3ow
// typedef Agsubnode_t Agnoderef_t
//1 xam6yv0dcsx57dtg44igpbzn
// typedef Dtlink_t Agedgeref_t
//3 csv3l33vvs1vebcphye24jq0f
// static void map_output_shape (GVJ_t *job, map_shape_t map_shape, pointf * AF, int nump, char* url, char *tooltip, char *target, char *id)
public static Object map_output_shape(Object... arg) {
UNSUPPORTED("8kf7pfh75y963yumtk9b9z3ys"); // static void map_output_shape (GVJ_t *job, map_shape_t map_shape, pointf * AF, int nump,
UNSUPPORTED("bfj85pn6xenrvqizqe3wao6l7"); // char* url, char *tooltip, char *target, char *id)
UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
UNSUPPORTED("b17di9c7wgtqm51bvsyxz6e2f"); // int i;
UNSUPPORTED("4yzh52cxlcnx4kwijawrsiq93"); // static point *A;
UNSUPPORTED("ajll5vpeb8zhkx6ef6exlg0x"); // static int size_A;
UNSUPPORTED("1w53t40nspe671k7na03lhgrq"); // if (!AF || !nump)
UNSUPPORTED("a7fgam0j0jm7bar0mblsv3no4"); // return;
UNSUPPORTED("d68wemoq0y2k254bi7ibengwn"); // if (size_A < nump) {
UNSUPPORTED("7edr6xzvxhtgwcv3aqikccj9i"); // size_A = nump + 10;
UNSUPPORTED("497iml6bv2y1ybutiuoiszh1m"); // A = realloc(A, size_A * sizeof(point));
UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); // }
UNSUPPORTED("4v4y5eb8k5nr6qaau3ynqhvcq"); // for (i = 0; i < nump; i++)
UNSUPPORTED("cx0olmahgh2xwrv8z1bx82xm2"); // PF2P(AF[i], A[i]);
UNSUPPORTED("5i3rds5u46g9ststudzor9xt"); // if (job->render.id == FORMAT_IMAP && url && url[0]) {
UNSUPPORTED("2hz9rwf090vttuoibzu9fsw5q"); // switch (map_shape) {
UNSUPPORTED("9ny69tiwv0c1k92wg0f5bc2hx"); // case MAP_RECTANGLE:
UNSUPPORTED("3fnbb8my11ctfv54p20sjx95u"); // /* Y_GOES_DOWN so need UL to LR */
UNSUPPORTED("13myxcrwgvjfs7vqhn41gptdg"); // gvprintf(job, "rect %s %d,%d %d,%d\n", url,
UNSUPPORTED("apxbzz2r91p4jj1fzpftrnwll"); // A[0].x, A[1].y, A[1].x, A[0].y);
UNSUPPORTED("dtx9szdvwh3uhziubh9zvgbk5"); // break;
UNSUPPORTED("969pm8kka9j9ajn1lpb3q0e7f"); // case MAP_CIRCLE:
UNSUPPORTED("1f8q1mvrhrf0asqye0b30as1n"); // gvprintf(job, "circle %s %d,%d,%d\n", url,
UNSUPPORTED("e8ycnkoqzmazghue74s8t4ods"); // A[0].x, A[0].y, A[1].x-A[0].x);
UNSUPPORTED("dtx9szdvwh3uhziubh9zvgbk5"); // break;
UNSUPPORTED("clptlh6vuwx7mynynpacj0ktl"); // case MAP_POLYGON:
UNSUPPORTED("8fgyk7ask8my1kx2al65iaaje"); // gvprintf(job, "poly %s", url);
UNSUPPORTED("d0fj0wck6hjqyxoodtze7797f"); // for (i = 0; i < nump; i++)
UNSUPPORTED("d0b7gixn87mqrfgw7cfdyuj9h"); // gvprintf(job, " %d,%d", A[i].x, A[i].y);
UNSUPPORTED("5uq09elejy2ot3s8x5d13dxs9"); // gvputs(job, "\n");
UNSUPPORTED("dtx9szdvwh3uhziubh9zvgbk5"); // break;
UNSUPPORTED("p0mt8wznalavjdm44ot4ykl7"); // default:
UNSUPPORTED("1hh9o1t0fynw7ejmjny7gevig"); // assert(0);
UNSUPPORTED("dtx9szdvwh3uhziubh9zvgbk5"); // break;
UNSUPPORTED("4mhlpjofolwivhm0tl8cxznly"); // }
UNSUPPORTED("d3576y606phfrc0nvil7m7j14"); // } else if (job->render.id == FORMAT_ISMAP && url && url[0]) {
UNSUPPORTED("2hz9rwf090vttuoibzu9fsw5q"); // switch (map_shape) {
UNSUPPORTED("9ny69tiwv0c1k92wg0f5bc2hx"); // case MAP_RECTANGLE:
UNSUPPORTED("3fnbb8my11ctfv54p20sjx95u"); // /* Y_GOES_DOWN so need UL to LR */
UNSUPPORTED("4cujqj1wxkt2prhfpa93ocz33"); // gvprintf(job, "rectangle (%d,%d) (%d,%d) %s %s\n",
UNSUPPORTED("b0bipjx63l5bwm4ur9r16oddw"); // A[0].x, A[1].y, A[1].x, A[0].y, url, tooltip);
UNSUPPORTED("ai3czg6gaaxspsmndknpyvuiu"); // break;
UNSUPPORTED("p0mt8wznalavjdm44ot4ykl7"); // default:
UNSUPPORTED("1hh9o1t0fynw7ejmjny7gevig"); // assert(0);
UNSUPPORTED("dtx9szdvwh3uhziubh9zvgbk5"); // break;
UNSUPPORTED("4mhlpjofolwivhm0tl8cxznly"); // }
UNSUPPORTED("f271g0t382wvokvh5b79gnj3c"); // } else if (job->render.id == FORMAT_CMAP || job->render.id == FORMAT_CMAPX) {
UNSUPPORTED("2hz9rwf090vttuoibzu9fsw5q"); // switch (map_shape) {
UNSUPPORTED("969pm8kka9j9ajn1lpb3q0e7f"); // case MAP_CIRCLE:
UNSUPPORTED("apmt6zpnpwkhkathi0qvmwxok"); // gvputs(job, "render.id == FORMAT_CMAPX)
UNSUPPORTED("9wuepleq2yxn1w8g9l2t5bv8n"); // gvputs(job, "\"/>\n");
UNSUPPORTED("9352ql3e58qs4fzapgjfrms2s"); // else
UNSUPPORTED("8ljg9ari52ao59grstt68083c"); // gvputs(job, "\">\n");
UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); // }
UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
throw new UnsupportedOperationException();
}
//3 ecfzje2iii2p83pu7a8oknudk
// static void map_begin_page(GVJ_t * job)
public static Object map_begin_page(Object... arg) {
UNSUPPORTED("51hmqgn59iqb0k30s7slug47h"); // static void map_begin_page(GVJ_t * job)
UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
UNSUPPORTED("84llcpxtvxaggx841n2t03850"); // obj_state_t *obj = job->obj;
UNSUPPORTED("8yytudftst76763qgnjebkzhm"); // char *s;
UNSUPPORTED("69opxqj69jbqthw7e5x8p71j0"); // switch (job->render.id) {
UNSUPPORTED("7txd1s74e7fla0b5ppbpj4e9m"); // case FORMAT_IMAP:
UNSUPPORTED("5qsnhnk2hikn4v5rngaesebru"); // gvputs(job, "base referer\n");
UNSUPPORTED("bgwmnukjcck9eqoe70218t5sl"); // if (obj->url && obj->url[0]) {
UNSUPPORTED("5mfw77dfjvx7mortvgofrjffx"); // gvputs(job, "default ");
UNSUPPORTED("cmkzfcsqw6lcz4oeepg7r0ysr"); // gvputs(job, xml_string(obj->url));
UNSUPPORTED("3wbqcj3wgh85ybkhw9jxfnqt5"); // gvputs(job, "\n");
UNSUPPORTED("flupwh3kosf3fkhkxllllt1"); // }
UNSUPPORTED("bzxyddcf9jharsko2rb8asyik"); // break;
UNSUPPORTED("azd5ozzc5h2655cjyqy5l6xdm"); // case FORMAT_ISMAP:
UNSUPPORTED("bgwmnukjcck9eqoe70218t5sl"); // if (obj->url && obj->url[0]) {
UNSUPPORTED("5mfw77dfjvx7mortvgofrjffx"); // gvputs(job, "default ");
UNSUPPORTED("cmkzfcsqw6lcz4oeepg7r0ysr"); // gvputs(job, xml_string(obj->url));
UNSUPPORTED("6iupbw97yijdtdpg2bxm4syfu"); // gvputs(job, " ");
UNSUPPORTED("4ujbj52xrmo4jrufevyc1puvo"); // gvputs(job, xml_string(agnameof(obj->u.g)));
UNSUPPORTED("3wbqcj3wgh85ybkhw9jxfnqt5"); // gvputs(job, "\n");
UNSUPPORTED("flupwh3kosf3fkhkxllllt1"); // }
UNSUPPORTED("bzxyddcf9jharsko2rb8asyik"); // break;
UNSUPPORTED("t5h5je1zpt3u8ndyh15gdg9l"); // case FORMAT_CMAPX:
UNSUPPORTED("f34ya28ve4bvds8gp4exdfj56"); // s = xml_string(agnameof(obj->u.g));
UNSUPPORTED("xrk4koadrppi4k4gs57d4h9m"); // gvputs(job, "\n");
UNSUPPORTED("6aw91xzjmqvmtdvt1di23af8y"); // break;
UNSUPPORTED("8l3rwj6ctswoa4gvh2j4poq70"); // default:
UNSUPPORTED("6aw91xzjmqvmtdvt1di23af8y"); // break;
UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); // }
UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
throw new UnsupportedOperationException();
}
//3 6gah2kjnd3decve8krn1svbqb
// static void map_begin_anchor(GVJ_t * job, char *url, char *tooltip, char *target, char *id)
public static Object map_begin_anchor(Object... arg) {
UNSUPPORTED("5qn8yqjbqcyx0grv0yypccdy2"); // static void map_begin_anchor(GVJ_t * job, char *url, char *tooltip, char *target, char *id)
UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
UNSUPPORTED("84llcpxtvxaggx841n2t03850"); // obj_state_t *obj = job->obj;
UNSUPPORTED("6s3igifxj8shhox656bdbx5pf"); // map_output_shape(job, obj->url_map_shape,
UNSUPPORTED("2clu43j15vr7y290qz69husnn"); // obj->url_map_p, obj->url_map_n,
UNSUPPORTED("6vqhbjy76o3uv1cptjwt6y45l"); // url, tooltip, target, id);
UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
throw new UnsupportedOperationException();
}
//1 aunc2bv7z37pgfwoea8pqzdw6
// static gvrender_engine_t map_engine =
//1 1zilsb5vzp5hkz1bqy634l392
// static gvrender_features_t render_features_map =
//1 bi57uhrsu8bhcnnl39xr27v97
// static gvdevice_features_t device_features_map =
//1 3nksama0j9ayv22motim935v3
// static gvdevice_features_t device_features_map_nopoly =
//1 zv8eak0r501gmnqu92pzr5x5
// gvplugin_installed_t gvrender_map_types[] =
//1 97mwnp7oqdjce0xttnqhkq7t3
// gvplugin_installed_t gvdevice_map_types[] =
}
Ads help maintain this website.