Debian Codegraph @

src/gen/lib/gvc/gvtextlayout__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.gvc;
47 import static gen.lib.gvc.gvplugin__c.gvplugin_load;
48 import static smetana.core.JUtils.enumAsInt;
49 import static smetana.core.JUtilsDebug.ENTERING;
50 import static smetana.core.JUtilsDebug.LEAVING;
51 import static smetana.core.Macro.UNSUPPORTED;
52 import h.ST_GVC_s;
53 import h.ST_gvplugin_available_s;
54 import h.ST_gvplugin_installed_t;
55 import h.api_t;
56 import smetana.core.CString;
57
58 public class gvtextlayout__c {
59 //1 2digov3edok6d5srhgtlmrycs
60 // extern lt_symlist_t lt_preloaded_symbols[]
61
62
63 //1 baedz5i9est5csw3epz3cv7z
64 // typedef Ppoly_t Ppolyline_t
65
66
67 //1 9k44uhd5foylaeoekf3llonjq
68 // extern Dtmethod_t* Dtset
69
70
71 //1 1ahfywsmzcpcig2oxm7pt9ihj
72 // extern Dtmethod_t* Dtbag
73
74
75 //1 anhghfj3k7dmkudy2n7rvt31v
76 // extern Dtmethod_t* Dtoset
77
78
79 //1 5l6oj1ux946zjwvir94ykejbc
80 // extern Dtmethod_t* Dtobag
81
82
83 //1 2wtf222ak6cui8cfjnw6w377z
84 // extern Dtmethod_t* Dtlist
85
86
87 //1 d1s1s6ibtcsmst88e3057u9r7
88 // extern Dtmethod_t* Dtstack
89
90
91 //1 axa7mflo824p6fspjn1rdk0mt
92 // extern Dtmethod_t* Dtqueue
93
94
95 //1 ega812utobm4xx9oa9w9ayij6
96 // extern Dtmethod_t* Dtdeque
97
98
99 //1 cyfr996ur43045jv1tjbelzmj
100 // extern Dtmethod_t* Dtorder
101
102
103 //1 wlofoiftbjgrrabzb2brkycg
104 // extern Dtmethod_t* Dttree
105
106
107 //1 12bds94t7voj7ulwpcvgf6agr
108 // extern Dtmethod_t* Dthash
109
110
111 //1 9lqknzty480cy7zsubmabkk8h
112 // extern Dtmethod_t _Dttree
113
114
115 //1 bvn6zkbcp8vjdhkccqo1xrkrb
116 // extern Dtmethod_t _Dthash
117
118
119 //1 9lidhtd6nsmmv3e7vjv9e10gw
120 // extern Dtmethod_t _Dtlist
121
122
123 //1 34ujfamjxo7xn89u90oh2k6f8
124 // extern Dtmethod_t _Dtqueue
125
126
127 //1 3jy4aceckzkdv950h89p4wjc8
128 // extern Dtmethod_t _Dtstack
129
130
131 //1 8dfqgf3u1v830qzcjqh9o8ha7
132 // extern Agmemdisc_t AgMemDisc
133
134
135 //1 18k2oh2t6llfsdc5x0wlcnby8
136 // extern Agiddisc_t AgIdDisc
137
138
139 //1 a4r7hi80gdxtsv4hdoqpyiivn
140 // extern Agiodisc_t AgIoDisc
141
142
143 //1 bnzt5syjb7mgeru19114vd6xx
144 // extern Agdisc_t AgDefaultDisc
145
146
147 //1 35y2gbegsdjilegaribes00mg
148 // extern Agdesc_t Agdirected, Agstrictdirected, Agundirected, Agstrictundirected
149
150
151 //1 c2rygslq6bcuka3awmvy2b3ow
152 // typedef Agsubnode_t Agnoderef_t
153
154
155 //1 xam6yv0dcsx57dtg44igpbzn
156 // typedef Dtlink_t Agedgeref_t
157
158
159
160
161 //3 f1oiyeonoigwygyq8c88wl8tz
162 // int gvtextlayout_select(GVC_t * gvc)
163 public static int gvtextlayout_select(ST_GVC_s gvc) {
164 ENTERING("f1oiyeonoigwygyq8c88wl8tz","gvtextlayout_select");
165 try {
166 ST_gvplugin_available_s plugin;
167 ST_gvplugin_installed_t typeptr;
168 plugin = gvplugin_load(gvc, enumAsInt(api_t.class, "API_textlayout"), new CString("textlayout"));
169 if (plugin!=null) {
170 UNSUPPORTED("8cnmkxanogd09zc24faarugvo"); // typeptr = plugin->typeptr;
171 UNSUPPORTED("cihmstdaldbultct48d4klpzn"); // gvc->textlayout.engine = (gvtextlayout_engine_t *) (typeptr->engine);
172 UNSUPPORTED("47nsfms3a4gr280vabzgt5x3f"); // return 300; /* FIXME - need more suitable success code */
173 }
174 return 999;
175 } finally {
176 LEAVING("f1oiyeonoigwygyq8c88wl8tz","gvtextlayout_select");
177 }
178 }
179
180
181
182
183 //3 f2jbuh3elz9mya1fc3ga6d3z9
184 // boolean gvtextlayout(GVC_t *gvc, textspan_t *span, char **fontpath)
185 public static Object gvtextlayout(Object... arg) {
186 UNSUPPORTED("2jsqpz6hn581464yugh0tou2l"); // boolean gvtextlayout(GVC_t *gvc, textspan_t *span, char **fontpath)
187 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
188 UNSUPPORTED("6lss2n766usro8etj7wmu49lz"); // gvtextlayout_engine_t *gvte = gvc->textlayout.engine;
189 UNSUPPORTED("8kfw5uy3hnla57n731fnzv3rh"); // if (gvte && gvte->textlayout)
190 UNSUPPORTED("1vzb5q1afwigxljf6njahgd70"); // return gvte->textlayout(span, fontpath);
191 UNSUPPORTED("5oxhd3fvp0gfmrmz12vndnjt"); // return 0;
192 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
193
194 throw new UnsupportedOperationException();
195 }
196
197
198 }