Bind AnimatedVectorImageVisual action : SET_DYNAMIC_PROPERTY
[platform/core/uifw/dali-csharp-binder.git] / dali-csharp-binder / src / font-client-wrap.cpp
1 /*
2  * Copyright (c) 2017 Samsung Electronics Co., Ltd.
3  *
4  * Licensed under the Apache License, Version 2.0 (the "License");
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  *
8  * http://www.apache.org/licenses/LICENSE-2.0
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an "AS IS" BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15  *
16  */
17
18 // EXTERNAL INCLUDES
19 #include <dali/public-api/common/type-traits.h>
20 #include <dali/devel-api/text-abstraction/font-metrics.h>
21 #include <dali/devel-api/text-abstraction/font-list.h>
22 #include <dali/devel-api/text-abstraction/glyph-buffer-data.h>
23 #include <dali/devel-api/text-abstraction/glyph-info.h>
24 #include <dali/devel-api/text-abstraction/text-abstraction-definitions.h>
25 #include <dali/devel-api/text-abstraction/font-client.h>
26
27 // INTERNAL INCLUDES
28 #include "common.h"
29
30 /* Callback for returning strings to C# without leaking memory */
31 typedef char * (SWIGSTDCALL* SWIG_CSharpStringHelperCallback)(const char *);
32 extern SWIG_CSharpStringHelperCallback SWIG_csharp_string_callback;
33
34
35 typedef std::string FontPath;
36 typedef std::string FontFamily;
37 typedef std::string FontStyle;
38 typedef std::vector<FontPath>   FontPathList;
39 typedef std::vector<FontFamily> FontFamilyList;
40 typedef std::vector<Dali::TextAbstraction::FontDescription> FontList;
41
42 typedef uint32_t FontId;
43 typedef uint32_t PointSize26Dot6;
44 typedef uint32_t FaceIndex;
45 typedef uint32_t GlyphIndex;
46 typedef uint32_t Character;
47 typedef uint32_t CharacterIndex;
48 typedef uint32_t Length;
49 typedef uint32_t BidiInfoIndex;
50 typedef char     LineBreakInfo;
51 typedef char     WordBreakInfo;
52 typedef bool     CharacterDirection;
53
54
55 #ifdef __cplusplus
56 extern "C" {
57 #endif
58
59
60 SWIGEXPORT Dali::BaseHandle * SWIGSTDCALL CSharp_Dali_FontClient_SWIGUpcast(Dali::TextAbstraction::FontClient *jarg1) {
61     return (Dali::BaseHandle *)jarg1;
62 }
63
64
65 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_FontClient_PreCache(char ** fallbackFamilyArray, int fallbackFamilySize, char ** extraFamilyArray, int extraFamilySize, char * localeFamilyString, bool useThread, bool syncCreation) {
66   FontFamilyList fallbackFamilyList;
67   FontFamilyList extraFamilyList;
68   FontFamily localeFamily = localeFamilyString ? localeFamilyString : "";
69
70   if(fallbackFamilyArray)
71   {
72     fallbackFamilyList.assign(fallbackFamilyArray, fallbackFamilyArray + fallbackFamilySize);
73   }
74
75   if(extraFamilyArray)
76   {
77     extraFamilyList.assign(extraFamilyArray, extraFamilyArray + extraFamilySize);
78   }
79
80   Dali::TextAbstraction::FontClientPreCache(fallbackFamilyList, extraFamilyList, localeFamily, useThread, syncCreation);
81 }
82
83
84 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_FontClient_FontPreLoad(char ** fontPathArray, int fontPathSize, char ** memoryFontPathArray, int memoryFontPathSize, bool useThread, bool syncCreation) {
85   FontPathList fontPathList;
86   FontPathList memoryFontPathList;
87
88   if(fontPathArray)
89   {
90     fontPathList.assign(fontPathArray, fontPathArray + fontPathSize);
91   }
92
93   if(memoryFontPathArray)
94   {
95     memoryFontPathList.assign(memoryFontPathArray, memoryFontPathArray + memoryFontPathSize);
96   }
97
98   Dali::TextAbstraction::FontClientFontPreLoad(fontPathList, memoryFontPathList, useThread, syncCreation);
99 }
100
101
102 SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_FontWidthName_get() {
103   void * jresult ;
104   char **result = 0 ;
105
106   result = (char **)(char **)Dali::TextAbstraction::FontWidth::Name;
107   jresult = result;
108   return jresult;
109 }
110
111
112 SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_FontWeightName_get() {
113   void * jresult ;
114   char **result = 0 ;
115
116   result = (char **)(char **)Dali::TextAbstraction::FontWeight::Name;
117   jresult = result;
118   return jresult;
119 }
120
121
122 SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_FontSlantName_get() {
123   void * jresult ;
124   char **result = 0 ;
125
126   result = (char **)(char **)Dali::TextAbstraction::FontSlant::Name;
127   jresult = result;
128   return jresult;
129 }
130
131
132 SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_new_FontDescription() {
133   void * jresult ;
134   Dali::TextAbstraction::FontDescription *result = 0 ;
135
136   {
137     try {
138       result = (Dali::TextAbstraction::FontDescription *)new Dali::TextAbstraction::FontDescription();
139     } CALL_CATCH_EXCEPTION(0);
140   }
141   jresult = (void *)result;
142   return jresult;
143 }
144
145
146 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_delete_FontDescription(void * jarg1) {
147   Dali::TextAbstraction::FontDescription *arg1 = (Dali::TextAbstraction::FontDescription *) 0 ;
148
149   arg1 = (Dali::TextAbstraction::FontDescription *)jarg1;
150   {
151     try {
152       delete arg1;
153     } CALL_CATCH_EXCEPTION();
154   }
155 }
156
157
158 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_FontDescription_path_set(void * jarg1, char * jarg2) {
159   Dali::TextAbstraction::FontDescription *arg1 = (Dali::TextAbstraction::FontDescription *) 0 ;
160   Dali::TextAbstraction::FontPath *arg2 = 0 ;
161
162   arg1 = (Dali::TextAbstraction::FontDescription *)jarg1;
163   if (!jarg2) {
164     SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "null string", 0);
165     return ;
166   }
167   Dali::TextAbstraction::FontPath arg2_str(jarg2);
168   arg2 = &arg2_str;
169   if (arg1) (arg1)->path = *arg2;
170 }
171
172
173 SWIGEXPORT char * SWIGSTDCALL CSharp_Dali_FontDescription_path_get(void * jarg1) {
174   char * jresult ;
175   Dali::TextAbstraction::FontDescription *arg1 = (Dali::TextAbstraction::FontDescription *) 0 ;
176   Dali::TextAbstraction::FontPath *result = 0 ;
177
178   arg1 = (Dali::TextAbstraction::FontDescription *)jarg1;
179   result = (Dali::TextAbstraction::FontPath *) & ((arg1)->path);
180   jresult = SWIG_csharp_string_callback(result->c_str());
181   return jresult;
182 }
183
184
185 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_FontDescription_family_set(void * jarg1, char * jarg2) {
186   Dali::TextAbstraction::FontDescription *arg1 = (Dali::TextAbstraction::FontDescription *) 0 ;
187   Dali::TextAbstraction::FontFamily *arg2 = 0 ;
188
189   arg1 = (Dali::TextAbstraction::FontDescription *)jarg1;
190   if (!jarg2) {
191     SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "null string", 0);
192     return ;
193   }
194   Dali::TextAbstraction::FontFamily arg2_str(jarg2);
195   arg2 = &arg2_str;
196   if (arg1) (arg1)->family = *arg2;
197 }
198
199
200 SWIGEXPORT char * SWIGSTDCALL CSharp_Dali_FontDescription_family_get(void * jarg1) {
201   char * jresult ;
202   Dali::TextAbstraction::FontDescription *arg1 = (Dali::TextAbstraction::FontDescription *) 0 ;
203   Dali::TextAbstraction::FontFamily *result = 0 ;
204
205   arg1 = (Dali::TextAbstraction::FontDescription *)jarg1;
206   result = (Dali::TextAbstraction::FontFamily *) & ((arg1)->family);
207   jresult = SWIG_csharp_string_callback(result->c_str());
208   return jresult;
209 }
210
211
212 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_FontDescription_width_set(void * jarg1, int jarg2) {
213   Dali::TextAbstraction::FontDescription *arg1 = (Dali::TextAbstraction::FontDescription *) 0 ;
214   Dali::TextAbstraction::FontWidth::Type arg2 ;
215
216   arg1 = (Dali::TextAbstraction::FontDescription *)jarg1;
217   arg2 = (Dali::TextAbstraction::FontWidth::Type)jarg2;
218   if (arg1) (arg1)->width = arg2;
219 }
220
221
222 SWIGEXPORT int SWIGSTDCALL CSharp_Dali_FontDescription_width_get(void * jarg1) {
223   int jresult ;
224   Dali::TextAbstraction::FontDescription *arg1 = (Dali::TextAbstraction::FontDescription *) 0 ;
225   Dali::TextAbstraction::FontWidth::Type result;
226
227   arg1 = (Dali::TextAbstraction::FontDescription *)jarg1;
228   result = (Dali::TextAbstraction::FontWidth::Type) ((arg1)->width);
229   jresult = (int)result;
230   return jresult;
231 }
232
233
234 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_FontDescription_weight_set(void * jarg1, int jarg2) {
235   Dali::TextAbstraction::FontDescription *arg1 = (Dali::TextAbstraction::FontDescription *) 0 ;
236   Dali::TextAbstraction::FontWeight::Type arg2 ;
237
238   arg1 = (Dali::TextAbstraction::FontDescription *)jarg1;
239   arg2 = (Dali::TextAbstraction::FontWeight::Type)jarg2;
240   if (arg1) (arg1)->weight = arg2;
241 }
242
243
244 SWIGEXPORT int SWIGSTDCALL CSharp_Dali_FontDescription_weight_get(void * jarg1) {
245   int jresult ;
246   Dali::TextAbstraction::FontDescription *arg1 = (Dali::TextAbstraction::FontDescription *) 0 ;
247   Dali::TextAbstraction::FontWeight::Type result;
248
249   arg1 = (Dali::TextAbstraction::FontDescription *)jarg1;
250   result = (Dali::TextAbstraction::FontWeight::Type) ((arg1)->weight);
251   jresult = (int)result;
252   return jresult;
253 }
254
255
256 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_FontDescription_slant_set(void * jarg1, int jarg2) {
257   Dali::TextAbstraction::FontDescription *arg1 = (Dali::TextAbstraction::FontDescription *) 0 ;
258   Dali::TextAbstraction::FontSlant::Type arg2 ;
259
260   arg1 = (Dali::TextAbstraction::FontDescription *)jarg1;
261   arg2 = (Dali::TextAbstraction::FontSlant::Type)jarg2;
262   if (arg1) (arg1)->slant = arg2;
263 }
264
265
266 SWIGEXPORT int SWIGSTDCALL CSharp_Dali_FontDescription_slant_get(void * jarg1) {
267   int jresult ;
268   Dali::TextAbstraction::FontDescription *arg1 = (Dali::TextAbstraction::FontDescription *) 0 ;
269   Dali::TextAbstraction::FontSlant::Type result;
270
271   arg1 = (Dali::TextAbstraction::FontDescription *)jarg1;
272   result = (Dali::TextAbstraction::FontSlant::Type) ((arg1)->slant);
273   jresult = (int)result;
274   return jresult;
275 }
276
277
278 SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_new_FontMetrics__SWIG_0() {
279   void * jresult ;
280   Dali::TextAbstraction::FontMetrics *result = 0 ;
281
282   {
283     try {
284       result = (Dali::TextAbstraction::FontMetrics *)new Dali::TextAbstraction::FontMetrics();
285     } CALL_CATCH_EXCEPTION(0);
286   }
287   jresult = (void *)result;
288   return jresult;
289 }
290
291
292 SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_new_FontMetrics__SWIG_1(float jarg1, float jarg2, float jarg3, float jarg4, float jarg5) {
293   void * jresult ;
294   float arg1 ;
295   float arg2 ;
296   float arg3 ;
297   float arg4 ;
298   float arg5 ;
299   Dali::TextAbstraction::FontMetrics *result = 0 ;
300
301   arg1 = (float)jarg1;
302   arg2 = (float)jarg2;
303   arg3 = (float)jarg3;
304   arg4 = (float)jarg4;
305   arg5 = (float)jarg5;
306   {
307     try {
308       result = (Dali::TextAbstraction::FontMetrics *)new Dali::TextAbstraction::FontMetrics(arg1,arg2,arg3,arg4,arg5);
309     } CALL_CATCH_EXCEPTION(0);
310   }
311   jresult = (void *)result;
312   return jresult;
313 }
314
315
316 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_FontMetrics_ascender_set(void * jarg1, float jarg2) {
317   Dali::TextAbstraction::FontMetrics *arg1 = (Dali::TextAbstraction::FontMetrics *) 0 ;
318   float arg2 ;
319
320   arg1 = (Dali::TextAbstraction::FontMetrics *)jarg1;
321   arg2 = (float)jarg2;
322   if (arg1) (arg1)->ascender = arg2;
323 }
324
325
326 SWIGEXPORT float SWIGSTDCALL CSharp_Dali_FontMetrics_ascender_get(void * jarg1) {
327   float jresult ;
328   Dali::TextAbstraction::FontMetrics *arg1 = (Dali::TextAbstraction::FontMetrics *) 0 ;
329   float result;
330
331   arg1 = (Dali::TextAbstraction::FontMetrics *)jarg1;
332   result = (float) ((arg1)->ascender);
333   jresult = result;
334   return jresult;
335 }
336
337
338 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_FontMetrics_descender_set(void * jarg1, float jarg2) {
339   Dali::TextAbstraction::FontMetrics *arg1 = (Dali::TextAbstraction::FontMetrics *) 0 ;
340   float arg2 ;
341
342   arg1 = (Dali::TextAbstraction::FontMetrics *)jarg1;
343   arg2 = (float)jarg2;
344   if (arg1) (arg1)->descender = arg2;
345 }
346
347
348 SWIGEXPORT float SWIGSTDCALL CSharp_Dali_FontMetrics_descender_get(void * jarg1) {
349   float jresult ;
350   Dali::TextAbstraction::FontMetrics *arg1 = (Dali::TextAbstraction::FontMetrics *) 0 ;
351   float result;
352
353   arg1 = (Dali::TextAbstraction::FontMetrics *)jarg1;
354   result = (float) ((arg1)->descender);
355   jresult = result;
356   return jresult;
357 }
358
359
360 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_FontMetrics_height_set(void * jarg1, float jarg2) {
361   Dali::TextAbstraction::FontMetrics *arg1 = (Dali::TextAbstraction::FontMetrics *) 0 ;
362   float arg2 ;
363
364   arg1 = (Dali::TextAbstraction::FontMetrics *)jarg1;
365   arg2 = (float)jarg2;
366   if (arg1) (arg1)->height = arg2;
367 }
368
369
370 SWIGEXPORT float SWIGSTDCALL CSharp_Dali_FontMetrics_height_get(void * jarg1) {
371   float jresult ;
372   Dali::TextAbstraction::FontMetrics *arg1 = (Dali::TextAbstraction::FontMetrics *) 0 ;
373   float result;
374
375   arg1 = (Dali::TextAbstraction::FontMetrics *)jarg1;
376   result = (float) ((arg1)->height);
377   jresult = result;
378   return jresult;
379 }
380
381
382 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_FontMetrics_underlinePosition_set(void * jarg1, float jarg2) {
383   Dali::TextAbstraction::FontMetrics *arg1 = (Dali::TextAbstraction::FontMetrics *) 0 ;
384   float arg2 ;
385
386   arg1 = (Dali::TextAbstraction::FontMetrics *)jarg1;
387   arg2 = (float)jarg2;
388   if (arg1) (arg1)->underlinePosition = arg2;
389 }
390
391
392 SWIGEXPORT float SWIGSTDCALL CSharp_Dali_FontMetrics_underlinePosition_get(void * jarg1) {
393   float jresult ;
394   Dali::TextAbstraction::FontMetrics *arg1 = (Dali::TextAbstraction::FontMetrics *) 0 ;
395   float result;
396
397   arg1 = (Dali::TextAbstraction::FontMetrics *)jarg1;
398   result = (float) ((arg1)->underlinePosition);
399   jresult = result;
400   return jresult;
401 }
402
403
404 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_FontMetrics_underlineThickness_set(void * jarg1, float jarg2) {
405   Dali::TextAbstraction::FontMetrics *arg1 = (Dali::TextAbstraction::FontMetrics *) 0 ;
406   float arg2 ;
407
408   arg1 = (Dali::TextAbstraction::FontMetrics *)jarg1;
409   arg2 = (float)jarg2;
410   if (arg1) (arg1)->underlineThickness = arg2;
411 }
412
413
414 SWIGEXPORT float SWIGSTDCALL CSharp_Dali_FontMetrics_underlineThickness_get(void * jarg1) {
415   float jresult ;
416   Dali::TextAbstraction::FontMetrics *arg1 = (Dali::TextAbstraction::FontMetrics *) 0 ;
417   float result;
418
419   arg1 = (Dali::TextAbstraction::FontMetrics *)jarg1;
420   result = (float) ((arg1)->underlineThickness);
421   jresult = result;
422   return jresult;
423 }
424
425
426 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_delete_FontMetrics(void * jarg1) {
427   Dali::TextAbstraction::FontMetrics *arg1 = (Dali::TextAbstraction::FontMetrics *) 0 ;
428
429   arg1 = (Dali::TextAbstraction::FontMetrics *)jarg1;
430   {
431     try {
432       delete arg1;
433     } CALL_CATCH_EXCEPTION();
434   }
435 }
436
437
438 SWIGEXPORT int SWIGSTDCALL CSharp_Dali_LINE_MUST_BREAK_get() {
439   int jresult ;
440   int result;
441
442   {
443     try {
444       result = (int)Dali::TextAbstraction::LINE_MUST_BREAK;
445     } CALL_CATCH_EXCEPTION(0);
446   }
447   jresult = (int)result;
448   return jresult;
449 }
450
451
452 SWIGEXPORT int SWIGSTDCALL CSharp_Dali_LINE_ALLOW_BREAK_get() {
453   int jresult ;
454   int result;
455
456   {
457     try {
458       result = (int)Dali::TextAbstraction::LINE_ALLOW_BREAK;
459     } CALL_CATCH_EXCEPTION(0);
460   }
461   jresult = (int)result;
462   return jresult;
463 }
464
465
466 SWIGEXPORT int SWIGSTDCALL CSharp_Dali_LINE_NO_BREAK_get() {
467   int jresult ;
468   int result;
469
470   {
471     try {
472       result = (int)Dali::TextAbstraction::LINE_NO_BREAK;
473     } CALL_CATCH_EXCEPTION(0);
474   }
475   jresult = (int)result;
476   return jresult;
477 }
478
479
480 SWIGEXPORT int SWIGSTDCALL CSharp_Dali_WORD_BREAK_get() {
481   int jresult ;
482   int result;
483
484   {
485     try {
486       result = (int)Dali::TextAbstraction::WORD_BREAK;
487     } CALL_CATCH_EXCEPTION(0);
488   }
489   jresult = (int)result;
490   return jresult;
491 }
492
493
494 SWIGEXPORT int SWIGSTDCALL CSharp_Dali_WORD_NO_BREAK_get() {
495   int jresult ;
496   int result;
497
498   {
499     try {
500       result = (int)Dali::TextAbstraction::WORD_NO_BREAK;
501     } CALL_CATCH_EXCEPTION(0);
502   }
503   jresult = (int)result;
504   return jresult;
505 }
506
507
508 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_VectorBlob_r_set(void * jarg1, unsigned char jarg2) {
509   Dali::TextAbstraction::VectorBlob *arg1 = (Dali::TextAbstraction::VectorBlob *) 0 ;
510   unsigned char arg2 ;
511
512   arg1 = (Dali::TextAbstraction::VectorBlob *)jarg1;
513   arg2 = (unsigned char)jarg2;
514   if (arg1) (arg1)->r = arg2;
515 }
516
517
518 SWIGEXPORT unsigned char SWIGSTDCALL CSharp_Dali_VectorBlob_r_get(void * jarg1) {
519   unsigned char jresult ;
520   Dali::TextAbstraction::VectorBlob *arg1 = (Dali::TextAbstraction::VectorBlob *) 0 ;
521   unsigned char result;
522
523   arg1 = (Dali::TextAbstraction::VectorBlob *)jarg1;
524   result = (unsigned char) ((arg1)->r);
525   jresult = result;
526   return jresult;
527 }
528
529
530 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_VectorBlob_g_set(void * jarg1, unsigned char jarg2) {
531   Dali::TextAbstraction::VectorBlob *arg1 = (Dali::TextAbstraction::VectorBlob *) 0 ;
532   unsigned char arg2 ;
533
534   arg1 = (Dali::TextAbstraction::VectorBlob *)jarg1;
535   arg2 = (unsigned char)jarg2;
536   if (arg1) (arg1)->g = arg2;
537 }
538
539
540 SWIGEXPORT unsigned char SWIGSTDCALL CSharp_Dali_VectorBlob_g_get(void * jarg1) {
541   unsigned char jresult ;
542   Dali::TextAbstraction::VectorBlob *arg1 = (Dali::TextAbstraction::VectorBlob *) 0 ;
543   unsigned char result;
544
545   arg1 = (Dali::TextAbstraction::VectorBlob *)jarg1;
546   result = (unsigned char) ((arg1)->g);
547   jresult = result;
548   return jresult;
549 }
550
551
552 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_VectorBlob_b_set(void * jarg1, unsigned char jarg2) {
553   Dali::TextAbstraction::VectorBlob *arg1 = (Dali::TextAbstraction::VectorBlob *) 0 ;
554   unsigned char arg2 ;
555
556   arg1 = (Dali::TextAbstraction::VectorBlob *)jarg1;
557   arg2 = (unsigned char)jarg2;
558   if (arg1) (arg1)->b = arg2;
559 }
560
561
562 SWIGEXPORT unsigned char SWIGSTDCALL CSharp_Dali_VectorBlob_b_get(void * jarg1) {
563   unsigned char jresult ;
564   Dali::TextAbstraction::VectorBlob *arg1 = (Dali::TextAbstraction::VectorBlob *) 0 ;
565   unsigned char result;
566
567   arg1 = (Dali::TextAbstraction::VectorBlob *)jarg1;
568   result = (unsigned char) ((arg1)->b);
569   jresult = result;
570   return jresult;
571 }
572
573
574 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_VectorBlob_a_set(void * jarg1, unsigned char jarg2) {
575   Dali::TextAbstraction::VectorBlob *arg1 = (Dali::TextAbstraction::VectorBlob *) 0 ;
576   unsigned char arg2 ;
577
578   arg1 = (Dali::TextAbstraction::VectorBlob *)jarg1;
579   arg2 = (unsigned char)jarg2;
580   if (arg1) (arg1)->a = arg2;
581 }
582
583
584 SWIGEXPORT unsigned char SWIGSTDCALL CSharp_Dali_VectorBlob_a_get(void * jarg1) {
585   unsigned char jresult ;
586   Dali::TextAbstraction::VectorBlob *arg1 = (Dali::TextAbstraction::VectorBlob *) 0 ;
587   unsigned char result;
588
589   arg1 = (Dali::TextAbstraction::VectorBlob *)jarg1;
590   result = (unsigned char) ((arg1)->a);
591   jresult = result;
592   return jresult;
593 }
594
595
596 SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_new_VectorBlob() {
597   void * jresult ;
598   Dali::TextAbstraction::VectorBlob *result = 0 ;
599
600   {
601     try {
602       result = (Dali::TextAbstraction::VectorBlob *)new Dali::TextAbstraction::VectorBlob();
603     } CALL_CATCH_EXCEPTION(0);
604   }
605   jresult = (void *)result;
606   return jresult;
607 }
608
609
610 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_delete_VectorBlob(void * jarg1) {
611   Dali::TextAbstraction::VectorBlob *arg1 = (Dali::TextAbstraction::VectorBlob *) 0 ;
612
613   arg1 = (Dali::TextAbstraction::VectorBlob *)jarg1;
614   {
615     try {
616       delete arg1;
617     } CALL_CATCH_EXCEPTION();
618   }
619 }
620
621
622 SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_new_GlyphInfo__SWIG_0() {
623   void * jresult ;
624   Dali::TextAbstraction::GlyphInfo *result = 0 ;
625
626   {
627     try {
628       result = (Dali::TextAbstraction::GlyphInfo *)new Dali::TextAbstraction::GlyphInfo();
629     } CALL_CATCH_EXCEPTION(0);
630   }
631   jresult = (void *)result;
632   return jresult;
633 }
634
635
636 SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_new_GlyphInfo__SWIG_1(unsigned int jarg1, unsigned int jarg2) {
637   void * jresult ;
638   Dali::TextAbstraction::FontId arg1 ;
639   Dali::TextAbstraction::GlyphIndex arg2 ;
640   Dali::TextAbstraction::GlyphInfo *result = 0 ;
641
642   arg1 = (Dali::TextAbstraction::FontId)jarg1;
643   arg2 = (Dali::TextAbstraction::GlyphIndex)jarg2;
644   {
645     try {
646       result = (Dali::TextAbstraction::GlyphInfo *)new Dali::TextAbstraction::GlyphInfo(arg1,arg2);
647     } CALL_CATCH_EXCEPTION(0);
648   }
649   jresult = (void *)result;
650   return jresult;
651 }
652
653
654 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_GlyphInfo_fontId_set(void * jarg1, unsigned int jarg2) {
655   Dali::TextAbstraction::GlyphInfo *arg1 = (Dali::TextAbstraction::GlyphInfo *) 0 ;
656   Dali::TextAbstraction::FontId arg2 ;
657
658   arg1 = (Dali::TextAbstraction::GlyphInfo *)jarg1;
659   arg2 = (Dali::TextAbstraction::FontId)jarg2;
660   if (arg1) (arg1)->fontId = arg2;
661 }
662
663
664 SWIGEXPORT unsigned int SWIGSTDCALL CSharp_Dali_GlyphInfo_fontId_get(void * jarg1) {
665   unsigned int jresult ;
666   Dali::TextAbstraction::GlyphInfo *arg1 = (Dali::TextAbstraction::GlyphInfo *) 0 ;
667   Dali::TextAbstraction::FontId result;
668
669   arg1 = (Dali::TextAbstraction::GlyphInfo *)jarg1;
670   result =  ((arg1)->fontId);
671   jresult = result;
672   return jresult;
673 }
674
675
676 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_GlyphInfo_index_set(void * jarg1, unsigned int jarg2) {
677   Dali::TextAbstraction::GlyphInfo *arg1 = (Dali::TextAbstraction::GlyphInfo *) 0 ;
678   Dali::TextAbstraction::GlyphIndex arg2 ;
679
680   arg1 = (Dali::TextAbstraction::GlyphInfo *)jarg1;
681   arg2 = (Dali::TextAbstraction::GlyphIndex)jarg2;
682   if (arg1) (arg1)->index = arg2;
683 }
684
685
686 SWIGEXPORT unsigned int SWIGSTDCALL CSharp_Dali_GlyphInfo_index_get(void * jarg1) {
687   unsigned int jresult ;
688   Dali::TextAbstraction::GlyphInfo *arg1 = (Dali::TextAbstraction::GlyphInfo *) 0 ;
689   Dali::TextAbstraction::GlyphIndex result;
690
691   arg1 = (Dali::TextAbstraction::GlyphInfo *)jarg1;
692   result =  ((arg1)->index);
693   jresult = result;
694   return jresult;
695 }
696
697
698 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_GlyphInfo_width_set(void * jarg1, float jarg2) {
699   Dali::TextAbstraction::GlyphInfo *arg1 = (Dali::TextAbstraction::GlyphInfo *) 0 ;
700   float arg2 ;
701
702   arg1 = (Dali::TextAbstraction::GlyphInfo *)jarg1;
703   arg2 = (float)jarg2;
704   if (arg1) (arg1)->width = arg2;
705 }
706
707
708 SWIGEXPORT float SWIGSTDCALL CSharp_Dali_GlyphInfo_width_get(void * jarg1) {
709   float jresult ;
710   Dali::TextAbstraction::GlyphInfo *arg1 = (Dali::TextAbstraction::GlyphInfo *) 0 ;
711   float result;
712
713   arg1 = (Dali::TextAbstraction::GlyphInfo *)jarg1;
714   result = (float) ((arg1)->width);
715   jresult = result;
716   return jresult;
717 }
718
719
720 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_GlyphInfo_height_set(void * jarg1, float jarg2) {
721   Dali::TextAbstraction::GlyphInfo *arg1 = (Dali::TextAbstraction::GlyphInfo *) 0 ;
722   float arg2 ;
723
724   arg1 = (Dali::TextAbstraction::GlyphInfo *)jarg1;
725   arg2 = (float)jarg2;
726   if (arg1) (arg1)->height = arg2;
727 }
728
729
730 SWIGEXPORT float SWIGSTDCALL CSharp_Dali_GlyphInfo_height_get(void * jarg1) {
731   float jresult ;
732   Dali::TextAbstraction::GlyphInfo *arg1 = (Dali::TextAbstraction::GlyphInfo *) 0 ;
733   float result;
734
735   arg1 = (Dali::TextAbstraction::GlyphInfo *)jarg1;
736   result = (float) ((arg1)->height);
737   jresult = result;
738   return jresult;
739 }
740
741
742 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_GlyphInfo_xBearing_set(void * jarg1, float jarg2) {
743   Dali::TextAbstraction::GlyphInfo *arg1 = (Dali::TextAbstraction::GlyphInfo *) 0 ;
744   float arg2 ;
745
746   arg1 = (Dali::TextAbstraction::GlyphInfo *)jarg1;
747   arg2 = (float)jarg2;
748   if (arg1) (arg1)->xBearing = arg2;
749 }
750
751
752 SWIGEXPORT float SWIGSTDCALL CSharp_Dali_GlyphInfo_xBearing_get(void * jarg1) {
753   float jresult ;
754   Dali::TextAbstraction::GlyphInfo *arg1 = (Dali::TextAbstraction::GlyphInfo *) 0 ;
755   float result;
756
757   arg1 = (Dali::TextAbstraction::GlyphInfo *)jarg1;
758   result = (float) ((arg1)->xBearing);
759   jresult = result;
760   return jresult;
761 }
762
763
764 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_GlyphInfo_yBearing_set(void * jarg1, float jarg2) {
765   Dali::TextAbstraction::GlyphInfo *arg1 = (Dali::TextAbstraction::GlyphInfo *) 0 ;
766   float arg2 ;
767
768   arg1 = (Dali::TextAbstraction::GlyphInfo *)jarg1;
769   arg2 = (float)jarg2;
770   if (arg1) (arg1)->yBearing = arg2;
771 }
772
773
774 SWIGEXPORT float SWIGSTDCALL CSharp_Dali_GlyphInfo_yBearing_get(void * jarg1) {
775   float jresult ;
776   Dali::TextAbstraction::GlyphInfo *arg1 = (Dali::TextAbstraction::GlyphInfo *) 0 ;
777   float result;
778
779   arg1 = (Dali::TextAbstraction::GlyphInfo *)jarg1;
780   result = (float) ((arg1)->yBearing);
781   jresult = result;
782   return jresult;
783 }
784
785
786 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_GlyphInfo_advance_set(void * jarg1, float jarg2) {
787   Dali::TextAbstraction::GlyphInfo *arg1 = (Dali::TextAbstraction::GlyphInfo *) 0 ;
788   float arg2 ;
789
790   arg1 = (Dali::TextAbstraction::GlyphInfo *)jarg1;
791   arg2 = (float)jarg2;
792   if (arg1) (arg1)->advance = arg2;
793 }
794
795
796 SWIGEXPORT float SWIGSTDCALL CSharp_Dali_GlyphInfo_advance_get(void * jarg1) {
797   float jresult ;
798   Dali::TextAbstraction::GlyphInfo *arg1 = (Dali::TextAbstraction::GlyphInfo *) 0 ;
799   float result;
800
801   arg1 = (Dali::TextAbstraction::GlyphInfo *)jarg1;
802   result = (float) ((arg1)->advance);
803   jresult = result;
804   return jresult;
805 }
806
807
808 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_GlyphInfo_scaleFactor_set(void * jarg1, float jarg2) {
809   Dali::TextAbstraction::GlyphInfo *arg1 = (Dali::TextAbstraction::GlyphInfo *) 0 ;
810   float arg2 ;
811
812   arg1 = (Dali::TextAbstraction::GlyphInfo *)jarg1;
813   arg2 = (float)jarg2;
814   if (arg1) (arg1)->scaleFactor = arg2;
815 }
816
817
818 SWIGEXPORT float SWIGSTDCALL CSharp_Dali_GlyphInfo_scaleFactor_get(void * jarg1) {
819   float jresult ;
820   Dali::TextAbstraction::GlyphInfo *arg1 = (Dali::TextAbstraction::GlyphInfo *) 0 ;
821   float result;
822
823   arg1 = (Dali::TextAbstraction::GlyphInfo *)jarg1;
824   result = (float) ((arg1)->scaleFactor);
825   jresult = result;
826   return jresult;
827 }
828
829
830 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_delete_GlyphInfo(void * jarg1) {
831   Dali::TextAbstraction::GlyphInfo *arg1 = (Dali::TextAbstraction::GlyphInfo *) 0 ;
832
833   arg1 = (Dali::TextAbstraction::GlyphInfo *)jarg1;
834   {
835     try {
836       delete arg1;
837     } CALL_CATCH_EXCEPTION();
838   }
839 }
840
841
842 SWIGEXPORT unsigned int SWIGSTDCALL CSharp_Dali_FontClient_DEFAULT_POINT_SIZE_get() {
843   unsigned int jresult ;
844   Dali::TextAbstraction::PointSize26Dot6 result;
845
846   result = (Dali::TextAbstraction::PointSize26Dot6)Dali::TextAbstraction::FontClient::DEFAULT_POINT_SIZE;
847   jresult = result;
848   return jresult;
849 }
850
851
852 SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_new_FontClient_GlyphBufferData() {
853   void * jresult ;
854   Dali::TextAbstraction::GlyphBufferData *result = 0 ;
855
856   {
857     try {
858       result = (Dali::TextAbstraction::GlyphBufferData *)new Dali::TextAbstraction::GlyphBufferData();
859     } CALL_CATCH_EXCEPTION(0);
860   }
861   jresult = (void *)result;
862   return jresult;
863 }
864
865
866 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_delete_FontClient_GlyphBufferData(void * jarg1) {
867   Dali::TextAbstraction::GlyphBufferData *arg1 = (Dali::TextAbstraction::GlyphBufferData *) 0 ;
868
869   arg1 = (Dali::TextAbstraction::GlyphBufferData *)jarg1;
870   {
871     try {
872       delete arg1;
873     } CALL_CATCH_EXCEPTION();
874   }
875 }
876
877 /*
878 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_FontClient_GlyphBufferData_buffer_set(void * jarg1, unsigned char* jarg2) {
879   Dali::TextAbstraction::GlyphBufferData *arg1 = (Dali::TextAbstraction::GlyphBufferData *) 0 ;
880   unsigned char *arg2 = (unsigned char *) 0 ;
881
882   arg1 = (Dali::TextAbstraction::GlyphBufferData *)jarg1;
883   arg2 = jarg2;
884   if (arg1) (arg1)->buffer = arg2;
885
886
887 }
888
889
890 SWIGEXPORT unsigned char* SWIGSTDCALL CSharp_Dali_FontClient_GlyphBufferData_buffer_get(void * jarg1) {
891   unsigned char* jresult ;
892   Dali::TextAbstraction::GlyphBufferData *arg1 = (Dali::TextAbstraction::GlyphBufferData *) 0 ;
893   unsigned char *result = 0 ;
894
895   arg1 = (Dali::TextAbstraction::GlyphBufferData *)jarg1;
896   result = (unsigned char *) ((arg1)->buffer);
897   jresult = (void *)result;
898   return jresult;
899 }
900 */
901
902 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_FontClient_GlyphBufferData_width_set(void * jarg1, unsigned int jarg2) {
903   Dali::TextAbstraction::GlyphBufferData *arg1 = (Dali::TextAbstraction::GlyphBufferData *) 0 ;
904   unsigned int arg2 ;
905
906   arg1 = (Dali::TextAbstraction::GlyphBufferData *)jarg1;
907   arg2 = (unsigned int)jarg2;
908   if (arg1) (arg1)->width = arg2;
909 }
910
911
912 SWIGEXPORT unsigned int SWIGSTDCALL CSharp_Dali_FontClient_GlyphBufferData_width_get(void * jarg1) {
913   unsigned int jresult ;
914   Dali::TextAbstraction::GlyphBufferData *arg1 = (Dali::TextAbstraction::GlyphBufferData *) 0 ;
915   unsigned int result;
916
917   arg1 = (Dali::TextAbstraction::GlyphBufferData *)jarg1;
918   result = (unsigned int) ((arg1)->width);
919   jresult = result;
920   return jresult;
921 }
922
923
924 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_FontClient_GlyphBufferData_height_set(void * jarg1, unsigned int jarg2) {
925   Dali::TextAbstraction::GlyphBufferData *arg1 = (Dali::TextAbstraction::GlyphBufferData *) 0 ;
926   unsigned int arg2 ;
927
928   arg1 = (Dali::TextAbstraction::GlyphBufferData *)jarg1;
929   arg2 = (unsigned int)jarg2;
930   if (arg1) (arg1)->height = arg2;
931 }
932
933
934 SWIGEXPORT unsigned int SWIGSTDCALL CSharp_Dali_FontClient_GlyphBufferData_height_get(void * jarg1) {
935   unsigned int jresult ;
936   Dali::TextAbstraction::GlyphBufferData *arg1 = (Dali::TextAbstraction::GlyphBufferData *) 0 ;
937   unsigned int result;
938
939   arg1 = (Dali::TextAbstraction::GlyphBufferData *)jarg1;
940   result = (unsigned int) ((arg1)->height);
941   jresult = result;
942   return jresult;
943 }
944
945
946 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_FontClient_GlyphBufferData_format_set(void * jarg1, int jarg2) {
947   Dali::TextAbstraction::GlyphBufferData *arg1 = (Dali::TextAbstraction::GlyphBufferData *) 0 ;
948   Dali::Pixel::Format arg2 ;
949
950   arg1 = (Dali::TextAbstraction::GlyphBufferData *)jarg1;
951   arg2 = (Dali::Pixel::Format)jarg2;
952   if (arg1) (arg1)->format = arg2;
953 }
954
955
956 SWIGEXPORT int SWIGSTDCALL CSharp_Dali_FontClient_GlyphBufferData_format_get(void * jarg1) {
957   int jresult ;
958   Dali::TextAbstraction::GlyphBufferData *arg1 = (Dali::TextAbstraction::GlyphBufferData *) 0 ;
959   Dali::Pixel::Format result;
960
961   arg1 = (Dali::TextAbstraction::GlyphBufferData *)jarg1;
962   result = (Dali::Pixel::Format) ((arg1)->format);
963   jresult = (int)result;
964   return jresult;
965 }
966
967
968 SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_FontClient_Get() {
969   void * jresult ;
970   Dali::TextAbstraction::FontClient result;
971
972   {
973     try {
974       result = Dali::TextAbstraction::FontClient::Get();
975     } CALL_CATCH_EXCEPTION(0);
976   }
977   jresult = new Dali::TextAbstraction::FontClient((const Dali::TextAbstraction::FontClient &)result);
978   return jresult;
979 }
980
981
982 SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_new_FontClient__SWIG_0() {
983   void * jresult ;
984   Dali::TextAbstraction::FontClient *result = 0 ;
985
986   {
987     try {
988       result = (Dali::TextAbstraction::FontClient *)new Dali::TextAbstraction::FontClient();
989     } CALL_CATCH_EXCEPTION(0);
990   }
991   jresult = (void *)result;
992   return jresult;
993 }
994
995
996 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_delete_FontClient(void * jarg1) {
997   Dali::TextAbstraction::FontClient *arg1 = (Dali::TextAbstraction::FontClient *) 0 ;
998
999   arg1 = (Dali::TextAbstraction::FontClient *)jarg1;
1000   {
1001     try {
1002       delete arg1;
1003     } CALL_CATCH_EXCEPTION();
1004   }
1005 }
1006
1007
1008 SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_new_FontClient__SWIG_1(void * jarg1) {
1009   void * jresult ;
1010   Dali::TextAbstraction::FontClient *arg1 = 0 ;
1011   Dali::TextAbstraction::FontClient *result = 0 ;
1012
1013   arg1 = (Dali::TextAbstraction::FontClient *)jarg1;
1014   if (!arg1) {
1015     SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Dali::TextAbstraction::FontClient const & type is null", 0);
1016     return 0;
1017   }
1018   {
1019     try {
1020       result = (Dali::TextAbstraction::FontClient *)new Dali::TextAbstraction::FontClient((Dali::TextAbstraction::FontClient const &)*arg1);
1021     } CALL_CATCH_EXCEPTION(0);
1022   }
1023   jresult = (void *)result;
1024   return jresult;
1025 }
1026
1027
1028 SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_FontClient_Assign(void * jarg1, void * jarg2) {
1029   void * jresult ;
1030   Dali::TextAbstraction::FontClient *arg1 = (Dali::TextAbstraction::FontClient *) 0 ;
1031   Dali::TextAbstraction::FontClient *arg2 = 0 ;
1032   Dali::TextAbstraction::FontClient *result = 0 ;
1033
1034   arg1 = (Dali::TextAbstraction::FontClient *)jarg1;
1035   arg2 = (Dali::TextAbstraction::FontClient *)jarg2;
1036   if (!arg2) {
1037     SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Dali::TextAbstraction::FontClient const & type is null", 0);
1038     return 0;
1039   }
1040   {
1041     try {
1042       result = (Dali::TextAbstraction::FontClient *) &(arg1)->operator =((Dali::TextAbstraction::FontClient const &)*arg2);
1043     } CALL_CATCH_EXCEPTION(0);
1044   }
1045   jresult = (void *)result;
1046   return jresult;
1047 }
1048
1049
1050 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_FontClient_SetDpi(void * jarg1, unsigned int jarg2, unsigned int jarg3) {
1051   Dali::TextAbstraction::FontClient *arg1 = (Dali::TextAbstraction::FontClient *) 0 ;
1052   unsigned int arg2 ;
1053   unsigned int arg3 ;
1054
1055   arg1 = (Dali::TextAbstraction::FontClient *)jarg1;
1056   arg2 = (unsigned int)jarg2;
1057   arg3 = (unsigned int)jarg3;
1058   {
1059     try {
1060       (arg1)->SetDpi(arg2,arg3);
1061     } CALL_CATCH_EXCEPTION();
1062   }
1063 }
1064
1065
1066 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_FontClient_GetDpi(void * jarg1, void * jarg2, void * jarg3) {
1067   Dali::TextAbstraction::FontClient *arg1 = (Dali::TextAbstraction::FontClient *) 0 ;
1068   unsigned int *arg2 = 0 ;
1069   unsigned int *arg3 = 0 ;
1070
1071   arg1 = (Dali::TextAbstraction::FontClient *)jarg1;
1072   arg2 = (unsigned int *)jarg2;
1073   if (!arg2) {
1074     SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "unsigned int & type is null", 0);
1075     return ;
1076   }
1077   arg3 = (unsigned int *)jarg3;
1078   if (!arg3) {
1079     SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "unsigned int & type is null", 0);
1080     return ;
1081   }
1082   {
1083     try {
1084       (arg1)->GetDpi(*arg2,*arg3);
1085     } CALL_CATCH_EXCEPTION();
1086   }
1087 }
1088
1089
1090 SWIGEXPORT int SWIGSTDCALL CSharp_Dali_FontClient_GetDefaultFontSize(void * jarg1) {
1091   int jresult ;
1092   Dali::TextAbstraction::FontClient *arg1 = (Dali::TextAbstraction::FontClient *) 0 ;
1093   int result;
1094
1095   arg1 = (Dali::TextAbstraction::FontClient *)jarg1;
1096   {
1097     try {
1098       result = (int)(arg1)->GetDefaultFontSize();
1099     } CALL_CATCH_EXCEPTION(0);
1100   }
1101   jresult = result;
1102   return jresult;
1103 }
1104
1105
1106 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_FontClient_ResetSystemDefaults(void * jarg1) {
1107   Dali::TextAbstraction::FontClient *arg1 = (Dali::TextAbstraction::FontClient *) 0 ;
1108
1109   arg1 = (Dali::TextAbstraction::FontClient *)jarg1;
1110   {
1111     try {
1112       (arg1)->ResetSystemDefaults();
1113     } CALL_CATCH_EXCEPTION();
1114   }
1115 }
1116
1117
1118 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_FontClient_GetDefaultFonts(void * jarg1, void * jarg2) {
1119   Dali::TextAbstraction::FontClient *arg1 = (Dali::TextAbstraction::FontClient *) 0 ;
1120   Dali::TextAbstraction::FontList *arg2 = 0 ;
1121
1122   arg1 = (Dali::TextAbstraction::FontClient *)jarg1;
1123   arg2 = (Dali::TextAbstraction::FontList *)jarg2;
1124   if (!arg2) {
1125     SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Dali::TextAbstraction::FontList & type is null", 0);
1126     return ;
1127   }
1128   {
1129     try {
1130       (arg1)->GetDefaultFonts(*arg2);
1131     } CALL_CATCH_EXCEPTION();
1132   }
1133 }
1134
1135
1136 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_FontClient_GetDefaultPlatformFontDescription(void * jarg1, void * jarg2) {
1137   Dali::TextAbstraction::FontClient *arg1 = (Dali::TextAbstraction::FontClient *) 0 ;
1138   Dali::TextAbstraction::FontDescription *arg2 = 0 ;
1139
1140   arg1 = (Dali::TextAbstraction::FontClient *)jarg1;
1141   arg2 = (Dali::TextAbstraction::FontDescription *)jarg2;
1142   if (!arg2) {
1143     SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Dali::TextAbstraction::FontDescription & type is null", 0);
1144     return ;
1145   }
1146   {
1147     try {
1148       (arg1)->GetDefaultPlatformFontDescription(*arg2);
1149     } CALL_CATCH_EXCEPTION();
1150   }
1151 }
1152
1153 SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_FontClient_GetSystemFonts(void* fontClient) {
1154   void* jresult;
1155   Dali::Property::Array *array = 0;
1156   Dali::TextAbstraction::FontClient *arg1 = (Dali::TextAbstraction::FontClient *) 0;
1157
1158   arg1 = (Dali::TextAbstraction::FontClient *)fontClient;
1159   {
1160     try {
1161       FontList fontList;
1162       (arg1)->GetSystemFonts(fontList);
1163
1164       Dali::Property::Array systemFonts;
1165       for(size_t i = 0; i < fontList.size(); i++)
1166       {
1167         Dali::Property::Map font;
1168         font.Add("family", fontList[i].family);
1169         font.Add("path", fontList[i].path);
1170         font.Add("width", fontList[i].width);
1171         font.Add("weight", fontList[i].weight);
1172         font.Add("slant", fontList[i].slant);
1173         systemFonts.PushBack(font);
1174       }
1175
1176       array = (Dali::Property::Array *)new Dali::Property::Array((Dali::Property::Array const &)systemFonts);
1177     } CALL_CATCH_EXCEPTION(0);
1178   }
1179   jresult = (void *)array;
1180   return jresult;
1181 }
1182
1183 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_FontClient_GetDescription(void * jarg1, unsigned int jarg2, void * jarg3) {
1184   Dali::TextAbstraction::FontClient *arg1 = (Dali::TextAbstraction::FontClient *) 0 ;
1185   Dali::TextAbstraction::FontId arg2 ;
1186   Dali::TextAbstraction::FontDescription *arg3 = 0 ;
1187
1188   arg1 = (Dali::TextAbstraction::FontClient *)jarg1;
1189   arg2 = (Dali::TextAbstraction::FontId)jarg2;
1190   arg3 = (Dali::TextAbstraction::FontDescription *)jarg3;
1191   if (!arg3) {
1192     SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Dali::TextAbstraction::FontDescription & type is null", 0);
1193     return ;
1194   }
1195   {
1196     try {
1197       (arg1)->GetDescription(arg2,*arg3);
1198     } CALL_CATCH_EXCEPTION();
1199   }
1200 }
1201
1202
1203 SWIGEXPORT unsigned int SWIGSTDCALL CSharp_Dali_FontClient_GetPointSize(void * jarg1, unsigned int jarg2) {
1204   unsigned int jresult ;
1205   Dali::TextAbstraction::FontClient *arg1 = (Dali::TextAbstraction::FontClient *) 0 ;
1206   Dali::TextAbstraction::FontId arg2 ;
1207   Dali::TextAbstraction::PointSize26Dot6 result;
1208
1209   arg1 = (Dali::TextAbstraction::FontClient *)jarg1;
1210   arg2 = (Dali::TextAbstraction::FontId)jarg2;
1211   {
1212     try {
1213       result = (arg1)->GetPointSize(arg2);
1214     } CALL_CATCH_EXCEPTION(0);
1215   }
1216   jresult = result;
1217   return jresult;
1218 }
1219
1220
1221 SWIGEXPORT unsigned int SWIGSTDCALL CSharp_Dali_FontClient_IsCharacterSupportedByFont(void * jarg1, unsigned int jarg2, unsigned int jarg3) {
1222   unsigned int jresult ;
1223   Dali::TextAbstraction::FontClient *arg1 = (Dali::TextAbstraction::FontClient *) 0 ;
1224   Dali::TextAbstraction::FontId arg2 ;
1225   Dali::TextAbstraction::Character arg3 ;
1226   bool result;
1227
1228   arg1 = (Dali::TextAbstraction::FontClient *)jarg1;
1229   arg2 = (Dali::TextAbstraction::FontId)jarg2;
1230   arg3 = (Dali::TextAbstraction::Character)jarg3;
1231   {
1232     try {
1233       result = (bool)(arg1)->IsCharacterSupportedByFont(arg2,arg3);
1234     } CALL_CATCH_EXCEPTION(0);
1235   }
1236   jresult = result;
1237   return jresult;
1238 }
1239
1240
1241 SWIGEXPORT unsigned int SWIGSTDCALL CSharp_Dali_FontClient_FindDefaultFont__SWIG_0(void * jarg1, unsigned int jarg2, unsigned int jarg3, unsigned int jarg4) {
1242   unsigned int jresult ;
1243   Dali::TextAbstraction::FontClient *arg1 = (Dali::TextAbstraction::FontClient *) 0 ;
1244   Dali::TextAbstraction::Character arg2 ;
1245   Dali::TextAbstraction::PointSize26Dot6 arg3 ;
1246   bool arg4 ;
1247   Dali::TextAbstraction::FontId result;
1248
1249   arg1 = (Dali::TextAbstraction::FontClient *)jarg1;
1250   arg2 = (Dali::TextAbstraction::Character)jarg2;
1251   arg3 = (Dali::TextAbstraction::PointSize26Dot6)jarg3;
1252   arg4 = jarg4 ? true : false;
1253   {
1254     try {
1255       result = (arg1)->FindDefaultFont(arg2,arg3,arg4);
1256     } CALL_CATCH_EXCEPTION(0);
1257   }
1258   jresult = result;
1259   return jresult;
1260 }
1261
1262
1263 SWIGEXPORT unsigned int SWIGSTDCALL CSharp_Dali_FontClient_FindDefaultFont__SWIG_1(void * jarg1, unsigned int jarg2, unsigned int jarg3) {
1264   unsigned int jresult ;
1265   Dali::TextAbstraction::FontClient *arg1 = (Dali::TextAbstraction::FontClient *) 0 ;
1266   Dali::TextAbstraction::Character arg2 ;
1267   Dali::TextAbstraction::PointSize26Dot6 arg3 ;
1268   Dali::TextAbstraction::FontId result;
1269
1270   arg1 = (Dali::TextAbstraction::FontClient *)jarg1;
1271   arg2 = (Dali::TextAbstraction::Character)jarg2;
1272   arg3 = (Dali::TextAbstraction::PointSize26Dot6)jarg3;
1273   {
1274     try {
1275       result = (arg1)->FindDefaultFont(arg2,arg3);
1276     } CALL_CATCH_EXCEPTION(0);
1277   }
1278   jresult = result;
1279   return jresult;
1280 }
1281
1282
1283 SWIGEXPORT unsigned int SWIGSTDCALL CSharp_Dali_FontClient_FindDefaultFont__SWIG_2(void * jarg1, unsigned int jarg2) {
1284   unsigned int jresult ;
1285   Dali::TextAbstraction::FontClient *arg1 = (Dali::TextAbstraction::FontClient *) 0 ;
1286   Dali::TextAbstraction::Character arg2 ;
1287   Dali::TextAbstraction::FontId result;
1288
1289   arg1 = (Dali::TextAbstraction::FontClient *)jarg1;
1290   arg2 = (Dali::TextAbstraction::Character)jarg2;
1291   {
1292     try {
1293       result = (arg1)->FindDefaultFont(arg2);
1294     } CALL_CATCH_EXCEPTION(0);
1295   }
1296   jresult = result;
1297   return jresult;
1298 }
1299
1300
1301 SWIGEXPORT unsigned int SWIGSTDCALL CSharp_Dali_FontClient_FindFallbackFont__SWIG_0(void * jarg1, unsigned int jarg2, void * jarg3, unsigned int jarg4, unsigned int jarg5) {
1302   unsigned int jresult ;
1303   Dali::TextAbstraction::FontClient *arg1 = (Dali::TextAbstraction::FontClient *) 0 ;
1304   Dali::TextAbstraction::Character arg2 ;
1305   Dali::TextAbstraction::FontDescription *arg3 = 0 ;
1306   Dali::TextAbstraction::PointSize26Dot6 arg4 ;
1307   bool arg5 ;
1308   Dali::TextAbstraction::FontId result;
1309
1310   arg1 = (Dali::TextAbstraction::FontClient *)jarg1;
1311   arg2 = (Dali::TextAbstraction::Character)jarg2;
1312   arg3 = (Dali::TextAbstraction::FontDescription *)jarg3;
1313   if (!arg3) {
1314     SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Dali::TextAbstraction::FontDescription const & type is null", 0);
1315     return 0;
1316   }
1317   arg4 = (Dali::TextAbstraction::PointSize26Dot6)jarg4;
1318   arg5 = jarg5 ? true : false;
1319   {
1320     try {
1321       result = (arg1)->FindFallbackFont(arg2,(Dali::TextAbstraction::FontDescription const &)*arg3,arg4,arg5);
1322     } CALL_CATCH_EXCEPTION(0);
1323   }
1324   jresult = result;
1325   return jresult;
1326 }
1327
1328
1329 SWIGEXPORT unsigned int SWIGSTDCALL CSharp_Dali_FontClient_FindFallbackFont__SWIG_1(void * jarg1, unsigned int jarg2, void * jarg3, unsigned int jarg4) {
1330   unsigned int jresult ;
1331   Dali::TextAbstraction::FontClient *arg1 = (Dali::TextAbstraction::FontClient *) 0 ;
1332   Dali::TextAbstraction::Character arg2 ;
1333   Dali::TextAbstraction::FontDescription *arg3 = 0 ;
1334   Dali::TextAbstraction::PointSize26Dot6 arg4 ;
1335   Dali::TextAbstraction::FontId result;
1336
1337   arg1 = (Dali::TextAbstraction::FontClient *)jarg1;
1338   arg2 = (Dali::TextAbstraction::Character)jarg2;
1339   arg3 = (Dali::TextAbstraction::FontDescription *)jarg3;
1340   if (!arg3) {
1341     SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Dali::TextAbstraction::FontDescription const & type is null", 0);
1342     return 0;
1343   }
1344   arg4 = (Dali::TextAbstraction::PointSize26Dot6)jarg4;
1345   {
1346     try {
1347       result = (arg1)->FindFallbackFont(arg2,(Dali::TextAbstraction::FontDescription const &)*arg3,arg4);
1348     } CALL_CATCH_EXCEPTION(0);
1349   }
1350   jresult = result;
1351   return jresult;
1352 }
1353
1354
1355 SWIGEXPORT unsigned int SWIGSTDCALL CSharp_Dali_FontClient_FindFallbackFont__SWIG_2(void * jarg1, unsigned int jarg2, void * jarg3) {
1356   unsigned int jresult ;
1357   Dali::TextAbstraction::FontClient *arg1 = (Dali::TextAbstraction::FontClient *) 0 ;
1358   Dali::TextAbstraction::Character arg2 ;
1359   Dali::TextAbstraction::FontDescription *arg3 = 0 ;
1360   Dali::TextAbstraction::FontId result;
1361
1362   arg1 = (Dali::TextAbstraction::FontClient *)jarg1;
1363   arg2 = (Dali::TextAbstraction::Character)jarg2;
1364   arg3 = (Dali::TextAbstraction::FontDescription *)jarg3;
1365   if (!arg3) {
1366     SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Dali::TextAbstraction::FontDescription const & type is null", 0);
1367     return 0;
1368   }
1369   {
1370     try {
1371       result = (arg1)->FindFallbackFont(arg2,(Dali::TextAbstraction::FontDescription const &)*arg3);
1372     } CALL_CATCH_EXCEPTION(0);
1373   }
1374   jresult = result;
1375   return jresult;
1376 }
1377
1378
1379 SWIGEXPORT unsigned int SWIGSTDCALL CSharp_Dali_FontClient_GetFontId__SWIG_0(void * jarg1, char * jarg2, unsigned int jarg3, unsigned int jarg4) {
1380   unsigned int jresult ;
1381   Dali::TextAbstraction::FontClient *arg1 = (Dali::TextAbstraction::FontClient *) 0 ;
1382   Dali::TextAbstraction::FontPath *arg2 = 0 ;
1383   Dali::TextAbstraction::PointSize26Dot6 arg3 ;
1384   Dali::TextAbstraction::FaceIndex arg4 ;
1385   Dali::TextAbstraction::FontId result;
1386
1387   arg1 = (Dali::TextAbstraction::FontClient *)jarg1;
1388   if (!jarg2) {
1389     SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "null string", 0);
1390     return 0;
1391   }
1392   Dali::TextAbstraction::FontPath arg2_str(jarg2);
1393   arg2 = &arg2_str;
1394   arg3 = (Dali::TextAbstraction::PointSize26Dot6)jarg3;
1395   arg4 = (Dali::TextAbstraction::FaceIndex)jarg4;
1396   {
1397     try {
1398       result = (arg1)->GetFontId((Dali::TextAbstraction::FontPath const &)*arg2,arg3,arg4);
1399     } CALL_CATCH_EXCEPTION(0);
1400   }
1401   jresult = result;
1402   return jresult;
1403 }
1404
1405
1406 SWIGEXPORT unsigned int SWIGSTDCALL CSharp_Dali_FontClient_GetFontId__SWIG_1(void * jarg1, char * jarg2, unsigned int jarg3) {
1407   unsigned int jresult ;
1408   Dali::TextAbstraction::FontClient *arg1 = (Dali::TextAbstraction::FontClient *) 0 ;
1409   Dali::TextAbstraction::FontPath *arg2 = 0 ;
1410   Dali::TextAbstraction::PointSize26Dot6 arg3 ;
1411   Dali::TextAbstraction::FontId result;
1412
1413   arg1 = (Dali::TextAbstraction::FontClient *)jarg1;
1414   if (!jarg2) {
1415     SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "null string", 0);
1416     return 0;
1417   }
1418   Dali::TextAbstraction::FontPath arg2_str(jarg2);
1419   arg2 = &arg2_str;
1420   arg3 = (Dali::TextAbstraction::PointSize26Dot6)jarg3;
1421   {
1422     try {
1423       result = (arg1)->GetFontId((Dali::TextAbstraction::FontPath const &)*arg2,arg3);
1424     } CALL_CATCH_EXCEPTION(0);
1425   }
1426   jresult = result;
1427   return jresult;
1428 }
1429
1430
1431 SWIGEXPORT unsigned int SWIGSTDCALL CSharp_Dali_FontClient_GetFontId__SWIG_2(void * jarg1, char * jarg2) {
1432   unsigned int jresult ;
1433   Dali::TextAbstraction::FontClient *arg1 = (Dali::TextAbstraction::FontClient *) 0 ;
1434   Dali::TextAbstraction::FontPath *arg2 = 0 ;
1435   Dali::TextAbstraction::FontId result;
1436
1437   arg1 = (Dali::TextAbstraction::FontClient *)jarg1;
1438   if (!jarg2) {
1439     SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "null string", 0);
1440     return 0;
1441   }
1442   Dali::TextAbstraction::FontPath arg2_str(jarg2);
1443   arg2 = &arg2_str;
1444   {
1445     try {
1446       result = (arg1)->GetFontId((Dali::TextAbstraction::FontPath const &)*arg2);
1447     } CALL_CATCH_EXCEPTION(0);
1448   }
1449   jresult = result;
1450   return jresult;
1451 }
1452
1453
1454 SWIGEXPORT unsigned int SWIGSTDCALL CSharp_Dali_FontClient_GetFontId__SWIG_3(void * jarg1, void * jarg2, unsigned int jarg3, unsigned int jarg4) {
1455   unsigned int jresult ;
1456   Dali::TextAbstraction::FontClient *arg1 = (Dali::TextAbstraction::FontClient *) 0 ;
1457   Dali::TextAbstraction::FontDescription *arg2 = 0 ;
1458   Dali::TextAbstraction::PointSize26Dot6 arg3 ;
1459   Dali::TextAbstraction::FaceIndex arg4 ;
1460   Dali::TextAbstraction::FontId result;
1461
1462   arg1 = (Dali::TextAbstraction::FontClient *)jarg1;
1463   arg2 = (Dali::TextAbstraction::FontDescription *)jarg2;
1464   if (!arg2) {
1465     SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Dali::TextAbstraction::FontDescription const & type is null", 0);
1466     return 0;
1467   }
1468   arg3 = (Dali::TextAbstraction::PointSize26Dot6)jarg3;
1469   arg4 = (Dali::TextAbstraction::FaceIndex)jarg4;
1470   {
1471     try {
1472       result = (arg1)->GetFontId((Dali::TextAbstraction::FontDescription const &)*arg2,arg3,arg4);
1473     } CALL_CATCH_EXCEPTION(0);
1474   }
1475   jresult = result;
1476   return jresult;
1477 }
1478
1479
1480 SWIGEXPORT unsigned int SWIGSTDCALL CSharp_Dali_FontClient_GetFontId__SWIG_4(void * jarg1, void * jarg2, unsigned int jarg3) {
1481   unsigned int jresult ;
1482   Dali::TextAbstraction::FontClient *arg1 = (Dali::TextAbstraction::FontClient *) 0 ;
1483   Dali::TextAbstraction::FontDescription *arg2 = 0 ;
1484   Dali::TextAbstraction::PointSize26Dot6 arg3 ;
1485   Dali::TextAbstraction::FontId result;
1486
1487   arg1 = (Dali::TextAbstraction::FontClient *)jarg1;
1488   arg2 = (Dali::TextAbstraction::FontDescription *)jarg2;
1489   if (!arg2) {
1490     SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Dali::TextAbstraction::FontDescription const & type is null", 0);
1491     return 0;
1492   }
1493   arg3 = (Dali::TextAbstraction::PointSize26Dot6)jarg3;
1494   {
1495     try {
1496       result = (arg1)->GetFontId((Dali::TextAbstraction::FontDescription const &)*arg2,arg3);
1497     } CALL_CATCH_EXCEPTION(0);
1498   }
1499   jresult = result;
1500   return jresult;
1501 }
1502
1503
1504 SWIGEXPORT unsigned int SWIGSTDCALL CSharp_Dali_FontClient_GetFontId__SWIG_5(void * jarg1, void * jarg2) {
1505   unsigned int jresult ;
1506   Dali::TextAbstraction::FontClient *arg1 = (Dali::TextAbstraction::FontClient *) 0 ;
1507   Dali::TextAbstraction::FontDescription *arg2 = 0 ;
1508   Dali::TextAbstraction::FontId result;
1509
1510   arg1 = (Dali::TextAbstraction::FontClient *)jarg1;
1511   arg2 = (Dali::TextAbstraction::FontDescription *)jarg2;
1512   if (!arg2) {
1513     SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Dali::TextAbstraction::FontDescription const & type is null", 0);
1514     return 0;
1515   }
1516   {
1517     try {
1518       result = (arg1)->GetFontId((Dali::TextAbstraction::FontDescription const &)*arg2);
1519     } CALL_CATCH_EXCEPTION(0);
1520   }
1521   jresult = result;
1522   return jresult;
1523 }
1524
1525
1526 SWIGEXPORT unsigned int SWIGSTDCALL CSharp_Dali_FontClient_IsScalable__SWIG_0(void * jarg1, char * jarg2) {
1527   unsigned int jresult ;
1528   Dali::TextAbstraction::FontClient *arg1 = (Dali::TextAbstraction::FontClient *) 0 ;
1529   Dali::TextAbstraction::FontPath *arg2 = 0 ;
1530   bool result;
1531
1532   arg1 = (Dali::TextAbstraction::FontClient *)jarg1;
1533   if (!jarg2) {
1534     SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "null string", 0);
1535     return 0;
1536   }
1537   Dali::TextAbstraction::FontPath arg2_str(jarg2);
1538   arg2 = &arg2_str;
1539   {
1540     try {
1541       result = (bool)(arg1)->IsScalable((Dali::TextAbstraction::FontPath const &)*arg2);
1542     } CALL_CATCH_EXCEPTION(0);
1543   }
1544   jresult = result;
1545   return jresult;
1546 }
1547
1548
1549 SWIGEXPORT unsigned int SWIGSTDCALL CSharp_Dali_FontClient_IsScalable__SWIG_1(void * jarg1, void * jarg2) {
1550   unsigned int jresult ;
1551   Dali::TextAbstraction::FontClient *arg1 = (Dali::TextAbstraction::FontClient *) 0 ;
1552   Dali::TextAbstraction::FontDescription *arg2 = 0 ;
1553   bool result;
1554
1555   arg1 = (Dali::TextAbstraction::FontClient *)jarg1;
1556   arg2 = (Dali::TextAbstraction::FontDescription *)jarg2;
1557   if (!arg2) {
1558     SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Dali::TextAbstraction::FontDescription const & type is null", 0);
1559     return 0;
1560   }
1561   {
1562     try {
1563       result = (bool)(arg1)->IsScalable((Dali::TextAbstraction::FontDescription const &)*arg2);
1564     } CALL_CATCH_EXCEPTION(0);
1565   }
1566   jresult = result;
1567   return jresult;
1568 }
1569
1570
1571 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_FontClient_GetFixedSizes__SWIG_0(void * jarg1, char * jarg2, void * jarg3) {
1572   Dali::TextAbstraction::FontClient *arg1 = (Dali::TextAbstraction::FontClient *) 0 ;
1573   Dali::TextAbstraction::FontPath *arg2 = 0 ;
1574   Dali::Vector< Dali::TextAbstraction::PointSize26Dot6,Dali::TypeTraits< Dali::TextAbstraction::PointSize26Dot6 >::IS_TRIVIAL_TYPE==true > *arg3 = 0 ;
1575
1576   arg1 = (Dali::TextAbstraction::FontClient *)jarg1;
1577   if (!jarg2) {
1578     SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "null string", 0);
1579     return ;
1580   }
1581   Dali::TextAbstraction::FontPath arg2_str(jarg2);
1582   arg2 = &arg2_str;
1583   arg3 = (Dali::Vector< Dali::TextAbstraction::PointSize26Dot6,Dali::TypeTraits< Dali::TextAbstraction::PointSize26Dot6 >::IS_TRIVIAL_TYPE==true > *)jarg3;
1584   if (!arg3) {
1585     SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Dali::Vector< Dali::TextAbstraction::PointSize26Dot6,Dali::TypeTraits< Dali::TextAbstraction::PointSize26Dot6 >::IS_TRIVIAL_TYPE==true > & type is null", 0);
1586     return ;
1587   }
1588   {
1589     try {
1590       (arg1)->GetFixedSizes((Dali::TextAbstraction::FontPath const &)*arg2,*arg3);
1591     } CALL_CATCH_EXCEPTION();
1592   }
1593 }
1594
1595
1596 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_FontClient_GetFixedSizes__SWIG_1(void * jarg1, void * jarg2, void * jarg3) {
1597   Dali::TextAbstraction::FontClient *arg1 = (Dali::TextAbstraction::FontClient *) 0 ;
1598   Dali::TextAbstraction::FontDescription *arg2 = 0 ;
1599   Dali::Vector< Dali::TextAbstraction::PointSize26Dot6,Dali::TypeTraits< Dali::TextAbstraction::PointSize26Dot6 >::IS_TRIVIAL_TYPE==true > *arg3 = 0 ;
1600
1601   arg1 = (Dali::TextAbstraction::FontClient *)jarg1;
1602   arg2 = (Dali::TextAbstraction::FontDescription *)jarg2;
1603   if (!arg2) {
1604     SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Dali::TextAbstraction::FontDescription const & type is null", 0);
1605     return ;
1606   }
1607   arg3 = (Dali::Vector< Dali::TextAbstraction::PointSize26Dot6,Dali::TypeTraits< Dali::TextAbstraction::PointSize26Dot6 >::IS_TRIVIAL_TYPE==true > *)jarg3;
1608   if (!arg3) {
1609     SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Dali::Vector< Dali::TextAbstraction::PointSize26Dot6,Dali::TypeTraits< Dali::TextAbstraction::PointSize26Dot6 >::IS_TRIVIAL_TYPE==true > & type is null", 0);
1610     return ;
1611   }
1612   {
1613     try {
1614       (arg1)->GetFixedSizes((Dali::TextAbstraction::FontDescription const &)*arg2,*arg3);
1615     } CALL_CATCH_EXCEPTION();
1616   }
1617 }
1618
1619
1620 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_FontClient_GetFontMetrics(void * jarg1, unsigned int jarg2, void * jarg3) {
1621   Dali::TextAbstraction::FontClient *arg1 = (Dali::TextAbstraction::FontClient *) 0 ;
1622   Dali::TextAbstraction::FontId arg2 ;
1623   Dali::TextAbstraction::FontMetrics *arg3 = 0 ;
1624
1625   arg1 = (Dali::TextAbstraction::FontClient *)jarg1;
1626   arg2 = (Dali::TextAbstraction::FontId)jarg2;
1627   arg3 = (Dali::TextAbstraction::FontMetrics *)jarg3;
1628   if (!arg3) {
1629     SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Dali::TextAbstraction::FontMetrics & type is null", 0);
1630     return ;
1631   }
1632   {
1633     try {
1634       (arg1)->GetFontMetrics(arg2,*arg3);
1635     } CALL_CATCH_EXCEPTION();
1636   }
1637 }
1638
1639
1640 SWIGEXPORT unsigned int SWIGSTDCALL CSharp_Dali_FontClient_GetGlyphIndex(void * jarg1, unsigned int jarg2, unsigned int jarg3) {
1641   unsigned int jresult ;
1642   Dali::TextAbstraction::FontClient *arg1 = (Dali::TextAbstraction::FontClient *) 0 ;
1643   Dali::TextAbstraction::FontId arg2 ;
1644   Dali::TextAbstraction::Character arg3 ;
1645   Dali::TextAbstraction::GlyphIndex result;
1646
1647   arg1 = (Dali::TextAbstraction::FontClient *)jarg1;
1648   arg2 = (Dali::TextAbstraction::FontId)jarg2;
1649   arg3 = (Dali::TextAbstraction::Character)jarg3;
1650   {
1651     try {
1652       result = (arg1)->GetGlyphIndex(arg2,arg3);
1653     } CALL_CATCH_EXCEPTION(0);
1654   }
1655   jresult = result;
1656   return jresult;
1657 }
1658
1659
1660 SWIGEXPORT unsigned int SWIGSTDCALL CSharp_Dali_FontClient_GetGlyphMetrics__SWIG_0(void * jarg1, void * jarg2, unsigned int jarg3, int jarg4, unsigned int jarg5) {
1661   unsigned int jresult ;
1662   Dali::TextAbstraction::FontClient *arg1 = (Dali::TextAbstraction::FontClient *) 0 ;
1663   Dali::TextAbstraction::GlyphInfo *arg2 = (Dali::TextAbstraction::GlyphInfo *) 0 ;
1664   uint32_t arg3 ;
1665   Dali::TextAbstraction::GlyphType arg4 ;
1666   bool arg5 ;
1667   bool result;
1668
1669   arg1 = (Dali::TextAbstraction::FontClient *)jarg1;
1670   arg2 = (Dali::TextAbstraction::GlyphInfo *)jarg2;
1671   arg3 = (uint32_t)jarg3;
1672   arg4 = (Dali::TextAbstraction::GlyphType)jarg4;
1673   arg5 = jarg5 ? true : false;
1674   {
1675     try {
1676       result = (bool)(arg1)->GetGlyphMetrics(arg2,arg3,arg4,arg5);
1677     } CALL_CATCH_EXCEPTION(0);
1678   }
1679   jresult = result;
1680   return jresult;
1681 }
1682
1683
1684 SWIGEXPORT unsigned int SWIGSTDCALL CSharp_Dali_FontClient_GetGlyphMetrics__SWIG_1(void * jarg1, void * jarg2, unsigned int jarg3, int jarg4) {
1685   unsigned int jresult ;
1686   Dali::TextAbstraction::FontClient *arg1 = (Dali::TextAbstraction::FontClient *) 0 ;
1687   Dali::TextAbstraction::GlyphInfo *arg2 = (Dali::TextAbstraction::GlyphInfo *) 0 ;
1688   uint32_t arg3 ;
1689   Dali::TextAbstraction::GlyphType arg4 ;
1690   bool result;
1691
1692   arg1 = (Dali::TextAbstraction::FontClient *)jarg1;
1693   arg2 = (Dali::TextAbstraction::GlyphInfo *)jarg2;
1694   arg3 = (uint32_t)jarg3;
1695   arg4 = (Dali::TextAbstraction::GlyphType)jarg4;
1696   {
1697     try {
1698       result = (bool)(arg1)->GetGlyphMetrics(arg2,arg3,arg4);
1699     } CALL_CATCH_EXCEPTION(0);
1700   }
1701   jresult = result;
1702   return jresult;
1703 }
1704
1705
1706 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_FontClient_CreateBitmap__SWIG_0(void * jarg1, unsigned int jarg2, unsigned int jarg3, bool jarg4, bool jarg5, void * jarg6, int jarg7) {
1707   Dali::TextAbstraction::FontClient *arg1 = (Dali::TextAbstraction::FontClient *) 0 ;
1708   Dali::TextAbstraction::FontId arg2 ;
1709   Dali::TextAbstraction::GlyphIndex arg3 ;
1710   bool arg4;
1711   bool arg5;
1712   Dali::TextAbstraction::GlyphBufferData *arg6 = 0 ;
1713   int arg7 ;
1714
1715   arg1 = (Dali::TextAbstraction::FontClient *)jarg1;
1716   arg2 = (Dali::TextAbstraction::FontId)jarg2;
1717   arg3 = (Dali::TextAbstraction::GlyphIndex)jarg3;
1718   arg4 = jarg4;
1719   arg5 = jarg5;
1720   arg6 = (Dali::TextAbstraction::GlyphBufferData *)jarg6;
1721   if (!arg6) {
1722     SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Dali::TextAbstraction::GlyphBufferData & type is null", 0);
1723     return ;
1724   }
1725   arg7 = (int)jarg7;
1726   {
1727     try {
1728       (arg1)->CreateBitmap(arg2,arg3,arg4,arg5,*arg6,arg7);
1729     } CALL_CATCH_EXCEPTION();
1730   }
1731 }
1732
1733
1734 SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_FontClient_CreateBitmap__SWIG_1(void * jarg1, unsigned int jarg2, unsigned int jarg3, int jarg4) {
1735   void * jresult ;
1736   Dali::TextAbstraction::FontClient *arg1 = (Dali::TextAbstraction::FontClient *) 0 ;
1737   Dali::TextAbstraction::FontId arg2 ;
1738   Dali::TextAbstraction::GlyphIndex arg3 ;
1739   int arg4 ;
1740   Dali::PixelData result;
1741
1742   arg1 = (Dali::TextAbstraction::FontClient *)jarg1;
1743   arg2 = (Dali::TextAbstraction::FontId)jarg2;
1744   arg3 = (Dali::TextAbstraction::GlyphIndex)jarg3;
1745   arg4 = (int)jarg4;
1746   {
1747     try {
1748       result = (arg1)->CreateBitmap(arg2,arg3,arg4);
1749     } CALL_CATCH_EXCEPTION(0);
1750   }
1751   jresult = new Dali::PixelData((const Dali::PixelData &)result);
1752   return jresult;
1753 }
1754
1755
1756 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_FontClient_CreateVectorBlob(void * jarg1, unsigned int jarg2, unsigned int jarg3, void * jarg4, void * jarg5, void * jarg6, void * jarg7) {
1757   Dali::TextAbstraction::FontClient *arg1 = (Dali::TextAbstraction::FontClient *) 0 ;
1758   Dali::TextAbstraction::FontId arg2 ;
1759   Dali::TextAbstraction::GlyphIndex arg3 ;
1760   Dali::TextAbstraction::VectorBlob **arg4 = 0 ;
1761   unsigned int *arg5 = 0 ;
1762   unsigned int *arg6 = 0 ;
1763   unsigned int *arg7 = 0 ;
1764
1765   arg1 = (Dali::TextAbstraction::FontClient *)jarg1;
1766   arg2 = (Dali::TextAbstraction::FontId)jarg2;
1767   arg3 = (Dali::TextAbstraction::GlyphIndex)jarg3;
1768   arg4 = (Dali::TextAbstraction::VectorBlob **)jarg4;
1769   if (!arg4) {
1770     SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Dali::TextAbstraction::VectorBlob *& type is null", 0);
1771     return ;
1772   }
1773   arg5 = (unsigned int *)jarg5;
1774   if (!arg5) {
1775     SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "unsigned int & type is null", 0);
1776     return ;
1777   }
1778   arg6 = (unsigned int *)jarg6;
1779   if (!arg6) {
1780     SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "unsigned int & type is null", 0);
1781     return ;
1782   }
1783   arg7 = (unsigned int *)jarg7;
1784   if (!arg7) {
1785     SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "unsigned int & type is null", 0);
1786     return ;
1787   }
1788   {
1789     try {
1790       (arg1)->CreateVectorBlob(arg2,arg3,*arg4,*arg5,*arg6,*arg7);
1791     } CALL_CATCH_EXCEPTION();
1792   }
1793 }
1794
1795
1796 SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_FontClient_GetEllipsisGlyph(void * jarg1, unsigned int jarg2) {
1797   void * jresult ;
1798   Dali::TextAbstraction::FontClient *arg1 = (Dali::TextAbstraction::FontClient *) 0 ;
1799   Dali::TextAbstraction::PointSize26Dot6 arg2 ;
1800   Dali::TextAbstraction::GlyphInfo *result = 0 ;
1801
1802   arg1 = (Dali::TextAbstraction::FontClient *)jarg1;
1803   arg2 = (Dali::TextAbstraction::PointSize26Dot6)jarg2;
1804   {
1805     try {
1806       result = (Dali::TextAbstraction::GlyphInfo *) &(arg1)->GetEllipsisGlyph(arg2);
1807     } CALL_CATCH_EXCEPTION(0);
1808   }
1809   jresult = (void *)result;
1810   return jresult;
1811 }
1812
1813
1814 SWIGEXPORT unsigned int SWIGSTDCALL CSharp_Dali_FontClient_IsColorGlyph(void * jarg1, unsigned int jarg2, unsigned int jarg3) {
1815   unsigned int jresult ;
1816   Dali::TextAbstraction::FontClient *arg1 = (Dali::TextAbstraction::FontClient *) 0 ;
1817   Dali::TextAbstraction::FontId arg2 ;
1818   Dali::TextAbstraction::GlyphIndex arg3 ;
1819   bool result;
1820
1821   arg1 = (Dali::TextAbstraction::FontClient *)jarg1;
1822   arg2 = (Dali::TextAbstraction::FontId)jarg2;
1823   arg3 = (Dali::TextAbstraction::GlyphIndex)jarg3;
1824   {
1825     try {
1826       result = (bool)(arg1)->IsColorGlyph(arg2,arg3);
1827     } CALL_CATCH_EXCEPTION(0);
1828   }
1829   jresult = result;
1830   return jresult;
1831 }
1832
1833
1834 SWIGEXPORT unsigned int SWIGSTDCALL CSharp_Dali_FontClient_AddCustomFontDirectory(void * jarg1, char * jarg2) {
1835   unsigned int jresult ;
1836   Dali::TextAbstraction::FontClient *arg1 = (Dali::TextAbstraction::FontClient *) 0 ;
1837   Dali::TextAbstraction::FontPath *arg2 = 0 ;
1838   bool result;
1839
1840   arg1 = (Dali::TextAbstraction::FontClient *)jarg1;
1841   if (!jarg2) {
1842     SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "null string", 0);
1843     return 0;
1844   }
1845   Dali::TextAbstraction::FontPath arg2_str(jarg2);
1846   arg2 = &arg2_str;
1847   {
1848     try {
1849       result = (bool)(arg1)->AddCustomFontDirectory((Dali::TextAbstraction::FontPath const &)*arg2);
1850     } CALL_CATCH_EXCEPTION(0);
1851   }
1852   jresult = result;
1853   return jresult;
1854 }
1855
1856 #ifdef __cplusplus
1857 }
1858 #endif
1859