All Downloads are FREE. Search and download functionalities are using the official Maven repository.

gen.lib.gvc.gvevent__c Maven / Gradle / Ivy

Go to download

PlantUML is a component that allows to quickly write : * sequence diagram, * use case diagram, * class diagram, * activity diagram, * component diagram, * state diagram * object diagram

The newest version!
/* ========================================================================
 * 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.lib.gvc;
import static smetana.core.Macro.UNSUPPORTED;

public class gvevent__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


//1 a81i1bteklxko8gquxchac0x8
// static char *s_digraph = 


//1 dgsqnb0c5b6pm90dh3pmafwo1
// static char *s_graph = 


//1 49ytazp10pvtr6nmtx9h5jkr4
// static char *s_subgraph = 


//1 49rjw4ovuqev4ekbir1njgrg3
// static char *s_node = 


//1 exvb7xidqhdzk58w9bccovd1s
// static char *s_edge = 


//1 6b5ql2pwr2ula2263lt2fw60j
// static char *s_tooltip = 


//1 e8yh8l7wzzyhpxv1fk7mdnri1
// static char *s_href = 


//1 c37wnv95zfw9hla1px6mp8c8v
// static char *s_URL = 


//1 9ihbjjrb6baxg03ds8e7dqyeu
// static char *s_tailport = 


//1 8vucxsazfgxu7fsgq699pfgwb
// static char *s_headport = 


//1 4vtu2e7ieao83dief8qy6vy1o
// static char *s_key = 




//3 4u7xeq4u9gjav5v1ds6xt32a7
// static void gv_graph_state(GVJ_t *job, graph_t *g) 
public static Object gv_graph_state(Object... arg) {
UNSUPPORTED("qi2r1zf56fhta95dbdc4uqh7"); // static void gv_graph_state(GVJ_t *job, graph_t *g)
UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
UNSUPPORTED("2bs0wcp6367dz1o5x166ec7l8"); //     int j;
UNSUPPORTED("6fh2f49mjcser5usqcg36hkjn"); //     Agsym_t *a;
UNSUPPORTED("d9khxorqmza778g5yq0oti4m9"); //     gv_argvlist_t *list;
UNSUPPORTED("dffw7bunufdqdcx3vwbsa36uq"); //     list = &(job->selected_obj_type_name);
UNSUPPORTED("1khyaul8b149n1iaylpif58pr"); //     j = 0;
UNSUPPORTED("ackx3cor82a94trjk4owh3083"); //     if (g == agroot(g)) {
UNSUPPORTED("e7utna7qhqjns0cncypyq6ypu"); // 	if (agisdirected(g))
UNSUPPORTED("325cc23s82vex998qq2zet30n"); //             gv_argvlist_set_item(list, j++, s_digraph);
UNSUPPORTED("9352ql3e58qs4fzapgjfrms2s"); // 	else
UNSUPPORTED("4iceu5v0jkso1pfbd8cptcm26"); //             gv_argvlist_set_item(list, j++, s_graph);
UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); //     }
UNSUPPORTED("1nyzbeonram6636b1w955bypn"); //     else {
UNSUPPORTED("8wbgd0tpi9vafdu305mh891pm"); //         gv_argvlist_set_item(list, j++, s_subgraph);
UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); //     }
UNSUPPORTED("e3m8xakuuoavpc0yzsdz0ttbf"); //     gv_argvlist_set_item(list, j++, agnameof(g));
UNSUPPORTED("2g9vk1xhep19zd9rw2ptwgf0n"); //     list->argc = j;
UNSUPPORTED("d089fe3vpvfvcq6nx8i2de8za"); //     list = &(job->selected_obj_attributes);
UNSUPPORTED("e1417dqpw5biex3lmgeebcz3z"); //     a = NULL;
UNSUPPORTED("b7p49ht5isujlq1r0zeqn522z"); //     while ((a = agnxtattr(g, AGRAPH, a))) {
UNSUPPORTED("99t26p59tgmrccdh9d222241q"); //         gv_argvlist_set_item(list, j++, a->name);
UNSUPPORTED("cd5io6q45mx69v63k1okoerbk"); //         gv_argvlist_set_item(list, j++, agxget(g, a));
UNSUPPORTED("1ji9sink8yrqbo5f75etmnjvw"); //         gv_argvlist_set_item(list, j++, (char*)GVATTR_STRING);
UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); //     }
UNSUPPORTED("2g9vk1xhep19zd9rw2ptwgf0n"); //     list->argc = j;
UNSUPPORTED("9bqz6abzufgggy4kgl58ohww2"); //     a = (agattr(g,AGRAPH,s_href,NULL));
UNSUPPORTED("ad7g9pfuiyqph0mif8l1dkp14"); //     if (!a)
UNSUPPORTED("31vhl15c44ic03bkyj4plz9tc"); // 	a = (agattr(g,AGRAPH,s_URL,NULL));
UNSUPPORTED("d0iv30h00si3pq8x1pcdz16i4"); //     if (a)
UNSUPPORTED("19box3udlik0aynca1mdbgli1"); // 	job->selected_href = strdup_and_subst_obj(agxget(g, a), (void*)g);
UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }

throw new UnsupportedOperationException();
}




//3 1tqun4sawrqin1i1cpsek6xis
// static void gv_node_state(GVJ_t *job, node_t *n) 
public static Object gv_node_state(Object... arg) {
UNSUPPORTED("a6a2p7o7hjze8ck9u2wsgbhnz"); // static void gv_node_state(GVJ_t *job, node_t *n)
UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
UNSUPPORTED("2bs0wcp6367dz1o5x166ec7l8"); //     int j;
UNSUPPORTED("6fh2f49mjcser5usqcg36hkjn"); //     Agsym_t *a;
UNSUPPORTED("1dbyk58q3r4fyfxxo7ovemkpu"); //     Agraph_t *g;
UNSUPPORTED("d9khxorqmza778g5yq0oti4m9"); //     gv_argvlist_t *list;
UNSUPPORTED("dffw7bunufdqdcx3vwbsa36uq"); //     list = &(job->selected_obj_type_name);
UNSUPPORTED("1khyaul8b149n1iaylpif58pr"); //     j = 0;
UNSUPPORTED("av2271m76wgi05dd4jp9ko29m"); //     gv_argvlist_set_item(list, j++, s_node);
UNSUPPORTED("32mps9ctk2avgj3psm456ch9c"); //     gv_argvlist_set_item(list, j++, agnameof(n));
UNSUPPORTED("2g9vk1xhep19zd9rw2ptwgf0n"); //     list->argc = j;
UNSUPPORTED("d089fe3vpvfvcq6nx8i2de8za"); //     list = &(job->selected_obj_attributes);
UNSUPPORTED("5c0nzsud433f31yaxkbl4z4gs"); //     g = agroot(agraphof(n));
UNSUPPORTED("e1417dqpw5biex3lmgeebcz3z"); //     a = NULL;
UNSUPPORTED("b1vxpowujnp7icf7z1f5ys6fn"); //     while ((a = agnxtattr(g, AGNODE, a))) {
UNSUPPORTED("99t26p59tgmrccdh9d222241q"); //         gv_argvlist_set_item(list, j++, a->name);
UNSUPPORTED("bxew0xo3hzemjvs8jsh4vd1fe"); //         gv_argvlist_set_item(list, j++, agxget(n, a));
UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); //     }
UNSUPPORTED("2g9vk1xhep19zd9rw2ptwgf0n"); //     list->argc = j;
UNSUPPORTED("cop3693r14mtc5cxtwlnfobn7"); //     a = (agattr(agraphof(n),AGNODE,s_href,NULL));
UNSUPPORTED("ad7g9pfuiyqph0mif8l1dkp14"); //     if (!a)
UNSUPPORTED("9vhpq0kaqba5axovooitmksjj"); //         a = (agattr(agraphof(n),AGNODE,s_URL,NULL));
UNSUPPORTED("d0iv30h00si3pq8x1pcdz16i4"); //     if (a)
UNSUPPORTED("17hpyw5vd28ys378heoyue1al"); // 	job->selected_href = strdup_and_subst_obj(agxget(n, a), (void*)n);
UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }

throw new UnsupportedOperationException();
}




//3 ermyhp9u235dyyeyqapv0xkc7
// static void gv_edge_state(GVJ_t *job, edge_t *e) 
public static Object gv_edge_state(Object... arg) {
UNSUPPORTED("bd6orj26b0p27h7kfbrazb9io"); // static void gv_edge_state(GVJ_t *job, edge_t *e)
UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
UNSUPPORTED("2bs0wcp6367dz1o5x166ec7l8"); //     int j;
UNSUPPORTED("6fh2f49mjcser5usqcg36hkjn"); //     Agsym_t *a;
UNSUPPORTED("1dbyk58q3r4fyfxxo7ovemkpu"); //     Agraph_t *g;
UNSUPPORTED("4t73a9bkotedn8x3fxn53j1km"); //     gv_argvlist_t *nlist, *alist;
UNSUPPORTED("43j7ne9o1w0oq59jkh0ogpfi8"); //     nlist = &(job->selected_obj_type_name);
UNSUPPORTED("bvhhwpgurwsvqf00mufgp5jei"); //     /* only tail, head, and key are strictly identifying properties,
UNSUPPORTED("87w6733styjgjzh7edfba0cpw"); //      * but we commonly alse use edge kind (e.g. "->") and tailport,headport
UNSUPPORTED("ez2eakrubjtgnn4onqt5ah5mo"); //      * in edge names */
UNSUPPORTED("1khyaul8b149n1iaylpif58pr"); //     j = 0;
UNSUPPORTED("231pmh9ndbj9bl0iq4dwm34ad"); //     gv_argvlist_set_item(nlist, j++, s_edge);
UNSUPPORTED("cj85zmjfg6vwon6ebadi1utxi"); //     gv_argvlist_set_item(nlist, j++, agnameof(agtail(e)));
UNSUPPORTED("6gfg10q9wfhddmrxtfaijxc6e"); //     j++; /* skip tailport slot for now */
UNSUPPORTED("ab8kmscdvmhs0oz9laxreinrs"); //     gv_argvlist_set_item(nlist, j++, agisdirected(agraphof(agtail(e)))?"->":"--");
UNSUPPORTED("3r7da1j0hfzm49kscuyu25bjw"); //     gv_argvlist_set_item(nlist, j++, agnameof(aghead(e)));
UNSUPPORTED("48ci0f2hgcb9fxqoqhqhvtur0"); //     j++; /* skip headport slot for now */
UNSUPPORTED("bu93gjys845yepca55pifkr30"); //     j++; /* skip key slot for now */
UNSUPPORTED("227buoijhb0gn22caje4pxv9e"); //     nlist->argc = j;
UNSUPPORTED("636g3h756buq2y5ye5swbaq80"); //     alist = &(job->selected_obj_attributes);
UNSUPPORTED("43dcim6z0v0a251vkqsnqej3q"); //     g = agroot(agraphof(aghead(e)));
UNSUPPORTED("e1417dqpw5biex3lmgeebcz3z"); //     a = NULL;
UNSUPPORTED("33gb50lyoy7ck2t6qrjkyzo7u"); //     while ((a = agnxtattr(g, AGEDGE, a))) {
UNSUPPORTED("706s3vyqe37ps1epbb4kq2zg2"); // 	/* tailport and headport can be shown as part of the name, but they
UNSUPPORTED("ae0evldnekm3vq9oe8m0lnt3w"); // 	 * are not identifying properties of the edge so we 
UNSUPPORTED("1ebad5w1kcs91baie24l37lr3"); // 	 * also list them as modifyable attributes. */
UNSUPPORTED("9kgmn2eeefbu32xw5r0wyockk"); //         if (strcmp(a->name,s_tailport) == 0)
UNSUPPORTED("69icrfew1qyyma8r8q0sjvcw5"); // 	    gv_argvlist_set_item(nlist, 2, agxget(e, a));
UNSUPPORTED("24i31ghgq3gjhdby4wkzz5zx1"); // 	else if (strcmp(a->name,s_headport) == 0)
UNSUPPORTED("1ylpsr67giqnbh13nsgrwy1a0"); // 	    gv_argvlist_set_item(nlist, 5, agxget(e, a));
UNSUPPORTED("7fflw2yp36ncnjh65hgmcnc2i"); // 	/* key is strictly an identifying property to distinguish multiple
UNSUPPORTED("9hs0myrjsg7n4p9jmyl0r5r7p"); // 	 * edges between the same node pair.   Its non-writable, so
UNSUPPORTED("3043zukc6eme3vgtc3vm1rkev"); // 	 * no need to list it as an attribute as well. */
UNSUPPORTED("5kvauax0vbqn56b0t22oh5xd6"); // 	else if (strcmp(a->name,s_key) == 0) {
UNSUPPORTED("e8n9jcj9q9h0mq4h3bb6p979i"); // 	    gv_argvlist_set_item(nlist, 6, agxget(e, a));
UNSUPPORTED("6hqli9m8yickz1ox1qfgtdbnd"); // 	    continue;
UNSUPPORTED("flupwh3kosf3fkhkxllllt1"); // 	}
UNSUPPORTED("crs1h0cch6rim4e1iixiii9jq"); //         gv_argvlist_set_item(alist, j++, a->name);
UNSUPPORTED("azjfqodmy73s2zkayx9j4sj8j"); //         gv_argvlist_set_item(alist, j++, agxget(e, a));
UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); //     }
UNSUPPORTED("3jw4ujbxwhc57nozkshgx5rxt"); //     alist->argc = j;
UNSUPPORTED("486bp2rr3wk0zelkdw41tofx1"); //     a = (agattr(agraphof(aghead(e)),AGEDGE,s_href,NULL));
UNSUPPORTED("ad7g9pfuiyqph0mif8l1dkp14"); //     if (!a)
UNSUPPORTED("99c3vwky3ugp7vv44mkpscky1"); // 	a = (agattr(agraphof(aghead(e)),AGEDGE,s_URL,NULL));
UNSUPPORTED("d0iv30h00si3pq8x1pcdz16i4"); //     if (a)
UNSUPPORTED("8egqarzi4ta3gz1dcxesfrghx"); // 	job->selected_href = strdup_and_subst_obj(agxget(e, a), (void*)e);
UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }

throw new UnsupportedOperationException();
}




//3 8ukey801l8kyj584x8r8s19fn
// static void gvevent_refresh(GVJ_t * job) 
public static Object gvevent_refresh(Object... arg) {
UNSUPPORTED("60f7iu3hlagh8mzyzi1gzv2do"); // static void gvevent_refresh(GVJ_t * job)
UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
UNSUPPORTED("budkdxy4ehaaoj6mevg8mts0k"); //     graph_t *g = job->gvc->g;
UNSUPPORTED("5imw9vxmcslbvur5jcmeiu666"); //     if (!job->selected_obj) {
UNSUPPORTED("azy0m0vmtvbtf9smncd59ni1f"); // 	job->selected_obj = g;
UNSUPPORTED("17j63u144fs4ppk3srq2ksaq4"); // 	GD_gui_state(g) |= (1<<1);
UNSUPPORTED("1jgisizs53om7ychvjg7vpfyh"); // 	gv_graph_state(job, g);
UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); //     }
UNSUPPORTED("11vg0v0lz31me44yr8gzuq1ig"); //     emit_graph(job, g);
UNSUPPORTED("avsp09o6v1ddidlj3obkxmudm"); //     job->has_been_rendered = NOT(0);
UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }

throw new UnsupportedOperationException();
}




//3 4s1y5j1ypefa3r6swg9s4epez
// static graph_t *gvevent_find_cluster(graph_t *g, boxf b) 
public static Object gvevent_find_cluster(Object... arg) {
UNSUPPORTED("efgiax9xi0giix6ubrt3ygjvi"); // static graph_t *gvevent_find_cluster(graph_t *g, boxf b)
UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
UNSUPPORTED("b17di9c7wgtqm51bvsyxz6e2f"); //     int i;
UNSUPPORTED("5wyi0wasd5kecf6rhsqdjk7v2"); //     graph_t *sg;
UNSUPPORTED("2lzsl1e035wt5epd1h8f4bn8m"); //     boxf bb;
UNSUPPORTED("7naa6f8pevjidfr7m41eli6xj"); //     for (i = 1; i <= GD_n_cluster(g); i++) {
UNSUPPORTED("4qqwxfj8r5wlw1qefrqdy0n93"); // 	sg = gvevent_find_cluster(GD_clust(g)[i], b);
UNSUPPORTED("7dfwj1tgop4l8xzqfh1vpckki"); // 	if (sg)
UNSUPPORTED("3e86a95m950jzhe4zgu9hyh49"); // 	    return(sg);
UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); //     }
UNSUPPORTED("3mns1dvab55ltos5d414fxujy"); //     B2BF(GD_bb(g), bb);
UNSUPPORTED("9o2ymndf5rcl0lrzb3mpd7bjg"); //     if (OVERLAP(b, bb))
UNSUPPORTED("4s6kjfhn4k2eg7whh6ebugifg"); // 	return g;
UNSUPPORTED("o68dp934ebg4cplebgc5hv4v"); //     return NULL;
UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }

throw new UnsupportedOperationException();
}




//3 10ow7fob9ddjkodlmx7wb3vlm
// static void * gvevent_find_obj(graph_t *g, boxf b) 
public static Object gvevent_find_obj(Object... arg) {
UNSUPPORTED("3kn145oul66bpk12w0lrsexgk"); // static void * gvevent_find_obj(graph_t *g, boxf b)
UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
UNSUPPORTED("5wyi0wasd5kecf6rhsqdjk7v2"); //     graph_t *sg;
UNSUPPORTED("cjx5v6hayed3q8eeub1cggqca"); //     node_t *n;
UNSUPPORTED("5gypxs09iuryx5a2eho9lgdcp"); //     edge_t *e;
UNSUPPORTED("7pal7ga4vmcz68u4ug0hj2sdc"); //     /* edges might overlap nodes, so search them first */
UNSUPPORTED("16hw9gw0dz2w7mrtba0eoqrdi"); //     for (n = agfstnode(g); n; n = agnxtnode(g, n))
UNSUPPORTED("8gbd6b2ssf51om8neirzzr6rw"); // 	for (e = agfstout(g, n); e; e = agnxtout(g, e))
UNSUPPORTED("eho7nl2fpak2f3plplt40xxj"); // 	    if (overlap_edge(e, b))
UNSUPPORTED("dwep52v1bdkluympomyk9i0ht"); // 	        return (void *)e;
UNSUPPORTED("espt12fa1hnstulykcqj7naca"); //     /* search graph backwards to get topmost node, in case of overlap */
UNSUPPORTED("27f2ji1mu3qyl3byjq0qs4vd2"); //     for (n = aglstnode(g); n; n = agprvnode(g, n))
UNSUPPORTED("3zwvpzb0u2yuv8hrgr513spuw"); // 	if (overlap_node(n, b))
UNSUPPORTED("dzrsq580bfkcuikl48wyapfj9"); // 	    return (void *)n;
UNSUPPORTED("3si0g6jo8cy92kb3olhbz5yjm"); //     /* search for innermost cluster */
UNSUPPORTED("7fupgm5yrt8w31ak393pj40fl"); //     sg = gvevent_find_cluster(g, b);
UNSUPPORTED("apxupu23wl3o8oxx7pkbsgpky"); //     if (sg)
UNSUPPORTED("34r930zbeg8mvb169774t3vbs"); // 	return (void *)sg;
UNSUPPORTED("4qfi0cgg83t97134rn90jaq0u"); //     /* otherwise - we're always in the graph */
UNSUPPORTED("avkvcekelud44sahe2wnjjpp4"); //     return (void *)g;
UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }

throw new UnsupportedOperationException();
}




//3 5b9dwyqfdvc0ntrai28ti5pry
// static void gvevent_leave_obj(GVJ_t * job) 
public static Object gvevent_leave_obj(Object... arg) {
UNSUPPORTED("2udbvguh4g3rx7hlo1neqvx58"); // static void gvevent_leave_obj(GVJ_t * job)
UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
UNSUPPORTED("7fhlvhrelhp8czzhodjpv852t"); //     void *obj = job->current_obj;
UNSUPPORTED("41wzimn2d65vativ6f19m0scl"); //     if (obj) {
UNSUPPORTED("bo62maae4sou42p2mt2qkourh"); //         switch (agobjkind(obj)) {
UNSUPPORTED("5wlxto4vyt8ldlvedarc2ayo5"); //         case AGRAPH:
UNSUPPORTED("92q8wsc5f6zpyree4vbax8cgz"); // 	    GD_gui_state((graph_t*)obj) &= ~(1<<0);
UNSUPPORTED("ai3czg6gaaxspsmndknpyvuiu"); // 	    break;
UNSUPPORTED("9pxpc0v20pz0zlioyzyi3liz"); //         case AGNODE:
UNSUPPORTED("cvmmjonbzluiek0tgu10677br"); // 	    ND_gui_state((node_t*)obj) &= ~(1<<0);
UNSUPPORTED("ai3czg6gaaxspsmndknpyvuiu"); // 	    break;
UNSUPPORTED("64ioinqgxud7s90lisfnn9l9z"); //         case AGEDGE:
UNSUPPORTED("1vtuqgfc8o6ssdm54seohnhgz"); // 	    ED_gui_state((edge_t*)obj) &= ~(1<<0);
UNSUPPORTED("ai3czg6gaaxspsmndknpyvuiu"); // 	    break;
UNSUPPORTED("4mhlpjofolwivhm0tl8cxznly"); //         }
UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); //     }
UNSUPPORTED("9xg2rumuo2tlvz2ggq2nk8yxt"); //     job->active_tooltip = NULL;
UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }

throw new UnsupportedOperationException();
}




//3 9bgq52z2yvkxbxgkigzxo155j
// static void gvevent_enter_obj(GVJ_t * job) 
public static Object gvevent_enter_obj(Object... arg) {
UNSUPPORTED("1j8b2x22wexvd0rg7rsvrcvdc"); // static void gvevent_enter_obj(GVJ_t * job)
UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
UNSUPPORTED("e5pb9fhb9rq54eedma7yjmh4k"); //     void *obj;
UNSUPPORTED("djl3ek9tn11htu3vj4zglczzz"); //     graph_t *g;
UNSUPPORTED("5gypxs09iuryx5a2eho9lgdcp"); //     edge_t *e;
UNSUPPORTED("cjx5v6hayed3q8eeub1cggqca"); //     node_t *n;
UNSUPPORTED("6fh2f49mjcser5usqcg36hkjn"); //     Agsym_t *a;
UNSUPPORTED("d85592gsof8mrrwh92c43cs7f"); //     if (job->active_tooltip) {
UNSUPPORTED("84wfl59jqbmf5pil5wayrrn6v"); // 	free(job->active_tooltip);
UNSUPPORTED("52xuc6ug71hj23vrl2dg6e69x"); // 	job->active_tooltip = NULL;
UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); //     }
UNSUPPORTED("4wr2gujkr9cuqpfogwyvtl6ve"); //     obj = job->current_obj;
UNSUPPORTED("41wzimn2d65vativ6f19m0scl"); //     if (obj) {
UNSUPPORTED("bo62maae4sou42p2mt2qkourh"); //         switch (agobjkind(obj)) {
UNSUPPORTED("5wlxto4vyt8ldlvedarc2ayo5"); //         case AGRAPH:
UNSUPPORTED("5ww62hqfywcpculirwqpvugv4"); // 	    g = (graph_t*)obj;
UNSUPPORTED("5kvw2y807unke5dvr69a1cxtt"); // 	    GD_gui_state(g) |= (1<<0);
UNSUPPORTED("am1gx79uny2n1upipes6lycqc"); // 	    a = (agattr(g,AGRAPH,s_tooltip,NULL));
UNSUPPORTED("9qz40i0064xica1x2lm4xs62b"); // 	    if (a)
UNSUPPORTED("86bd5sstgfox932dk4j5ctawx"); // 		job->active_tooltip = strdup_and_subst_obj(agxget(g, a), obj);
UNSUPPORTED("ai3czg6gaaxspsmndknpyvuiu"); // 	    break;
UNSUPPORTED("9pxpc0v20pz0zlioyzyi3liz"); //         case AGNODE:
UNSUPPORTED("68c51l5dq12wn0ye4kkxvxvli"); // 	    n = (node_t*)obj;
UNSUPPORTED("3o0b9nkrxqjsirceenjg84yhu"); // 	    ND_gui_state(n) |= (1<<0);
UNSUPPORTED("3dqzz9izp2l3j72cm22vxnxz3"); // 	    a = (agattr(agraphof(n),AGNODE,s_tooltip,NULL));
UNSUPPORTED("9qz40i0064xica1x2lm4xs62b"); // 	    if (a)
UNSUPPORTED("192ludujzp8wewqginadgo6sh"); // 		job->active_tooltip = strdup_and_subst_obj(agxget(n, a), obj);
UNSUPPORTED("ai3czg6gaaxspsmndknpyvuiu"); // 	    break;
UNSUPPORTED("64ioinqgxud7s90lisfnn9l9z"); //         case AGEDGE:
UNSUPPORTED("1sfsn5gjybpvn8ecor2j6ia72"); // 	    e = (edge_t*)obj;
UNSUPPORTED("5a5lk7ama2h4rs90rp4md4ive"); // 	    ED_gui_state(e) |= (1<<0);
UNSUPPORTED("a83370r56wwtq6yvlqqz4x6mg"); // 	    a = (agattr(agraphof(aghead(e)),AGEDGE,s_tooltip,NULL));
UNSUPPORTED("9qz40i0064xica1x2lm4xs62b"); // 	    if (a)
UNSUPPORTED("4ib9lz9n3e9d9ruzlftax0tze"); // 		job->active_tooltip = strdup_and_subst_obj(agxget(e, a), obj);
UNSUPPORTED("ai3czg6gaaxspsmndknpyvuiu"); // 	    break;
UNSUPPORTED("4mhlpjofolwivhm0tl8cxznly"); //         }
UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); //     }
UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }

throw new UnsupportedOperationException();
}




//3 3bfngnj00p5wmq3vn6ezfbf94
// static pointf pointer2graph (GVJ_t *job, pointf pointer) 
public static Object pointer2graph(Object... arg) {
UNSUPPORTED("f3p1sbwml36d6avt439q10bzv"); // static pointf pointer2graph (GVJ_t *job, pointf pointer)
UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
UNSUPPORTED("2bghyit203pd6xw2ihhenzyn8"); //     pointf p;
UNSUPPORTED("7hiilb9xpwzl7zzlvutjvty6v"); //     /* transform position in device units to position in graph units */
UNSUPPORTED("3h1yo631e2fq69mxwoggya716"); //     if (job->rotation) {
UNSUPPORTED("30ofcuacpdvu0ywex5uyutuzj"); //         p.x = pointer.y / (job->zoom * job->devscale.y) - job->translation.x;
UNSUPPORTED("1fl2nifv1w54jg4mkvhzqy622"); //         p.y = -pointer.x / (job->zoom * job->devscale.x) - job->translation.y;
UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); //     }
UNSUPPORTED("1nyzbeonram6636b1w955bypn"); //     else {
UNSUPPORTED("6g5n8h3dlw9ip1cdkdazows22"); //         p.x = pointer.x / (job->zoom * job->devscale.x) - job->translation.x;
UNSUPPORTED("as5nwpslv0m20j4m91fxdn7qn"); //         p.y = pointer.y / (job->zoom * job->devscale.y) - job->translation.y;
UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); //     }
UNSUPPORTED("91xduilalb406jjyw2g1i07th"); //     return p;
UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }

throw new UnsupportedOperationException();
}




//3 60qzqk2f8g5r608jr61n4m8fl
// static void gvevent_find_current_obj(GVJ_t * job, pointf pointer) 
public static Object gvevent_find_current_obj(Object... arg) {
UNSUPPORTED("73itu563p91qxc75le40uri3v"); // static void gvevent_find_current_obj(GVJ_t * job, pointf pointer)
UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
UNSUPPORTED("e5pb9fhb9rq54eedma7yjmh4k"); //     void *obj;
UNSUPPORTED("c57pq0f87j6dnbcvygu7v6k84"); //     boxf b;
UNSUPPORTED("bn82a8um6s6q9kv8xhz0y4532"); //     double closeenough;
UNSUPPORTED("2bghyit203pd6xw2ihhenzyn8"); //     pointf p;
UNSUPPORTED("e90p0pfjf8awf9o8saz5zeg1p"); //     p =  pointer2graph (job, pointer);
UNSUPPORTED("4yw8v5qer8c35skrnab7qvzar"); //     /* convert window point to graph coordinates */
UNSUPPORTED("ed3b1vw5anajzc04hkpj8tpln"); //     closeenough = 1 / job->zoom;
UNSUPPORTED("2jwwft3e122mczo9voml0jvyj"); //     b.UR.x = p.x + closeenough;
UNSUPPORTED("evkhbbm8g1x40j4cz0d3v7prs"); //     b.UR.y = p.y + closeenough;
UNSUPPORTED("68oj02o1giw3jceus44ixnxm8"); //     b.LL.x = p.x - closeenough;
UNSUPPORTED("e9aorl9o9qnkn8mfdfzpzy60t"); //     b.LL.y = p.y - closeenough;
UNSUPPORTED("ayptl6u6apxfce7alpeck5smt"); //     obj = gvevent_find_obj(job->gvc->g, b);
UNSUPPORTED("3owfawe3qbxrv9mxsn7fkyqpv"); //     if (obj != job->current_obj) {
UNSUPPORTED("90lan2ouldugywinbb3grjf3x"); // 	gvevent_leave_obj(job);
UNSUPPORTED("bh8osiivcr3uzxhjf46i0mpfu"); // 	job->current_obj = obj;
UNSUPPORTED("5ppo0fv5d3bhkhkyc2nh1llwq"); // 	gvevent_enter_obj(job);
UNSUPPORTED("8so9jtnfbj4rh32qoan7atzqd"); // 	job->needs_refresh = 1;
UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); //     }
UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }

throw new UnsupportedOperationException();
}




//3 56do4vqpnbnmg3ft0lfzt4eny
// static void gvevent_select_current_obj(GVJ_t * job) 
public static Object gvevent_select_current_obj(Object... arg) {
UNSUPPORTED("d4h54hfakl4a6svzusjuvsqkx"); // static void gvevent_select_current_obj(GVJ_t * job)
UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
UNSUPPORTED("e5pb9fhb9rq54eedma7yjmh4k"); //     void *obj;
UNSUPPORTED("d5fzsj1jcer8417dmj6ucf9js"); //     obj = job->selected_obj;
UNSUPPORTED("41wzimn2d65vativ6f19m0scl"); //     if (obj) {
UNSUPPORTED("bo62maae4sou42p2mt2qkourh"); //         switch (agobjkind(obj)) {
UNSUPPORTED("5wlxto4vyt8ldlvedarc2ayo5"); //         case AGRAPH:
UNSUPPORTED("1i9nwrkfuqhgca5dxmsumixwr"); // 	    GD_gui_state((graph_t*)obj) |= (1<<2);
UNSUPPORTED("79uerqxetp1ko0aj4yetyj0y3"); // 	    GD_gui_state((graph_t*)obj) &= ~(1<<1);
UNSUPPORTED("ai3czg6gaaxspsmndknpyvuiu"); // 	    break;
UNSUPPORTED("9pxpc0v20pz0zlioyzyi3liz"); //         case AGNODE:
UNSUPPORTED("5ot4q2aa7yyy1g83h7bv9udsb"); // 	    ND_gui_state((node_t*)obj) |= (1<<2);
UNSUPPORTED("48546mtoje2ca7wf2x0uvej8v"); // 	    ND_gui_state((node_t*)obj) &= ~(1<<1);
UNSUPPORTED("ai3czg6gaaxspsmndknpyvuiu"); // 	    break;
UNSUPPORTED("64ioinqgxud7s90lisfnn9l9z"); //         case AGEDGE:
UNSUPPORTED("apwapkeiw3ich5muguhdwqg6l"); // 	    ED_gui_state((edge_t*)obj) |= (1<<2);
UNSUPPORTED("e4zgcxcfg2dgy09byo2wzrauh"); // 	    ED_gui_state((edge_t*)obj) &= ~(1<<1);
UNSUPPORTED("ai3czg6gaaxspsmndknpyvuiu"); // 	    break;
UNSUPPORTED("4mhlpjofolwivhm0tl8cxznly"); //         }
UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); //     }
UNSUPPORTED("b63ukicafdpen83mpxp42b9ha"); //     if (job->selected_href) {
UNSUPPORTED("8vjgoeh45krs5nlc431jkmoc5"); // 	free(job->selected_href);
UNSUPPORTED("uxywfn5fme945tooe7ybes33"); //         job->selected_href = NULL;
UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); //     }
UNSUPPORTED("82ds4to6mlgnz1hudzp8txutz"); //     obj = job->selected_obj = job->current_obj;
UNSUPPORTED("41wzimn2d65vativ6f19m0scl"); //     if (obj) {
UNSUPPORTED("bo62maae4sou42p2mt2qkourh"); //         switch (agobjkind(obj)) {
UNSUPPORTED("5wlxto4vyt8ldlvedarc2ayo5"); //         case AGRAPH:
UNSUPPORTED("dgh6iielec5vwkfe73s6dl0dm"); // 	    GD_gui_state((graph_t*)obj) |= (1<<1);
UNSUPPORTED("92cql7151gbg5s7txp1qtzxcr"); // 	    gv_graph_state(job, (graph_t*)obj);
UNSUPPORTED("ai3czg6gaaxspsmndknpyvuiu"); // 	    break;
UNSUPPORTED("9pxpc0v20pz0zlioyzyi3liz"); //         case AGNODE:
UNSUPPORTED("4o58dr1al4d1df95cudpf50va"); // 	    ND_gui_state((node_t*)obj) |= (1<<1);
UNSUPPORTED("asc1h0xpooldmbd3qr3egpi4t"); // 	    gv_node_state(job, (node_t*)obj);
UNSUPPORTED("ai3czg6gaaxspsmndknpyvuiu"); // 	    break;
UNSUPPORTED("64ioinqgxud7s90lisfnn9l9z"); //         case AGEDGE:
UNSUPPORTED("8sqrwwvrd8cd3xhgq8jenn5uy"); // 	    ED_gui_state((edge_t*)obj) |= (1<<1);
UNSUPPORTED("burs8yypr2qjea6o5p2afz6su"); // 	    gv_edge_state(job, (edge_t*)obj);
UNSUPPORTED("ai3czg6gaaxspsmndknpyvuiu"); // 	    break;
UNSUPPORTED("4mhlpjofolwivhm0tl8cxznly"); //         }
UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); //     }
UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }

throw new UnsupportedOperationException();
}




//3 ex60hox8s3z8id5zo7lak7xbi
// static void gvevent_button_press(GVJ_t * job, int button, pointf pointer) 
public static Object gvevent_button_press(Object... arg) {
UNSUPPORTED("b9kw1b3m8gqabvmmm2gedhmms"); // static void gvevent_button_press(GVJ_t * job, int button, pointf pointer)
UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
UNSUPPORTED("3zcgccimpfphalnj0i8mfm2r1"); //     switch (button) {
UNSUPPORTED("699cb0yxkg370qhog523g9x8z"); //     case 1: /* select / create in edit mode */
UNSUPPORTED("75lxnhkp5b7e2lfc5y4rxj1fq"); // 	gvevent_find_current_obj(job, pointer);
UNSUPPORTED("cyd579rit2exwz1a7b71163t3"); // 	gvevent_select_current_obj(job);
UNSUPPORTED("3a8qzflnwqfg82zo20c4zvmkt"); //         job->click = 1;
UNSUPPORTED("blmcsrkt74letf8tkc2ccm4f7"); // 	job->button = button;
UNSUPPORTED("8so9jtnfbj4rh32qoan7atzqd"); // 	job->needs_refresh = 1;
UNSUPPORTED("6aw91xzjmqvmtdvt1di23af8y"); // 	break;
UNSUPPORTED("4oz4gni7lyi54dde4wm3uz8a7"); //     case 2: /* pan */
UNSUPPORTED("3a8qzflnwqfg82zo20c4zvmkt"); //         job->click = 1;
UNSUPPORTED("blmcsrkt74letf8tkc2ccm4f7"); // 	job->button = button;
UNSUPPORTED("8so9jtnfbj4rh32qoan7atzqd"); // 	job->needs_refresh = 1;
UNSUPPORTED("6aw91xzjmqvmtdvt1di23af8y"); // 	break;
UNSUPPORTED("3k03pmr90eomik84zdhdrti3s"); //     case 3: /* insert node or edge */
UNSUPPORTED("75lxnhkp5b7e2lfc5y4rxj1fq"); // 	gvevent_find_current_obj(job, pointer);
UNSUPPORTED("3a8qzflnwqfg82zo20c4zvmkt"); //         job->click = 1;
UNSUPPORTED("blmcsrkt74letf8tkc2ccm4f7"); // 	job->button = button;
UNSUPPORTED("8so9jtnfbj4rh32qoan7atzqd"); // 	job->needs_refresh = 1;
UNSUPPORTED("6aw91xzjmqvmtdvt1di23af8y"); // 	break;
UNSUPPORTED("7gwyze795m9aa2915n3bou49x"); //     case 4:
UNSUPPORTED("2ml1iwm44d5cxsqng95pnixi1"); //         /* scrollwheel zoom in at current mouse x,y */
UNSUPPORTED("4vad6btam4cn6noqw97sfmlhl"); // /* FIXME - should code window 0,0 point as feature with Y_GOES_DOWN */
UNSUPPORTED("76vpgnr0ye1dojhnhy0otwjle"); //         job->fit_mode = 0;
UNSUPPORTED("1oas1wgag0hif8qx29v4yklxv"); //         if (job->rotation) {
UNSUPPORTED("7g6sapcaxcof3pw9t271w1y8h"); //             job->focus.x -= (pointer.y - job->height / 2.)
UNSUPPORTED("9hyk0c7dwfz4h1crmjhezz45e"); //                     * (1.1 - 1.) / (job->zoom * job->devscale.y);
UNSUPPORTED("e43b0b2imzn8b8ynbp2mal4md"); //             job->focus.y += (pointer.x - job->width / 2.)
UNSUPPORTED("2agqs1sz6w0xj54uuzxsih3ae"); //                     * (1.1 - 1.) / (job->zoom * job->devscale.x);
UNSUPPORTED("4mhlpjofolwivhm0tl8cxznly"); //         }
UNSUPPORTED("3jir07ymknf0hmb9pv9x4dr3o"); //         else {
UNSUPPORTED("92b9yfihf7feuu1ojha98aucx"); //             job->focus.x += (pointer.x - job->width / 2.)
UNSUPPORTED("2agqs1sz6w0xj54uuzxsih3ae"); //                     * (1.1 - 1.) / (job->zoom * job->devscale.x);
UNSUPPORTED("4pupq132vcd87490ty9jmdkpf"); //             job->focus.y += (pointer.y - job->height / 2.)
UNSUPPORTED("9hyk0c7dwfz4h1crmjhezz45e"); //                     * (1.1 - 1.) / (job->zoom * job->devscale.y);
UNSUPPORTED("4mhlpjofolwivhm0tl8cxznly"); //         }
UNSUPPORTED("wr2oieepfov8hz62dktq6f2z"); //         job->zoom *= 1.1;
UNSUPPORTED("6pu9nvcwfkrjt09xcyews4irj"); //         job->needs_refresh = 1;
UNSUPPORTED("bzxyddcf9jharsko2rb8asyik"); //         break;
UNSUPPORTED("73i90hwf5c0jb5w9lww7yboeq"); //     case 5: /* scrollwheel zoom out at current mouse x,y */
UNSUPPORTED("76vpgnr0ye1dojhnhy0otwjle"); //         job->fit_mode = 0;
UNSUPPORTED("e9tz2awchoyjb7frdzwnroacm"); //         job->zoom /= 1.1;
UNSUPPORTED("1oas1wgag0hif8qx29v4yklxv"); //         if (job->rotation) {
UNSUPPORTED("c8wc46or371rjqifvi8r998kd"); //             job->focus.x += (pointer.y - job->height / 2.)
UNSUPPORTED("9hyk0c7dwfz4h1crmjhezz45e"); //                     * (1.1 - 1.) / (job->zoom * job->devscale.y);
UNSUPPORTED("o0u8c2v37omgye9ilucvtvhv"); //             job->focus.y -= (pointer.x - job->width / 2.)
UNSUPPORTED("2agqs1sz6w0xj54uuzxsih3ae"); //                     * (1.1 - 1.) / (job->zoom * job->devscale.x);
UNSUPPORTED("4mhlpjofolwivhm0tl8cxznly"); //         }
UNSUPPORTED("3jir07ymknf0hmb9pv9x4dr3o"); //         else {
UNSUPPORTED("6zwx79wm2llpicj0vx8ddjhyh"); //             job->focus.x -= (pointer.x - job->width / 2.)
UNSUPPORTED("2agqs1sz6w0xj54uuzxsih3ae"); //                     * (1.1 - 1.) / (job->zoom * job->devscale.x);
UNSUPPORTED("3qaatj1xmirq053hae4xzwr2l"); //             job->focus.y -= (pointer.y - job->height / 2.)
UNSUPPORTED("9hyk0c7dwfz4h1crmjhezz45e"); //                     * (1.1 - 1.) / (job->zoom * job->devscale.y);
UNSUPPORTED("4mhlpjofolwivhm0tl8cxznly"); //         }
UNSUPPORTED("6pu9nvcwfkrjt09xcyews4irj"); //         job->needs_refresh = 1;
UNSUPPORTED("bzxyddcf9jharsko2rb8asyik"); //         break;
UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); //     }
UNSUPPORTED("62hf9ws0l8zd35rei8kd6y3u0"); //     job->oldpointer = pointer;
UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }

throw new UnsupportedOperationException();
}




//3 65hgbjypgt12lezyx7wgj6mhm
// static void gvevent_button_release(GVJ_t *job, int button, pointf pointer) 
public static Object gvevent_button_release(Object... arg) {
UNSUPPORTED("d2aelqvksu4avszxarr327x9o"); // static void gvevent_button_release(GVJ_t *job, int button, pointf pointer)
UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
UNSUPPORTED("4kf4459mj5lftb83ao5l6rf4w"); //     job->click = 0;
UNSUPPORTED("3h1jvgy0zcvs1uzxzvemt60gd"); //     job->button = 0;
UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }

throw new UnsupportedOperationException();
}




//3 40ck841yiiqu2vr67m7w0ayru
// static void gvevent_motion(GVJ_t * job, pointf pointer) 
public static Object gvevent_motion(Object... arg) {
UNSUPPORTED("1k2shillcd8968xvxu3cbamfb"); // static void gvevent_motion(GVJ_t * job, pointf pointer)
UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
UNSUPPORTED("5xe1ey15po4uno8y4t9cbugi5"); //     /* dx,dy change in position, in device independent points */
UNSUPPORTED("c18b7wll7ujgfq0htgi5h6jkk"); //     double dx = (pointer.x - job->oldpointer.x) / job->devscale.x;
UNSUPPORTED("e8ewy0zul25k4mvzr5whcqkoj"); //     double dy = (pointer.y - job->oldpointer.y) / job->devscale.y;
UNSUPPORTED("cck0f698k4qf95xqzoos3niwt"); //     if (abs(dx) < .0001 && abs(dy) < .0001)  /* ignore motion events with no motion */
UNSUPPORTED("a7fgam0j0jm7bar0mblsv3no4"); // 	return;
UNSUPPORTED("9fk4hgwrkwuthrmr5tsmjkj0w"); //     switch (job->button) {
UNSUPPORTED("dqvbfy1kj4sm1clzp84yypk0g"); //     case 0: /* drag with no button - */
UNSUPPORTED("75lxnhkp5b7e2lfc5y4rxj1fq"); // 	gvevent_find_current_obj(job, pointer);
UNSUPPORTED("6aw91xzjmqvmtdvt1di23af8y"); // 	break;
UNSUPPORTED("8qnt25sjs3lrjlk6jo36k0lca"); //     case 1: /* drag with button 1 - drag object */
UNSUPPORTED("17jbzecixgbp57ifr720i2w23"); // 	/* FIXME - to be implemented */
UNSUPPORTED("6aw91xzjmqvmtdvt1di23af8y"); // 	break;
UNSUPPORTED("f401i5lou32das0fux80r5ic9"); //     case 2: /* drag with button 2 - pan graph */
UNSUPPORTED("6oc35uo8bb3x21jhtp2wmzsmn"); // 	if (job->rotation) {
UNSUPPORTED("5uheedtwe7j6nydvsdwgvdsj5"); // 	    job->focus.x -= dy / job->zoom;
UNSUPPORTED("87lkqikxkyin4n49mf3ui048z"); // 	    job->focus.y += dx / job->zoom;
UNSUPPORTED("flupwh3kosf3fkhkxllllt1"); // 	}
UNSUPPORTED("8k75h069sv2k9b6tgz77dscwd"); // 	else {
UNSUPPORTED("1yoovihyt7x68mlrh1v3957o4"); // 	    job->focus.x -= dx / job->zoom;
UNSUPPORTED("6zgznv9znc83j9bgdvnnwczoo"); // 	    job->focus.y -= dy / job->zoom;
UNSUPPORTED("flupwh3kosf3fkhkxllllt1"); // 	}
UNSUPPORTED("8so9jtnfbj4rh32qoan7atzqd"); // 	job->needs_refresh = 1;
UNSUPPORTED("6aw91xzjmqvmtdvt1di23af8y"); // 	break;
UNSUPPORTED("92nzvfmuso8utk1ncws76nrkl"); //     case 3: /* drag with button 3 - drag inserted node or uncompleted edge */
UNSUPPORTED("6aw91xzjmqvmtdvt1di23af8y"); // 	break;
UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); //     }
UNSUPPORTED("62hf9ws0l8zd35rei8kd6y3u0"); //     job->oldpointer = pointer;
UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }

throw new UnsupportedOperationException();
}




//3 309h3ymhziboe2mht4n46ru47
// static int quit_cb(GVJ_t * job) 
public static Object quit_cb(Object... arg) {
UNSUPPORTED("d2aasjdi3qo1v67f1xh4m4a9q"); // static int quit_cb(GVJ_t * job)
UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
UNSUPPORTED("3tcgz4dupb6kw5tdk7n3pca2l"); //     return 1;
UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }

throw new UnsupportedOperationException();
}




//3 2d3158r4aw8sdu1oeit21vqmq
// static int left_cb(GVJ_t * job) 
public static Object left_cb(Object... arg) {
UNSUPPORTED("521h83irh6091dct76cd4wq3o"); // static int left_cb(GVJ_t * job)
UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
UNSUPPORTED("1jc6q1sk7wtw38mibr185b4ae"); //     job->fit_mode = 0;
UNSUPPORTED("258sx21x70eo4z4f4cjjzfdk5"); //     job->focus.x += 10 / job->zoom;
UNSUPPORTED("14bxw21mx0itq382s1d9yvadm"); //     job->needs_refresh = 1;
UNSUPPORTED("5oxhd3fvp0gfmrmz12vndnjt"); //     return 0;
UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }

throw new UnsupportedOperationException();
}




//3 djqsh8zi6zin7tc1ablymhqyd
// static int right_cb(GVJ_t * job) 
public static Object right_cb(Object... arg) {
UNSUPPORTED("e0rr45fh4bimynpp3tyzov053"); // static int right_cb(GVJ_t * job)
UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
UNSUPPORTED("1jc6q1sk7wtw38mibr185b4ae"); //     job->fit_mode = 0;
UNSUPPORTED("6e17ijfp2skgoy0iikmod5cv7"); //     job->focus.x -= 10 / job->zoom;
UNSUPPORTED("14bxw21mx0itq382s1d9yvadm"); //     job->needs_refresh = 1;
UNSUPPORTED("5oxhd3fvp0gfmrmz12vndnjt"); //     return 0;
UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }

throw new UnsupportedOperationException();
}




//3 9yjypnd484350411fozpecu1w
// static int up_cb(GVJ_t * job) 
public static Object up_cb(Object... arg) {
UNSUPPORTED("2xwjivk6gbwmjk2orf31i0bn1"); // static int up_cb(GVJ_t * job)
UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
UNSUPPORTED("1jc6q1sk7wtw38mibr185b4ae"); //     job->fit_mode = 0;
UNSUPPORTED("1gf4o3dtzjulg5xtxmjp31u3x"); //     job->focus.y += -(10 / job->zoom);
UNSUPPORTED("14bxw21mx0itq382s1d9yvadm"); //     job->needs_refresh = 1;
UNSUPPORTED("5oxhd3fvp0gfmrmz12vndnjt"); //     return 0;
UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }

throw new UnsupportedOperationException();
}




//3 ao1epwwls96l9rn7aorg8t57w
// static int down_cb(GVJ_t * job) 
public static Object down_cb(Object... arg) {
UNSUPPORTED("xxaph7ayk44vfwcpj202iq1k"); // static int down_cb(GVJ_t * job)
UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
UNSUPPORTED("1jc6q1sk7wtw38mibr185b4ae"); //     job->fit_mode = 0;
UNSUPPORTED("36xzjyr5ndfvwfeodypoae9b8"); //     job->focus.y -= -(10 / job->zoom);
UNSUPPORTED("14bxw21mx0itq382s1d9yvadm"); //     job->needs_refresh = 1;
UNSUPPORTED("5oxhd3fvp0gfmrmz12vndnjt"); //     return 0;
UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }

throw new UnsupportedOperationException();
}




//3 s9fxrizmsy50pmyuxkmqxk6u
// static int zoom_in_cb(GVJ_t * job) 
public static Object zoom_in_cb(Object... arg) {
UNSUPPORTED("2riwlfksx6nk9oydtk942wbs8"); // static int zoom_in_cb(GVJ_t * job)
UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
UNSUPPORTED("1jc6q1sk7wtw38mibr185b4ae"); //     job->fit_mode = 0;
UNSUPPORTED("cbpe6q4xe7lv6rmzvuq51p7yk"); //     job->zoom *= 1.1;
UNSUPPORTED("14bxw21mx0itq382s1d9yvadm"); //     job->needs_refresh = 1;
UNSUPPORTED("5oxhd3fvp0gfmrmz12vndnjt"); //     return 0;
UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }

throw new UnsupportedOperationException();
}




//3 dwx7pk3xbbk6xsv7okp2izif4
// static int zoom_out_cb(GVJ_t * job) 
public static Object zoom_out_cb(Object... arg) {
UNSUPPORTED("adt5ckz3j0b6igqhekyzi9j3c"); // static int zoom_out_cb(GVJ_t * job)
UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
UNSUPPORTED("1jc6q1sk7wtw38mibr185b4ae"); //     job->fit_mode = 0;
UNSUPPORTED("6nhoh1qyyztet8mqqpvccbrt8"); //     job->zoom /= 1.1;
UNSUPPORTED("14bxw21mx0itq382s1d9yvadm"); //     job->needs_refresh = 1;
UNSUPPORTED("5oxhd3fvp0gfmrmz12vndnjt"); //     return 0;
UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }

throw new UnsupportedOperationException();
}




//3 3v74j066qbm5zjvdffnjqqjsb
// static int toggle_fit_cb(GVJ_t * job) 
public static Object toggle_fit_cb(Object... arg) {
UNSUPPORTED("calj7u9drqvbnznvt9qpgpco"); // static int toggle_fit_cb(GVJ_t * job)
UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
UNSUPPORTED("bk1me2jow1k66xklpyf96da8z"); // /*FIXME - should allow for margins */
UNSUPPORTED("ca08k9e4l7k97t09hno8eg5ic"); // /*      - similar zoom_to_fit code exists in: */
UNSUPPORTED("407kig1fpgnuaqr1p9rmn7rvh"); // /*      plugin/gtk/callbacks.c */
UNSUPPORTED("75fmjzjh5oukz4xyadm6o2rrg"); // /*      plugin/xlib/gvdevice_xlib.c */
UNSUPPORTED("dtwhbdevq5apej1dgmz28t9t8"); // /*      lib/gvc/gvevent.c */
UNSUPPORTED("3gekppn80z1eb3aglohw61u3m"); //     job->fit_mode = !job->fit_mode;
UNSUPPORTED("cpguagf0s57pek6mm9zvj1dvn"); //     if (job->fit_mode) {
UNSUPPORTED("syw74d3j5j2nfdmkv9evrita"); // 	/* FIXME - this code looks wrong */
UNSUPPORTED("9oyvwx5y9ax3tg2zqwhpv3gdn"); // 	int dflt_width, dflt_height;
UNSUPPORTED("8j3kezo5opp2m5wn3ly37cz39"); // 	dflt_width = job->width;
UNSUPPORTED("d9way4je7rmtkau2r1nauz7ys"); // 	dflt_height = job->height;
UNSUPPORTED("6cbgfx2rz5ryr8r0wxuagn4z0"); // 	job->zoom =
UNSUPPORTED("kgc4bn46xnur16uv4rmw4ba7"); // 	    MIN((double) job->width / (double) dflt_width,
UNSUPPORTED("xquy3dhq6f4rs8amktm3abt6"); // 		(double) job->height / (double) dflt_height);
UNSUPPORTED("1e1oqbruejs7bca1s0k1bke3s"); // 	job->focus.x = 0.0;
UNSUPPORTED("4zzdaatjg7hr1ge378anr4q9w"); // 	job->focus.y = 0.0;
UNSUPPORTED("8so9jtnfbj4rh32qoan7atzqd"); // 	job->needs_refresh = 1;
UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); //     }
UNSUPPORTED("5oxhd3fvp0gfmrmz12vndnjt"); //     return 0;
UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }

throw new UnsupportedOperationException();
}




//3 56ccrkgaretp9luumyk09sglf
// static void gvevent_modify (GVJ_t * job, const char *name, const char *value) 
public static Object gvevent_modify(Object... arg) {
UNSUPPORTED("9a50fbnlu9tkk620l868zqnuy"); // static void gvevent_modify (GVJ_t * job, const char *name, const char *value)
UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
UNSUPPORTED("42d3fg9bdfs5c7bjfa8ifmifa"); //     /* FIXME */
UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }

throw new UnsupportedOperationException();
}




//3 9y8ix71hznhgpqhdprgm6k2bf
// static void gvevent_delete (GVJ_t * job) 
public static Object gvevent_delete(Object... arg) {
UNSUPPORTED("e1gm68y4wg586b527136y2y6z"); // static void gvevent_delete (GVJ_t * job)
UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
UNSUPPORTED("42d3fg9bdfs5c7bjfa8ifmifa"); //     /* FIXME */
UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }

throw new UnsupportedOperationException();
}




//3 biioemf5ai5iuyoolocr03hc3
// static void gvevent_read (GVJ_t * job, const char *filename, const char *layout) 
public static Object gvevent_read(Object... arg) {
UNSUPPORTED("4h0co0klq5h3sj7yxdyzcvncb"); // static void gvevent_read (GVJ_t * job, const char *filename, const char *layout)
UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
UNSUPPORTED("3al75fenupx704zal37z61c8b"); //     FILE *f;
UNSUPPORTED("8f3ds00y6y855lum5r1q8iguu"); //     GVC_t *gvc;
UNSUPPORTED("dche8rg8aigyynyqrt6nu6pi9"); //     Agraph_t *g = NULL;
UNSUPPORTED("a7up84jfetsqtynw5ox47rdn1"); //     gvlayout_engine_t *gvle;
UNSUPPORTED("7j5dmfadhocojbtl83jkh6xjg"); //     gvc = job->gvc;
UNSUPPORTED("bds8dq7k78imolfuqvsompdpf"); //     if (!filename) {
UNSUPPORTED("13uys361kmjd3qx8b3kmbfddm"); // 	g = agopen("G", Agdirected, ((Agdisc_t *)0));
UNSUPPORTED("5dm2nbgqv55kkg3rp77draehf"); // 	job->output_filename = "new.gv";
UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); //     }
UNSUPPORTED("1nyzbeonram6636b1w955bypn"); //     else {
UNSUPPORTED("7bjzgpbe070yudayasbofefn6"); // 	f = fopen(filename, "r");
UNSUPPORTED("cph6k7prppj2jpk1p0kv21lzt"); // 	if (!f)
UNSUPPORTED("vsh6vacplnxa4vg4vqz6gr3h"); // 	   return;   /* FIXME - need some error handling */
UNSUPPORTED("4dxia19suxcfx8nx4kkv03xvr"); // 	g = agread(f,((Agdisc_t *)0));
UNSUPPORTED("chdfpk39x7sd1pta68dy54uc7"); // 	fclose(f);
UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); //     }
UNSUPPORTED("d4y2wp550bqfklklls2la62re"); //     if (!g)
UNSUPPORTED("t91xvoytv7bz3axiuer1p2jk"); // 	return;   /* FIXME - need some error handling */
UNSUPPORTED("8vkljh4chrkc3gbo7q02no1z9"); //     if (gvc->g) {
UNSUPPORTED("bufvf17xepz6u0m39ufe7ye84"); // 	gvle = gvc->layout.engine;
UNSUPPORTED("czf1mh1evonsv8so8ps3947ll"); // 	if (gvle && gvle->cleanup)
UNSUPPORTED("uyay82wv3l1kokjwlaueo2db"); // 	    gvle->cleanup(gvc->g);
UNSUPPORTED("2aupiz398k8rkbfq3c05sw8rv"); // 	graph_cleanup(gvc->g);
UNSUPPORTED("a5pud2m3sxqnuvqgon9a1at18"); // 	agclose(gvc->g);
UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); //     }
UNSUPPORTED("dc88opmbj2t1d95ft4b1qfucr"); //     aginit (g, AGRAPH, "Agraphinfo_t", sizeof(Agraphinfo_t), NOT(0));
UNSUPPORTED("9ags1qc3lejto2k8tjopp22e1"); //     aginit (g, AGNODE, "Agnodeinfo_t", sizeof(Agnodeinfo_t), NOT(0));
UNSUPPORTED("e8pylpzs6p3co7burg6on5rs9"); //     aginit (g, AGEDGE, "Agedgeinfo_t", sizeof(Agedgeinfo_t), NOT(0));
UNSUPPORTED("8zmfa30bj4y52yk4nu6fzjg4a"); //     gvc->g = g;
UNSUPPORTED("eal5jjm76ug7lf7e9m9yk6um"); //     GD_gvc(g) = gvc;
UNSUPPORTED("6cbvip0hdqnrg54zv7c3oesf1"); //     if (gvLayout(gvc, g, layout) == -1)
UNSUPPORTED("t91xvoytv7bz3axiuer1p2jk"); // 	return;   /* FIXME - need some error handling */
UNSUPPORTED("99q6bmbem9osq0wmq124s5bc4"); //     job->selected_obj = NULL;
UNSUPPORTED("cqfz5sjxk5oljgi2g2rkngkxw"); //     job->current_obj = NULL;
UNSUPPORTED("14bxw21mx0itq382s1d9yvadm"); //     job->needs_refresh = 1;
UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }

throw new UnsupportedOperationException();
}




//3 1k1rh0zcbdhmc63pah8p3v9a5
// static void gvevent_layout (GVJ_t * job, const char *layout) 
public static Object gvevent_layout(Object... arg) {
UNSUPPORTED("84aq06ks1526mvfbsygstl1m6"); // static void gvevent_layout (GVJ_t * job, const char *layout)
UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
UNSUPPORTED("6vga6er14oo3mi8zwv56hjzy9"); //     gvLayout(job->gvc, job->gvc->g, layout);
UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }

throw new UnsupportedOperationException();
}




//3 8m9msj4hgktq8ewa10u5wbtf7
// static void gvevent_render (GVJ_t * job, const char *format, const char *filename) 
public static Object gvevent_render(Object... arg) {
UNSUPPORTED("6lp11ec3wv4z0karcudj7m75i"); // static void gvevent_render (GVJ_t * job, const char *format, const char *filename)
UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
UNSUPPORTED("bwwsrqv41ezfoxciv5yp7fxcs"); //     gvRenderFilename(job->gvc, job->gvc->g, format, filename);
UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }

throw new UnsupportedOperationException();
}


//1 5jkaqx0en4lqut923scwlpad7
// gvevent_key_binding_t gvevent_key_binding[] = 


//1 79b1htxh6vczq03o7b1tx96yh
// int gvevent_key_binding_size = (sizeof(gvevent_key_binding)/sizeof(gvevent_key_binding[0]))


//1 2rfceko46oix2bfpek421g4uv
// gvdevice_callbacks_t gvdevice_callbacks = 


}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy