1 /** Copyright (c) 2017 Samsung Electronics Co., Ltd.
3 * Licensed under the Apache License, Version 2.0 (the "License");
4 * you may not use this file except in compliance with the License.
5 * You may obtain a copy of the License at
7 * http://www.apache.org/licenses/LICENSE-2.0
9 * Unless required by applicable law or agreed to in writing, software
10 * distributed under the License is distributed on an "AS IS" BASIS,
11 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 * See the License for the specific language governing permissions and
13 * limitations under the License.
16 #ifndef CSHARP_FONT_CLIENT
17 #define CSHARP_FONT_CLIENT
21 #include <dali/public-api/common/type-traits.h>
22 #include <dali/devel-api/text-abstraction/font-metrics.h>
23 #include <dali/devel-api/text-abstraction/font-list.h>
24 #include <dali/devel-api/text-abstraction/glyph-info.h>
25 #include <dali/devel-api/text-abstraction/text-abstraction-definitions.h>
26 #include <dali/devel-api/text-abstraction/font-client.h>
28 /* Callback for returning strings to C# without leaking memory */
29 typedef char * (SWIGSTDCALL* SWIG_CSharpStringHelperCallback)(const char *);
30 extern SWIG_CSharpStringHelperCallback SWIG_csharp_string_callback;
33 typedef std::string FontPath;
34 typedef std::string FontFamily;
35 typedef std::string FontStyle;
36 typedef std::vector<Dali::TextAbstraction::FontDescription> FontList;
38 typedef uint32_t FontId;
39 typedef uint32_t PointSize26Dot6;
40 typedef uint32_t FaceIndex;
41 typedef uint32_t GlyphIndex;
42 typedef uint32_t Character;
43 typedef uint32_t CharacterIndex;
44 typedef uint32_t Length;
45 typedef uint32_t BidiInfoIndex;
46 typedef char LineBreakInfo;
47 typedef char WordBreakInfo;
48 typedef bool CharacterDirection;
56 SWIGEXPORT Dali::BaseHandle * SWIGSTDCALL CSharp_Dali_FontClient_SWIGUpcast(Dali::TextAbstraction::FontClient *jarg1) {
57 return (Dali::BaseHandle *)jarg1;
60 SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_FontWidthName_get() {
64 result = (char **)(char **)Dali::TextAbstraction::FontWidth::Name;
70 SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_FontWeightName_get() {
74 result = (char **)(char **)Dali::TextAbstraction::FontWeight::Name;
80 SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_FontSlantName_get() {
84 result = (char **)(char **)Dali::TextAbstraction::FontSlant::Name;
90 SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_new_FontDescription() {
92 Dali::TextAbstraction::FontDescription *result = 0 ;
96 result = (Dali::TextAbstraction::FontDescription *)new Dali::TextAbstraction::FontDescription();
97 } catch (std::out_of_range& e) {
99 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
101 } catch (std::exception& e) {
103 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
107 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
111 jresult = (void *)result;
116 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_delete_FontDescription(void * jarg1) {
117 Dali::TextAbstraction::FontDescription *arg1 = (Dali::TextAbstraction::FontDescription *) 0 ;
119 arg1 = (Dali::TextAbstraction::FontDescription *)jarg1;
123 } catch (std::out_of_range& e) {
125 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
127 } catch (std::exception& e) {
129 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return ;
133 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;
140 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_FontDescription_path_set(void * jarg1, char * jarg2) {
141 Dali::TextAbstraction::FontDescription *arg1 = (Dali::TextAbstraction::FontDescription *) 0 ;
142 Dali::TextAbstraction::FontPath *arg2 = 0 ;
144 arg1 = (Dali::TextAbstraction::FontDescription *)jarg1;
146 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "null string", 0);
149 Dali::TextAbstraction::FontPath arg2_str(jarg2);
151 if (arg1) (arg1)->path = *arg2;
155 SWIGEXPORT char * SWIGSTDCALL CSharp_Dali_FontDescription_path_get(void * jarg1) {
157 Dali::TextAbstraction::FontDescription *arg1 = (Dali::TextAbstraction::FontDescription *) 0 ;
158 Dali::TextAbstraction::FontPath *result = 0 ;
160 arg1 = (Dali::TextAbstraction::FontDescription *)jarg1;
161 result = (Dali::TextAbstraction::FontPath *) & ((arg1)->path);
162 jresult = SWIG_csharp_string_callback(result->c_str());
167 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_FontDescription_family_set(void * jarg1, char * jarg2) {
168 Dali::TextAbstraction::FontDescription *arg1 = (Dali::TextAbstraction::FontDescription *) 0 ;
169 Dali::TextAbstraction::FontFamily *arg2 = 0 ;
171 arg1 = (Dali::TextAbstraction::FontDescription *)jarg1;
173 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "null string", 0);
176 Dali::TextAbstraction::FontFamily arg2_str(jarg2);
178 if (arg1) (arg1)->family = *arg2;
182 SWIGEXPORT char * SWIGSTDCALL CSharp_Dali_FontDescription_family_get(void * jarg1) {
184 Dali::TextAbstraction::FontDescription *arg1 = (Dali::TextAbstraction::FontDescription *) 0 ;
185 Dali::TextAbstraction::FontFamily *result = 0 ;
187 arg1 = (Dali::TextAbstraction::FontDescription *)jarg1;
188 result = (Dali::TextAbstraction::FontFamily *) & ((arg1)->family);
189 jresult = SWIG_csharp_string_callback(result->c_str());
194 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_FontDescription_width_set(void * jarg1, int jarg2) {
195 Dali::TextAbstraction::FontDescription *arg1 = (Dali::TextAbstraction::FontDescription *) 0 ;
196 Dali::TextAbstraction::FontWidth::Type arg2 ;
198 arg1 = (Dali::TextAbstraction::FontDescription *)jarg1;
199 arg2 = (Dali::TextAbstraction::FontWidth::Type)jarg2;
200 if (arg1) (arg1)->width = arg2;
204 SWIGEXPORT int SWIGSTDCALL CSharp_Dali_FontDescription_width_get(void * jarg1) {
206 Dali::TextAbstraction::FontDescription *arg1 = (Dali::TextAbstraction::FontDescription *) 0 ;
207 Dali::TextAbstraction::FontWidth::Type result;
209 arg1 = (Dali::TextAbstraction::FontDescription *)jarg1;
210 result = (Dali::TextAbstraction::FontWidth::Type) ((arg1)->width);
211 jresult = (int)result;
216 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_FontDescription_weight_set(void * jarg1, int jarg2) {
217 Dali::TextAbstraction::FontDescription *arg1 = (Dali::TextAbstraction::FontDescription *) 0 ;
218 Dali::TextAbstraction::FontWeight::Type arg2 ;
220 arg1 = (Dali::TextAbstraction::FontDescription *)jarg1;
221 arg2 = (Dali::TextAbstraction::FontWeight::Type)jarg2;
222 if (arg1) (arg1)->weight = arg2;
226 SWIGEXPORT int SWIGSTDCALL CSharp_Dali_FontDescription_weight_get(void * jarg1) {
228 Dali::TextAbstraction::FontDescription *arg1 = (Dali::TextAbstraction::FontDescription *) 0 ;
229 Dali::TextAbstraction::FontWeight::Type result;
231 arg1 = (Dali::TextAbstraction::FontDescription *)jarg1;
232 result = (Dali::TextAbstraction::FontWeight::Type) ((arg1)->weight);
233 jresult = (int)result;
238 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_FontDescription_slant_set(void * jarg1, int jarg2) {
239 Dali::TextAbstraction::FontDescription *arg1 = (Dali::TextAbstraction::FontDescription *) 0 ;
240 Dali::TextAbstraction::FontSlant::Type arg2 ;
242 arg1 = (Dali::TextAbstraction::FontDescription *)jarg1;
243 arg2 = (Dali::TextAbstraction::FontSlant::Type)jarg2;
244 if (arg1) (arg1)->slant = arg2;
248 SWIGEXPORT int SWIGSTDCALL CSharp_Dali_FontDescription_slant_get(void * jarg1) {
250 Dali::TextAbstraction::FontDescription *arg1 = (Dali::TextAbstraction::FontDescription *) 0 ;
251 Dali::TextAbstraction::FontSlant::Type result;
253 arg1 = (Dali::TextAbstraction::FontDescription *)jarg1;
254 result = (Dali::TextAbstraction::FontSlant::Type) ((arg1)->slant);
255 jresult = (int)result;
260 SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_new_FontMetrics__SWIG_0() {
262 Dali::TextAbstraction::FontMetrics *result = 0 ;
266 result = (Dali::TextAbstraction::FontMetrics *)new Dali::TextAbstraction::FontMetrics();
267 } catch (std::out_of_range& e) {
269 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
271 } catch (std::exception& e) {
273 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
277 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
281 jresult = (void *)result;
286 SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_new_FontMetrics__SWIG_1(float jarg1, float jarg2, float jarg3, float jarg4, float jarg5) {
293 Dali::TextAbstraction::FontMetrics *result = 0 ;
302 result = (Dali::TextAbstraction::FontMetrics *)new Dali::TextAbstraction::FontMetrics(arg1,arg2,arg3,arg4,arg5);
303 } catch (std::out_of_range& e) {
305 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
307 } catch (std::exception& e) {
309 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
313 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
317 jresult = (void *)result;
322 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_FontMetrics_ascender_set(void * jarg1, float jarg2) {
323 Dali::TextAbstraction::FontMetrics *arg1 = (Dali::TextAbstraction::FontMetrics *) 0 ;
326 arg1 = (Dali::TextAbstraction::FontMetrics *)jarg1;
328 if (arg1) (arg1)->ascender = arg2;
332 SWIGEXPORT float SWIGSTDCALL CSharp_Dali_FontMetrics_ascender_get(void * jarg1) {
334 Dali::TextAbstraction::FontMetrics *arg1 = (Dali::TextAbstraction::FontMetrics *) 0 ;
337 arg1 = (Dali::TextAbstraction::FontMetrics *)jarg1;
338 result = (float) ((arg1)->ascender);
344 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_FontMetrics_descender_set(void * jarg1, float jarg2) {
345 Dali::TextAbstraction::FontMetrics *arg1 = (Dali::TextAbstraction::FontMetrics *) 0 ;
348 arg1 = (Dali::TextAbstraction::FontMetrics *)jarg1;
350 if (arg1) (arg1)->descender = arg2;
354 SWIGEXPORT float SWIGSTDCALL CSharp_Dali_FontMetrics_descender_get(void * jarg1) {
356 Dali::TextAbstraction::FontMetrics *arg1 = (Dali::TextAbstraction::FontMetrics *) 0 ;
359 arg1 = (Dali::TextAbstraction::FontMetrics *)jarg1;
360 result = (float) ((arg1)->descender);
366 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_FontMetrics_height_set(void * jarg1, float jarg2) {
367 Dali::TextAbstraction::FontMetrics *arg1 = (Dali::TextAbstraction::FontMetrics *) 0 ;
370 arg1 = (Dali::TextAbstraction::FontMetrics *)jarg1;
372 if (arg1) (arg1)->height = arg2;
376 SWIGEXPORT float SWIGSTDCALL CSharp_Dali_FontMetrics_height_get(void * jarg1) {
378 Dali::TextAbstraction::FontMetrics *arg1 = (Dali::TextAbstraction::FontMetrics *) 0 ;
381 arg1 = (Dali::TextAbstraction::FontMetrics *)jarg1;
382 result = (float) ((arg1)->height);
388 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_FontMetrics_underlinePosition_set(void * jarg1, float jarg2) {
389 Dali::TextAbstraction::FontMetrics *arg1 = (Dali::TextAbstraction::FontMetrics *) 0 ;
392 arg1 = (Dali::TextAbstraction::FontMetrics *)jarg1;
394 if (arg1) (arg1)->underlinePosition = arg2;
398 SWIGEXPORT float SWIGSTDCALL CSharp_Dali_FontMetrics_underlinePosition_get(void * jarg1) {
400 Dali::TextAbstraction::FontMetrics *arg1 = (Dali::TextAbstraction::FontMetrics *) 0 ;
403 arg1 = (Dali::TextAbstraction::FontMetrics *)jarg1;
404 result = (float) ((arg1)->underlinePosition);
410 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_FontMetrics_underlineThickness_set(void * jarg1, float jarg2) {
411 Dali::TextAbstraction::FontMetrics *arg1 = (Dali::TextAbstraction::FontMetrics *) 0 ;
414 arg1 = (Dali::TextAbstraction::FontMetrics *)jarg1;
416 if (arg1) (arg1)->underlineThickness = arg2;
420 SWIGEXPORT float SWIGSTDCALL CSharp_Dali_FontMetrics_underlineThickness_get(void * jarg1) {
422 Dali::TextAbstraction::FontMetrics *arg1 = (Dali::TextAbstraction::FontMetrics *) 0 ;
425 arg1 = (Dali::TextAbstraction::FontMetrics *)jarg1;
426 result = (float) ((arg1)->underlineThickness);
432 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_delete_FontMetrics(void * jarg1) {
433 Dali::TextAbstraction::FontMetrics *arg1 = (Dali::TextAbstraction::FontMetrics *) 0 ;
435 arg1 = (Dali::TextAbstraction::FontMetrics *)jarg1;
439 } catch (std::out_of_range& e) {
441 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
443 } catch (std::exception& e) {
445 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return ;
449 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;
456 SWIGEXPORT int SWIGSTDCALL CSharp_Dali_LINE_MUST_BREAK_get() {
462 result = (int)Dali::TextAbstraction::LINE_MUST_BREAK;
463 } catch (std::out_of_range& e) {
465 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
467 } catch (std::exception& e) {
469 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
473 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
477 jresult = (int)result;
482 SWIGEXPORT int SWIGSTDCALL CSharp_Dali_LINE_ALLOW_BREAK_get() {
488 result = (int)Dali::TextAbstraction::LINE_ALLOW_BREAK;
489 } catch (std::out_of_range& e) {
491 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
493 } catch (std::exception& e) {
495 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
499 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
503 jresult = (int)result;
508 SWIGEXPORT int SWIGSTDCALL CSharp_Dali_LINE_NO_BREAK_get() {
514 result = (int)Dali::TextAbstraction::LINE_NO_BREAK;
515 } catch (std::out_of_range& e) {
517 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
519 } catch (std::exception& e) {
521 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
525 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
529 jresult = (int)result;
534 SWIGEXPORT int SWIGSTDCALL CSharp_Dali_WORD_BREAK_get() {
540 result = (int)Dali::TextAbstraction::WORD_BREAK;
541 } catch (std::out_of_range& e) {
543 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
545 } catch (std::exception& e) {
547 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
551 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
555 jresult = (int)result;
560 SWIGEXPORT int SWIGSTDCALL CSharp_Dali_WORD_NO_BREAK_get() {
566 result = (int)Dali::TextAbstraction::WORD_NO_BREAK;
567 } catch (std::out_of_range& e) {
569 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
571 } catch (std::exception& e) {
573 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
577 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
581 jresult = (int)result;
586 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_VectorBlob_r_set(void * jarg1, unsigned char jarg2) {
587 Dali::TextAbstraction::VectorBlob *arg1 = (Dali::TextAbstraction::VectorBlob *) 0 ;
590 arg1 = (Dali::TextAbstraction::VectorBlob *)jarg1;
591 arg2 = (unsigned char)jarg2;
592 if (arg1) (arg1)->r = arg2;
596 SWIGEXPORT unsigned char SWIGSTDCALL CSharp_Dali_VectorBlob_r_get(void * jarg1) {
597 unsigned char jresult ;
598 Dali::TextAbstraction::VectorBlob *arg1 = (Dali::TextAbstraction::VectorBlob *) 0 ;
599 unsigned char result;
601 arg1 = (Dali::TextAbstraction::VectorBlob *)jarg1;
602 result = (unsigned char) ((arg1)->r);
608 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_VectorBlob_g_set(void * jarg1, unsigned char jarg2) {
609 Dali::TextAbstraction::VectorBlob *arg1 = (Dali::TextAbstraction::VectorBlob *) 0 ;
612 arg1 = (Dali::TextAbstraction::VectorBlob *)jarg1;
613 arg2 = (unsigned char)jarg2;
614 if (arg1) (arg1)->g = arg2;
618 SWIGEXPORT unsigned char SWIGSTDCALL CSharp_Dali_VectorBlob_g_get(void * jarg1) {
619 unsigned char jresult ;
620 Dali::TextAbstraction::VectorBlob *arg1 = (Dali::TextAbstraction::VectorBlob *) 0 ;
621 unsigned char result;
623 arg1 = (Dali::TextAbstraction::VectorBlob *)jarg1;
624 result = (unsigned char) ((arg1)->g);
630 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_VectorBlob_b_set(void * jarg1, unsigned char jarg2) {
631 Dali::TextAbstraction::VectorBlob *arg1 = (Dali::TextAbstraction::VectorBlob *) 0 ;
634 arg1 = (Dali::TextAbstraction::VectorBlob *)jarg1;
635 arg2 = (unsigned char)jarg2;
636 if (arg1) (arg1)->b = arg2;
640 SWIGEXPORT unsigned char SWIGSTDCALL CSharp_Dali_VectorBlob_b_get(void * jarg1) {
641 unsigned char jresult ;
642 Dali::TextAbstraction::VectorBlob *arg1 = (Dali::TextAbstraction::VectorBlob *) 0 ;
643 unsigned char result;
645 arg1 = (Dali::TextAbstraction::VectorBlob *)jarg1;
646 result = (unsigned char) ((arg1)->b);
652 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_VectorBlob_a_set(void * jarg1, unsigned char jarg2) {
653 Dali::TextAbstraction::VectorBlob *arg1 = (Dali::TextAbstraction::VectorBlob *) 0 ;
656 arg1 = (Dali::TextAbstraction::VectorBlob *)jarg1;
657 arg2 = (unsigned char)jarg2;
658 if (arg1) (arg1)->a = arg2;
662 SWIGEXPORT unsigned char SWIGSTDCALL CSharp_Dali_VectorBlob_a_get(void * jarg1) {
663 unsigned char jresult ;
664 Dali::TextAbstraction::VectorBlob *arg1 = (Dali::TextAbstraction::VectorBlob *) 0 ;
665 unsigned char result;
667 arg1 = (Dali::TextAbstraction::VectorBlob *)jarg1;
668 result = (unsigned char) ((arg1)->a);
674 SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_new_VectorBlob() {
676 Dali::TextAbstraction::VectorBlob *result = 0 ;
680 result = (Dali::TextAbstraction::VectorBlob *)new Dali::TextAbstraction::VectorBlob();
681 } catch (std::out_of_range& e) {
683 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
685 } catch (std::exception& e) {
687 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
691 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
695 jresult = (void *)result;
700 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_delete_VectorBlob(void * jarg1) {
701 Dali::TextAbstraction::VectorBlob *arg1 = (Dali::TextAbstraction::VectorBlob *) 0 ;
703 arg1 = (Dali::TextAbstraction::VectorBlob *)jarg1;
707 } catch (std::out_of_range& e) {
709 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
711 } catch (std::exception& e) {
713 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return ;
717 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;
724 SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_new_GlyphInfo__SWIG_0() {
726 Dali::TextAbstraction::GlyphInfo *result = 0 ;
730 result = (Dali::TextAbstraction::GlyphInfo *)new Dali::TextAbstraction::GlyphInfo();
731 } catch (std::out_of_range& e) {
733 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
735 } catch (std::exception& e) {
737 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
741 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
745 jresult = (void *)result;
750 SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_new_GlyphInfo__SWIG_1(unsigned int jarg1, unsigned int jarg2) {
752 Dali::TextAbstraction::FontId arg1 ;
753 Dali::TextAbstraction::GlyphIndex arg2 ;
754 Dali::TextAbstraction::GlyphInfo *result = 0 ;
756 arg1 = (Dali::TextAbstraction::FontId)jarg1;
757 arg2 = (Dali::TextAbstraction::GlyphIndex)jarg2;
760 result = (Dali::TextAbstraction::GlyphInfo *)new Dali::TextAbstraction::GlyphInfo(arg1,arg2);
761 } catch (std::out_of_range& e) {
763 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
765 } catch (std::exception& e) {
767 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
771 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
775 jresult = (void *)result;
780 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_GlyphInfo_fontId_set(void * jarg1, unsigned int jarg2) {
781 Dali::TextAbstraction::GlyphInfo *arg1 = (Dali::TextAbstraction::GlyphInfo *) 0 ;
782 Dali::TextAbstraction::FontId arg2 ;
784 arg1 = (Dali::TextAbstraction::GlyphInfo *)jarg1;
785 arg2 = (Dali::TextAbstraction::FontId)jarg2;
786 if (arg1) (arg1)->fontId = arg2;
790 SWIGEXPORT unsigned int SWIGSTDCALL CSharp_Dali_GlyphInfo_fontId_get(void * jarg1) {
791 unsigned int jresult ;
792 Dali::TextAbstraction::GlyphInfo *arg1 = (Dali::TextAbstraction::GlyphInfo *) 0 ;
793 Dali::TextAbstraction::FontId result;
795 arg1 = (Dali::TextAbstraction::GlyphInfo *)jarg1;
796 result = ((arg1)->fontId);
802 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_GlyphInfo_index_set(void * jarg1, unsigned int jarg2) {
803 Dali::TextAbstraction::GlyphInfo *arg1 = (Dali::TextAbstraction::GlyphInfo *) 0 ;
804 Dali::TextAbstraction::GlyphIndex arg2 ;
806 arg1 = (Dali::TextAbstraction::GlyphInfo *)jarg1;
807 arg2 = (Dali::TextAbstraction::GlyphIndex)jarg2;
808 if (arg1) (arg1)->index = arg2;
812 SWIGEXPORT unsigned int SWIGSTDCALL CSharp_Dali_GlyphInfo_index_get(void * jarg1) {
813 unsigned int jresult ;
814 Dali::TextAbstraction::GlyphInfo *arg1 = (Dali::TextAbstraction::GlyphInfo *) 0 ;
815 Dali::TextAbstraction::GlyphIndex result;
817 arg1 = (Dali::TextAbstraction::GlyphInfo *)jarg1;
818 result = ((arg1)->index);
824 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_GlyphInfo_width_set(void * jarg1, float jarg2) {
825 Dali::TextAbstraction::GlyphInfo *arg1 = (Dali::TextAbstraction::GlyphInfo *) 0 ;
828 arg1 = (Dali::TextAbstraction::GlyphInfo *)jarg1;
830 if (arg1) (arg1)->width = arg2;
834 SWIGEXPORT float SWIGSTDCALL CSharp_Dali_GlyphInfo_width_get(void * jarg1) {
836 Dali::TextAbstraction::GlyphInfo *arg1 = (Dali::TextAbstraction::GlyphInfo *) 0 ;
839 arg1 = (Dali::TextAbstraction::GlyphInfo *)jarg1;
840 result = (float) ((arg1)->width);
846 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_GlyphInfo_height_set(void * jarg1, float jarg2) {
847 Dali::TextAbstraction::GlyphInfo *arg1 = (Dali::TextAbstraction::GlyphInfo *) 0 ;
850 arg1 = (Dali::TextAbstraction::GlyphInfo *)jarg1;
852 if (arg1) (arg1)->height = arg2;
856 SWIGEXPORT float SWIGSTDCALL CSharp_Dali_GlyphInfo_height_get(void * jarg1) {
858 Dali::TextAbstraction::GlyphInfo *arg1 = (Dali::TextAbstraction::GlyphInfo *) 0 ;
861 arg1 = (Dali::TextAbstraction::GlyphInfo *)jarg1;
862 result = (float) ((arg1)->height);
868 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_GlyphInfo_xBearing_set(void * jarg1, float jarg2) {
869 Dali::TextAbstraction::GlyphInfo *arg1 = (Dali::TextAbstraction::GlyphInfo *) 0 ;
872 arg1 = (Dali::TextAbstraction::GlyphInfo *)jarg1;
874 if (arg1) (arg1)->xBearing = arg2;
878 SWIGEXPORT float SWIGSTDCALL CSharp_Dali_GlyphInfo_xBearing_get(void * jarg1) {
880 Dali::TextAbstraction::GlyphInfo *arg1 = (Dali::TextAbstraction::GlyphInfo *) 0 ;
883 arg1 = (Dali::TextAbstraction::GlyphInfo *)jarg1;
884 result = (float) ((arg1)->xBearing);
890 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_GlyphInfo_yBearing_set(void * jarg1, float jarg2) {
891 Dali::TextAbstraction::GlyphInfo *arg1 = (Dali::TextAbstraction::GlyphInfo *) 0 ;
894 arg1 = (Dali::TextAbstraction::GlyphInfo *)jarg1;
896 if (arg1) (arg1)->yBearing = arg2;
900 SWIGEXPORT float SWIGSTDCALL CSharp_Dali_GlyphInfo_yBearing_get(void * jarg1) {
902 Dali::TextAbstraction::GlyphInfo *arg1 = (Dali::TextAbstraction::GlyphInfo *) 0 ;
905 arg1 = (Dali::TextAbstraction::GlyphInfo *)jarg1;
906 result = (float) ((arg1)->yBearing);
912 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_GlyphInfo_advance_set(void * jarg1, float jarg2) {
913 Dali::TextAbstraction::GlyphInfo *arg1 = (Dali::TextAbstraction::GlyphInfo *) 0 ;
916 arg1 = (Dali::TextAbstraction::GlyphInfo *)jarg1;
918 if (arg1) (arg1)->advance = arg2;
922 SWIGEXPORT float SWIGSTDCALL CSharp_Dali_GlyphInfo_advance_get(void * jarg1) {
924 Dali::TextAbstraction::GlyphInfo *arg1 = (Dali::TextAbstraction::GlyphInfo *) 0 ;
927 arg1 = (Dali::TextAbstraction::GlyphInfo *)jarg1;
928 result = (float) ((arg1)->advance);
934 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_GlyphInfo_scaleFactor_set(void * jarg1, float jarg2) {
935 Dali::TextAbstraction::GlyphInfo *arg1 = (Dali::TextAbstraction::GlyphInfo *) 0 ;
938 arg1 = (Dali::TextAbstraction::GlyphInfo *)jarg1;
940 if (arg1) (arg1)->scaleFactor = arg2;
944 SWIGEXPORT float SWIGSTDCALL CSharp_Dali_GlyphInfo_scaleFactor_get(void * jarg1) {
946 Dali::TextAbstraction::GlyphInfo *arg1 = (Dali::TextAbstraction::GlyphInfo *) 0 ;
949 arg1 = (Dali::TextAbstraction::GlyphInfo *)jarg1;
950 result = (float) ((arg1)->scaleFactor);
956 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_delete_GlyphInfo(void * jarg1) {
957 Dali::TextAbstraction::GlyphInfo *arg1 = (Dali::TextAbstraction::GlyphInfo *) 0 ;
959 arg1 = (Dali::TextAbstraction::GlyphInfo *)jarg1;
963 } catch (std::out_of_range& e) {
965 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
967 } catch (std::exception& e) {
969 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return ;
973 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;
980 SWIGEXPORT unsigned int SWIGSTDCALL CSharp_Dali_FontClient_DEFAULT_POINT_SIZE_get() {
981 unsigned int jresult ;
982 Dali::TextAbstraction::PointSize26Dot6 result;
984 result = (Dali::TextAbstraction::PointSize26Dot6)Dali::TextAbstraction::FontClient::DEFAULT_POINT_SIZE;
990 SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_new_FontClient_GlyphBufferData() {
992 Dali::TextAbstraction::FontClient::GlyphBufferData *result = 0 ;
996 result = (Dali::TextAbstraction::FontClient::GlyphBufferData *)new Dali::TextAbstraction::FontClient::GlyphBufferData();
997 } catch (std::out_of_range& e) {
999 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
1001 } catch (std::exception& e) {
1003 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
1007 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
1011 jresult = (void *)result;
1016 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_delete_FontClient_GlyphBufferData(void * jarg1) {
1017 Dali::TextAbstraction::FontClient::GlyphBufferData *arg1 = (Dali::TextAbstraction::FontClient::GlyphBufferData *) 0 ;
1019 arg1 = (Dali::TextAbstraction::FontClient::GlyphBufferData *)jarg1;
1023 } catch (std::out_of_range& e) {
1025 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
1027 } catch (std::exception& e) {
1029 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return ;
1033 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;
1040 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_FontClient_GlyphBufferData_buffer_set(void * jarg1, unsigned char* jarg2) {
1041 Dali::TextAbstraction::FontClient::GlyphBufferData *arg1 = (Dali::TextAbstraction::FontClient::GlyphBufferData *) 0 ;
1042 unsigned char *arg2 = (unsigned char *) 0 ;
1044 arg1 = (Dali::TextAbstraction::FontClient::GlyphBufferData *)jarg1;
1046 if (arg1) (arg1)->buffer = arg2;
1052 SWIGEXPORT unsigned char* SWIGSTDCALL CSharp_Dali_FontClient_GlyphBufferData_buffer_get(void * jarg1) {
1053 unsigned char* jresult ;
1054 Dali::TextAbstraction::FontClient::GlyphBufferData *arg1 = (Dali::TextAbstraction::FontClient::GlyphBufferData *) 0 ;
1055 unsigned char *result = 0 ;
1057 arg1 = (Dali::TextAbstraction::FontClient::GlyphBufferData *)jarg1;
1058 result = (unsigned char *) ((arg1)->buffer);
1059 jresult = (void *)result;
1064 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_FontClient_GlyphBufferData_width_set(void * jarg1, unsigned int jarg2) {
1065 Dali::TextAbstraction::FontClient::GlyphBufferData *arg1 = (Dali::TextAbstraction::FontClient::GlyphBufferData *) 0 ;
1068 arg1 = (Dali::TextAbstraction::FontClient::GlyphBufferData *)jarg1;
1069 arg2 = (unsigned int)jarg2;
1070 if (arg1) (arg1)->width = arg2;
1074 SWIGEXPORT unsigned int SWIGSTDCALL CSharp_Dali_FontClient_GlyphBufferData_width_get(void * jarg1) {
1075 unsigned int jresult ;
1076 Dali::TextAbstraction::FontClient::GlyphBufferData *arg1 = (Dali::TextAbstraction::FontClient::GlyphBufferData *) 0 ;
1077 unsigned int result;
1079 arg1 = (Dali::TextAbstraction::FontClient::GlyphBufferData *)jarg1;
1080 result = (unsigned int) ((arg1)->width);
1086 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_FontClient_GlyphBufferData_height_set(void * jarg1, unsigned int jarg2) {
1087 Dali::TextAbstraction::FontClient::GlyphBufferData *arg1 = (Dali::TextAbstraction::FontClient::GlyphBufferData *) 0 ;
1090 arg1 = (Dali::TextAbstraction::FontClient::GlyphBufferData *)jarg1;
1091 arg2 = (unsigned int)jarg2;
1092 if (arg1) (arg1)->height = arg2;
1096 SWIGEXPORT unsigned int SWIGSTDCALL CSharp_Dali_FontClient_GlyphBufferData_height_get(void * jarg1) {
1097 unsigned int jresult ;
1098 Dali::TextAbstraction::FontClient::GlyphBufferData *arg1 = (Dali::TextAbstraction::FontClient::GlyphBufferData *) 0 ;
1099 unsigned int result;
1101 arg1 = (Dali::TextAbstraction::FontClient::GlyphBufferData *)jarg1;
1102 result = (unsigned int) ((arg1)->height);
1108 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_FontClient_GlyphBufferData_format_set(void * jarg1, int jarg2) {
1109 Dali::TextAbstraction::FontClient::GlyphBufferData *arg1 = (Dali::TextAbstraction::FontClient::GlyphBufferData *) 0 ;
1110 Dali::Pixel::Format arg2 ;
1112 arg1 = (Dali::TextAbstraction::FontClient::GlyphBufferData *)jarg1;
1113 arg2 = (Dali::Pixel::Format)jarg2;
1114 if (arg1) (arg1)->format = arg2;
1118 SWIGEXPORT int SWIGSTDCALL CSharp_Dali_FontClient_GlyphBufferData_format_get(void * jarg1) {
1120 Dali::TextAbstraction::FontClient::GlyphBufferData *arg1 = (Dali::TextAbstraction::FontClient::GlyphBufferData *) 0 ;
1121 Dali::Pixel::Format result;
1123 arg1 = (Dali::TextAbstraction::FontClient::GlyphBufferData *)jarg1;
1124 result = (Dali::Pixel::Format) ((arg1)->format);
1125 jresult = (int)result;
1130 SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_FontClient_Get() {
1132 Dali::TextAbstraction::FontClient result;
1136 result = Dali::TextAbstraction::FontClient::Get();
1137 } catch (std::out_of_range& e) {
1139 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
1141 } catch (std::exception& e) {
1143 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
1147 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
1151 jresult = new Dali::TextAbstraction::FontClient((const Dali::TextAbstraction::FontClient &)result);
1156 SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_new_FontClient__SWIG_0() {
1158 Dali::TextAbstraction::FontClient *result = 0 ;
1162 result = (Dali::TextAbstraction::FontClient *)new Dali::TextAbstraction::FontClient();
1163 } catch (std::out_of_range& e) {
1165 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
1167 } catch (std::exception& e) {
1169 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
1173 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
1177 jresult = (void *)result;
1182 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_delete_FontClient(void * jarg1) {
1183 Dali::TextAbstraction::FontClient *arg1 = (Dali::TextAbstraction::FontClient *) 0 ;
1185 arg1 = (Dali::TextAbstraction::FontClient *)jarg1;
1189 } catch (std::out_of_range& e) {
1191 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
1193 } catch (std::exception& e) {
1195 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return ;
1199 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;
1206 SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_new_FontClient__SWIG_1(void * jarg1) {
1208 Dali::TextAbstraction::FontClient *arg1 = 0 ;
1209 Dali::TextAbstraction::FontClient *result = 0 ;
1211 arg1 = (Dali::TextAbstraction::FontClient *)jarg1;
1213 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Dali::TextAbstraction::FontClient const & type is null", 0);
1218 result = (Dali::TextAbstraction::FontClient *)new Dali::TextAbstraction::FontClient((Dali::TextAbstraction::FontClient const &)*arg1);
1219 } catch (std::out_of_range& e) {
1221 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
1223 } catch (std::exception& e) {
1225 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
1229 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
1233 jresult = (void *)result;
1238 SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_FontClient_Assign(void * jarg1, void * jarg2) {
1240 Dali::TextAbstraction::FontClient *arg1 = (Dali::TextAbstraction::FontClient *) 0 ;
1241 Dali::TextAbstraction::FontClient *arg2 = 0 ;
1242 Dali::TextAbstraction::FontClient *result = 0 ;
1244 arg1 = (Dali::TextAbstraction::FontClient *)jarg1;
1245 arg2 = (Dali::TextAbstraction::FontClient *)jarg2;
1247 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Dali::TextAbstraction::FontClient const & type is null", 0);
1252 result = (Dali::TextAbstraction::FontClient *) &(arg1)->operator =((Dali::TextAbstraction::FontClient const &)*arg2);
1253 } catch (std::out_of_range& e) {
1255 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
1257 } catch (std::exception& e) {
1259 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
1263 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
1267 jresult = (void *)result;
1272 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_FontClient_SetDpi(void * jarg1, unsigned int jarg2, unsigned int jarg3) {
1273 Dali::TextAbstraction::FontClient *arg1 = (Dali::TextAbstraction::FontClient *) 0 ;
1277 arg1 = (Dali::TextAbstraction::FontClient *)jarg1;
1278 arg2 = (unsigned int)jarg2;
1279 arg3 = (unsigned int)jarg3;
1282 (arg1)->SetDpi(arg2,arg3);
1283 } catch (std::out_of_range& e) {
1285 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
1287 } catch (std::exception& e) {
1289 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return ;
1293 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;
1300 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_FontClient_GetDpi(void * jarg1, void * jarg2, void * jarg3) {
1301 Dali::TextAbstraction::FontClient *arg1 = (Dali::TextAbstraction::FontClient *) 0 ;
1302 unsigned int *arg2 = 0 ;
1303 unsigned int *arg3 = 0 ;
1305 arg1 = (Dali::TextAbstraction::FontClient *)jarg1;
1306 arg2 = (unsigned int *)jarg2;
1308 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "unsigned int & type is null", 0);
1311 arg3 = (unsigned int *)jarg3;
1313 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "unsigned int & type is null", 0);
1318 (arg1)->GetDpi(*arg2,*arg3);
1319 } catch (std::out_of_range& e) {
1321 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
1323 } catch (std::exception& e) {
1325 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return ;
1329 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;
1336 SWIGEXPORT int SWIGSTDCALL CSharp_Dali_FontClient_GetDefaultFontSize(void * jarg1) {
1338 Dali::TextAbstraction::FontClient *arg1 = (Dali::TextAbstraction::FontClient *) 0 ;
1341 arg1 = (Dali::TextAbstraction::FontClient *)jarg1;
1344 result = (int)(arg1)->GetDefaultFontSize();
1345 } catch (std::out_of_range& e) {
1347 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
1349 } catch (std::exception& e) {
1351 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
1355 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
1364 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_FontClient_ResetSystemDefaults(void * jarg1) {
1365 Dali::TextAbstraction::FontClient *arg1 = (Dali::TextAbstraction::FontClient *) 0 ;
1367 arg1 = (Dali::TextAbstraction::FontClient *)jarg1;
1370 (arg1)->ResetSystemDefaults();
1371 } catch (std::out_of_range& e) {
1373 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
1375 } catch (std::exception& e) {
1377 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return ;
1381 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;
1388 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_FontClient_GetDefaultFonts(void * jarg1, void * jarg2) {
1389 Dali::TextAbstraction::FontClient *arg1 = (Dali::TextAbstraction::FontClient *) 0 ;
1390 Dali::TextAbstraction::FontList *arg2 = 0 ;
1392 arg1 = (Dali::TextAbstraction::FontClient *)jarg1;
1393 arg2 = (Dali::TextAbstraction::FontList *)jarg2;
1395 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Dali::TextAbstraction::FontList & type is null", 0);
1400 (arg1)->GetDefaultFonts(*arg2);
1401 } catch (std::out_of_range& e) {
1403 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
1405 } catch (std::exception& e) {
1407 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return ;
1411 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;
1418 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_FontClient_GetDefaultPlatformFontDescription(void * jarg1, void * jarg2) {
1419 Dali::TextAbstraction::FontClient *arg1 = (Dali::TextAbstraction::FontClient *) 0 ;
1420 Dali::TextAbstraction::FontDescription *arg2 = 0 ;
1422 arg1 = (Dali::TextAbstraction::FontClient *)jarg1;
1423 arg2 = (Dali::TextAbstraction::FontDescription *)jarg2;
1425 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Dali::TextAbstraction::FontDescription & type is null", 0);
1430 (arg1)->GetDefaultPlatformFontDescription(*arg2);
1431 } catch (std::out_of_range& e) {
1433 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
1435 } catch (std::exception& e) {
1437 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return ;
1441 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;
1448 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_FontClient_GetSystemFonts(void * jarg1, void * jarg2) {
1449 Dali::TextAbstraction::FontClient *arg1 = (Dali::TextAbstraction::FontClient *) 0 ;
1450 Dali::TextAbstraction::FontList *arg2 = 0 ;
1452 arg1 = (Dali::TextAbstraction::FontClient *)jarg1;
1453 arg2 = (Dali::TextAbstraction::FontList *)jarg2;
1455 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Dali::TextAbstraction::FontList & type is null", 0);
1460 (arg1)->GetSystemFonts(*arg2);
1461 } catch (std::out_of_range& e) {
1463 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
1465 } catch (std::exception& e) {
1467 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return ;
1471 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;
1478 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_FontClient_GetDescription(void * jarg1, unsigned int jarg2, void * jarg3) {
1479 Dali::TextAbstraction::FontClient *arg1 = (Dali::TextAbstraction::FontClient *) 0 ;
1480 Dali::TextAbstraction::FontId arg2 ;
1481 Dali::TextAbstraction::FontDescription *arg3 = 0 ;
1483 arg1 = (Dali::TextAbstraction::FontClient *)jarg1;
1484 arg2 = (Dali::TextAbstraction::FontId)jarg2;
1485 arg3 = (Dali::TextAbstraction::FontDescription *)jarg3;
1487 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Dali::TextAbstraction::FontDescription & type is null", 0);
1492 (arg1)->GetDescription(arg2,*arg3);
1493 } catch (std::out_of_range& e) {
1495 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
1497 } catch (std::exception& e) {
1499 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return ;
1503 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;
1510 SWIGEXPORT unsigned int SWIGSTDCALL CSharp_Dali_FontClient_GetPointSize(void * jarg1, unsigned int jarg2) {
1511 unsigned int jresult ;
1512 Dali::TextAbstraction::FontClient *arg1 = (Dali::TextAbstraction::FontClient *) 0 ;
1513 Dali::TextAbstraction::FontId arg2 ;
1514 Dali::TextAbstraction::PointSize26Dot6 result;
1516 arg1 = (Dali::TextAbstraction::FontClient *)jarg1;
1517 arg2 = (Dali::TextAbstraction::FontId)jarg2;
1520 result = (arg1)->GetPointSize(arg2);
1521 } catch (std::out_of_range& e) {
1523 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
1525 } catch (std::exception& e) {
1527 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
1531 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
1540 SWIGEXPORT unsigned int SWIGSTDCALL CSharp_Dali_FontClient_IsCharacterSupportedByFont(void * jarg1, unsigned int jarg2, unsigned int jarg3) {
1541 unsigned int jresult ;
1542 Dali::TextAbstraction::FontClient *arg1 = (Dali::TextAbstraction::FontClient *) 0 ;
1543 Dali::TextAbstraction::FontId arg2 ;
1544 Dali::TextAbstraction::Character arg3 ;
1547 arg1 = (Dali::TextAbstraction::FontClient *)jarg1;
1548 arg2 = (Dali::TextAbstraction::FontId)jarg2;
1549 arg3 = (Dali::TextAbstraction::Character)jarg3;
1552 result = (bool)(arg1)->IsCharacterSupportedByFont(arg2,arg3);
1553 } catch (std::out_of_range& e) {
1555 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
1557 } catch (std::exception& e) {
1559 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
1563 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
1572 SWIGEXPORT unsigned int SWIGSTDCALL CSharp_Dali_FontClient_FindDefaultFont__SWIG_0(void * jarg1, unsigned int jarg2, unsigned int jarg3, unsigned int jarg4) {
1573 unsigned int jresult ;
1574 Dali::TextAbstraction::FontClient *arg1 = (Dali::TextAbstraction::FontClient *) 0 ;
1575 Dali::TextAbstraction::Character arg2 ;
1576 Dali::TextAbstraction::PointSize26Dot6 arg3 ;
1578 Dali::TextAbstraction::FontId result;
1580 arg1 = (Dali::TextAbstraction::FontClient *)jarg1;
1581 arg2 = (Dali::TextAbstraction::Character)jarg2;
1582 arg3 = (Dali::TextAbstraction::PointSize26Dot6)jarg3;
1583 arg4 = jarg4 ? true : false;
1586 result = (arg1)->FindDefaultFont(arg2,arg3,arg4);
1587 } catch (std::out_of_range& e) {
1589 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
1591 } catch (std::exception& e) {
1593 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
1597 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
1606 SWIGEXPORT unsigned int SWIGSTDCALL CSharp_Dali_FontClient_FindDefaultFont__SWIG_1(void * jarg1, unsigned int jarg2, unsigned int jarg3) {
1607 unsigned int jresult ;
1608 Dali::TextAbstraction::FontClient *arg1 = (Dali::TextAbstraction::FontClient *) 0 ;
1609 Dali::TextAbstraction::Character arg2 ;
1610 Dali::TextAbstraction::PointSize26Dot6 arg3 ;
1611 Dali::TextAbstraction::FontId result;
1613 arg1 = (Dali::TextAbstraction::FontClient *)jarg1;
1614 arg2 = (Dali::TextAbstraction::Character)jarg2;
1615 arg3 = (Dali::TextAbstraction::PointSize26Dot6)jarg3;
1618 result = (arg1)->FindDefaultFont(arg2,arg3);
1619 } catch (std::out_of_range& e) {
1621 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
1623 } catch (std::exception& e) {
1625 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
1629 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
1638 SWIGEXPORT unsigned int SWIGSTDCALL CSharp_Dali_FontClient_FindDefaultFont__SWIG_2(void * jarg1, unsigned int jarg2) {
1639 unsigned int jresult ;
1640 Dali::TextAbstraction::FontClient *arg1 = (Dali::TextAbstraction::FontClient *) 0 ;
1641 Dali::TextAbstraction::Character arg2 ;
1642 Dali::TextAbstraction::FontId result;
1644 arg1 = (Dali::TextAbstraction::FontClient *)jarg1;
1645 arg2 = (Dali::TextAbstraction::Character)jarg2;
1648 result = (arg1)->FindDefaultFont(arg2);
1649 } catch (std::out_of_range& e) {
1651 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
1653 } catch (std::exception& e) {
1655 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
1659 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
1668 SWIGEXPORT unsigned int SWIGSTDCALL CSharp_Dali_FontClient_FindFallbackFont__SWIG_0(void * jarg1, unsigned int jarg2, void * jarg3, unsigned int jarg4, unsigned int jarg5) {
1669 unsigned int jresult ;
1670 Dali::TextAbstraction::FontClient *arg1 = (Dali::TextAbstraction::FontClient *) 0 ;
1671 Dali::TextAbstraction::Character arg2 ;
1672 Dali::TextAbstraction::FontDescription *arg3 = 0 ;
1673 Dali::TextAbstraction::PointSize26Dot6 arg4 ;
1675 Dali::TextAbstraction::FontId result;
1677 arg1 = (Dali::TextAbstraction::FontClient *)jarg1;
1678 arg2 = (Dali::TextAbstraction::Character)jarg2;
1679 arg3 = (Dali::TextAbstraction::FontDescription *)jarg3;
1681 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Dali::TextAbstraction::FontDescription const & type is null", 0);
1684 arg4 = (Dali::TextAbstraction::PointSize26Dot6)jarg4;
1685 arg5 = jarg5 ? true : false;
1688 result = (arg1)->FindFallbackFont(arg2,(Dali::TextAbstraction::FontDescription const &)*arg3,arg4,arg5);
1689 } catch (std::out_of_range& e) {
1691 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
1693 } catch (std::exception& e) {
1695 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
1699 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
1708 SWIGEXPORT unsigned int SWIGSTDCALL CSharp_Dali_FontClient_FindFallbackFont__SWIG_1(void * jarg1, unsigned int jarg2, void * jarg3, unsigned int jarg4) {
1709 unsigned int jresult ;
1710 Dali::TextAbstraction::FontClient *arg1 = (Dali::TextAbstraction::FontClient *) 0 ;
1711 Dali::TextAbstraction::Character arg2 ;
1712 Dali::TextAbstraction::FontDescription *arg3 = 0 ;
1713 Dali::TextAbstraction::PointSize26Dot6 arg4 ;
1714 Dali::TextAbstraction::FontId result;
1716 arg1 = (Dali::TextAbstraction::FontClient *)jarg1;
1717 arg2 = (Dali::TextAbstraction::Character)jarg2;
1718 arg3 = (Dali::TextAbstraction::FontDescription *)jarg3;
1720 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Dali::TextAbstraction::FontDescription const & type is null", 0);
1723 arg4 = (Dali::TextAbstraction::PointSize26Dot6)jarg4;
1726 result = (arg1)->FindFallbackFont(arg2,(Dali::TextAbstraction::FontDescription const &)*arg3,arg4);
1727 } catch (std::out_of_range& e) {
1729 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
1731 } catch (std::exception& e) {
1733 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
1737 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
1746 SWIGEXPORT unsigned int SWIGSTDCALL CSharp_Dali_FontClient_FindFallbackFont__SWIG_2(void * jarg1, unsigned int jarg2, void * jarg3) {
1747 unsigned int jresult ;
1748 Dali::TextAbstraction::FontClient *arg1 = (Dali::TextAbstraction::FontClient *) 0 ;
1749 Dali::TextAbstraction::Character arg2 ;
1750 Dali::TextAbstraction::FontDescription *arg3 = 0 ;
1751 Dali::TextAbstraction::FontId result;
1753 arg1 = (Dali::TextAbstraction::FontClient *)jarg1;
1754 arg2 = (Dali::TextAbstraction::Character)jarg2;
1755 arg3 = (Dali::TextAbstraction::FontDescription *)jarg3;
1757 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Dali::TextAbstraction::FontDescription const & type is null", 0);
1762 result = (arg1)->FindFallbackFont(arg2,(Dali::TextAbstraction::FontDescription const &)*arg3);
1763 } catch (std::out_of_range& e) {
1765 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
1767 } catch (std::exception& e) {
1769 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
1773 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
1782 SWIGEXPORT unsigned int SWIGSTDCALL CSharp_Dali_FontClient_GetFontId__SWIG_0(void * jarg1, char * jarg2, unsigned int jarg3, unsigned int jarg4) {
1783 unsigned int jresult ;
1784 Dali::TextAbstraction::FontClient *arg1 = (Dali::TextAbstraction::FontClient *) 0 ;
1785 Dali::TextAbstraction::FontPath *arg2 = 0 ;
1786 Dali::TextAbstraction::PointSize26Dot6 arg3 ;
1787 Dali::TextAbstraction::FaceIndex arg4 ;
1788 Dali::TextAbstraction::FontId result;
1790 arg1 = (Dali::TextAbstraction::FontClient *)jarg1;
1792 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "null string", 0);
1795 Dali::TextAbstraction::FontPath arg2_str(jarg2);
1797 arg3 = (Dali::TextAbstraction::PointSize26Dot6)jarg3;
1798 arg4 = (Dali::TextAbstraction::FaceIndex)jarg4;
1801 result = (arg1)->GetFontId((Dali::TextAbstraction::FontPath const &)*arg2,arg3,arg4);
1802 } catch (std::out_of_range& e) {
1804 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
1806 } catch (std::exception& e) {
1808 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
1812 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
1821 SWIGEXPORT unsigned int SWIGSTDCALL CSharp_Dali_FontClient_GetFontId__SWIG_1(void * jarg1, char * jarg2, unsigned int jarg3) {
1822 unsigned int jresult ;
1823 Dali::TextAbstraction::FontClient *arg1 = (Dali::TextAbstraction::FontClient *) 0 ;
1824 Dali::TextAbstraction::FontPath *arg2 = 0 ;
1825 Dali::TextAbstraction::PointSize26Dot6 arg3 ;
1826 Dali::TextAbstraction::FontId result;
1828 arg1 = (Dali::TextAbstraction::FontClient *)jarg1;
1830 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "null string", 0);
1833 Dali::TextAbstraction::FontPath arg2_str(jarg2);
1835 arg3 = (Dali::TextAbstraction::PointSize26Dot6)jarg3;
1838 result = (arg1)->GetFontId((Dali::TextAbstraction::FontPath const &)*arg2,arg3);
1839 } catch (std::out_of_range& e) {
1841 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
1843 } catch (std::exception& e) {
1845 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
1849 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
1858 SWIGEXPORT unsigned int SWIGSTDCALL CSharp_Dali_FontClient_GetFontId__SWIG_2(void * jarg1, char * jarg2) {
1859 unsigned int jresult ;
1860 Dali::TextAbstraction::FontClient *arg1 = (Dali::TextAbstraction::FontClient *) 0 ;
1861 Dali::TextAbstraction::FontPath *arg2 = 0 ;
1862 Dali::TextAbstraction::FontId result;
1864 arg1 = (Dali::TextAbstraction::FontClient *)jarg1;
1866 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "null string", 0);
1869 Dali::TextAbstraction::FontPath arg2_str(jarg2);
1873 result = (arg1)->GetFontId((Dali::TextAbstraction::FontPath const &)*arg2);
1874 } catch (std::out_of_range& e) {
1876 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
1878 } catch (std::exception& e) {
1880 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
1884 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
1893 SWIGEXPORT unsigned int SWIGSTDCALL CSharp_Dali_FontClient_GetFontId__SWIG_3(void * jarg1, void * jarg2, unsigned int jarg3, unsigned int jarg4) {
1894 unsigned int jresult ;
1895 Dali::TextAbstraction::FontClient *arg1 = (Dali::TextAbstraction::FontClient *) 0 ;
1896 Dali::TextAbstraction::FontDescription *arg2 = 0 ;
1897 Dali::TextAbstraction::PointSize26Dot6 arg3 ;
1898 Dali::TextAbstraction::FaceIndex arg4 ;
1899 Dali::TextAbstraction::FontId result;
1901 arg1 = (Dali::TextAbstraction::FontClient *)jarg1;
1902 arg2 = (Dali::TextAbstraction::FontDescription *)jarg2;
1904 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Dali::TextAbstraction::FontDescription const & type is null", 0);
1907 arg3 = (Dali::TextAbstraction::PointSize26Dot6)jarg3;
1908 arg4 = (Dali::TextAbstraction::FaceIndex)jarg4;
1911 result = (arg1)->GetFontId((Dali::TextAbstraction::FontDescription const &)*arg2,arg3,arg4);
1912 } catch (std::out_of_range& e) {
1914 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
1916 } catch (std::exception& e) {
1918 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
1922 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
1931 SWIGEXPORT unsigned int SWIGSTDCALL CSharp_Dali_FontClient_GetFontId__SWIG_4(void * jarg1, void * jarg2, unsigned int jarg3) {
1932 unsigned int jresult ;
1933 Dali::TextAbstraction::FontClient *arg1 = (Dali::TextAbstraction::FontClient *) 0 ;
1934 Dali::TextAbstraction::FontDescription *arg2 = 0 ;
1935 Dali::TextAbstraction::PointSize26Dot6 arg3 ;
1936 Dali::TextAbstraction::FontId result;
1938 arg1 = (Dali::TextAbstraction::FontClient *)jarg1;
1939 arg2 = (Dali::TextAbstraction::FontDescription *)jarg2;
1941 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Dali::TextAbstraction::FontDescription const & type is null", 0);
1944 arg3 = (Dali::TextAbstraction::PointSize26Dot6)jarg3;
1947 result = (arg1)->GetFontId((Dali::TextAbstraction::FontDescription const &)*arg2,arg3);
1948 } catch (std::out_of_range& e) {
1950 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
1952 } catch (std::exception& e) {
1954 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
1958 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
1967 SWIGEXPORT unsigned int SWIGSTDCALL CSharp_Dali_FontClient_GetFontId__SWIG_5(void * jarg1, void * jarg2) {
1968 unsigned int jresult ;
1969 Dali::TextAbstraction::FontClient *arg1 = (Dali::TextAbstraction::FontClient *) 0 ;
1970 Dali::TextAbstraction::FontDescription *arg2 = 0 ;
1971 Dali::TextAbstraction::FontId result;
1973 arg1 = (Dali::TextAbstraction::FontClient *)jarg1;
1974 arg2 = (Dali::TextAbstraction::FontDescription *)jarg2;
1976 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Dali::TextAbstraction::FontDescription const & type is null", 0);
1981 result = (arg1)->GetFontId((Dali::TextAbstraction::FontDescription const &)*arg2);
1982 } catch (std::out_of_range& e) {
1984 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
1986 } catch (std::exception& e) {
1988 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
1992 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
2001 SWIGEXPORT unsigned int SWIGSTDCALL CSharp_Dali_FontClient_IsScalable__SWIG_0(void * jarg1, char * jarg2) {
2002 unsigned int jresult ;
2003 Dali::TextAbstraction::FontClient *arg1 = (Dali::TextAbstraction::FontClient *) 0 ;
2004 Dali::TextAbstraction::FontPath *arg2 = 0 ;
2007 arg1 = (Dali::TextAbstraction::FontClient *)jarg1;
2009 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "null string", 0);
2012 Dali::TextAbstraction::FontPath arg2_str(jarg2);
2016 result = (bool)(arg1)->IsScalable((Dali::TextAbstraction::FontPath const &)*arg2);
2017 } catch (std::out_of_range& e) {
2019 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
2021 } catch (std::exception& e) {
2023 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
2027 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
2036 SWIGEXPORT unsigned int SWIGSTDCALL CSharp_Dali_FontClient_IsScalable__SWIG_1(void * jarg1, void * jarg2) {
2037 unsigned int jresult ;
2038 Dali::TextAbstraction::FontClient *arg1 = (Dali::TextAbstraction::FontClient *) 0 ;
2039 Dali::TextAbstraction::FontDescription *arg2 = 0 ;
2042 arg1 = (Dali::TextAbstraction::FontClient *)jarg1;
2043 arg2 = (Dali::TextAbstraction::FontDescription *)jarg2;
2045 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Dali::TextAbstraction::FontDescription const & type is null", 0);
2050 result = (bool)(arg1)->IsScalable((Dali::TextAbstraction::FontDescription const &)*arg2);
2051 } catch (std::out_of_range& e) {
2053 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
2055 } catch (std::exception& e) {
2057 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
2061 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
2070 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_FontClient_GetFixedSizes__SWIG_0(void * jarg1, char * jarg2, void * jarg3) {
2071 Dali::TextAbstraction::FontClient *arg1 = (Dali::TextAbstraction::FontClient *) 0 ;
2072 Dali::TextAbstraction::FontPath *arg2 = 0 ;
2073 Dali::Vector< Dali::TextAbstraction::PointSize26Dot6,Dali::TypeTraits< Dali::TextAbstraction::PointSize26Dot6 >::IS_TRIVIAL_TYPE==true > *arg3 = 0 ;
2075 arg1 = (Dali::TextAbstraction::FontClient *)jarg1;
2077 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "null string", 0);
2080 Dali::TextAbstraction::FontPath arg2_str(jarg2);
2082 arg3 = (Dali::Vector< Dali::TextAbstraction::PointSize26Dot6,Dali::TypeTraits< Dali::TextAbstraction::PointSize26Dot6 >::IS_TRIVIAL_TYPE==true > *)jarg3;
2084 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Dali::Vector< Dali::TextAbstraction::PointSize26Dot6,Dali::TypeTraits< Dali::TextAbstraction::PointSize26Dot6 >::IS_TRIVIAL_TYPE==true > & type is null", 0);
2089 (arg1)->GetFixedSizes((Dali::TextAbstraction::FontPath const &)*arg2,*arg3);
2090 } catch (std::out_of_range& e) {
2092 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
2094 } catch (std::exception& e) {
2096 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return ;
2100 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;
2107 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_FontClient_GetFixedSizes__SWIG_1(void * jarg1, void * jarg2, void * jarg3) {
2108 Dali::TextAbstraction::FontClient *arg1 = (Dali::TextAbstraction::FontClient *) 0 ;
2109 Dali::TextAbstraction::FontDescription *arg2 = 0 ;
2110 Dali::Vector< Dali::TextAbstraction::PointSize26Dot6,Dali::TypeTraits< Dali::TextAbstraction::PointSize26Dot6 >::IS_TRIVIAL_TYPE==true > *arg3 = 0 ;
2112 arg1 = (Dali::TextAbstraction::FontClient *)jarg1;
2113 arg2 = (Dali::TextAbstraction::FontDescription *)jarg2;
2115 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Dali::TextAbstraction::FontDescription const & type is null", 0);
2118 arg3 = (Dali::Vector< Dali::TextAbstraction::PointSize26Dot6,Dali::TypeTraits< Dali::TextAbstraction::PointSize26Dot6 >::IS_TRIVIAL_TYPE==true > *)jarg3;
2120 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Dali::Vector< Dali::TextAbstraction::PointSize26Dot6,Dali::TypeTraits< Dali::TextAbstraction::PointSize26Dot6 >::IS_TRIVIAL_TYPE==true > & type is null", 0);
2125 (arg1)->GetFixedSizes((Dali::TextAbstraction::FontDescription const &)*arg2,*arg3);
2126 } catch (std::out_of_range& e) {
2128 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
2130 } catch (std::exception& e) {
2132 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return ;
2136 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;
2143 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_FontClient_GetFontMetrics(void * jarg1, unsigned int jarg2, void * jarg3) {
2144 Dali::TextAbstraction::FontClient *arg1 = (Dali::TextAbstraction::FontClient *) 0 ;
2145 Dali::TextAbstraction::FontId arg2 ;
2146 Dali::TextAbstraction::FontMetrics *arg3 = 0 ;
2148 arg1 = (Dali::TextAbstraction::FontClient *)jarg1;
2149 arg2 = (Dali::TextAbstraction::FontId)jarg2;
2150 arg3 = (Dali::TextAbstraction::FontMetrics *)jarg3;
2152 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Dali::TextAbstraction::FontMetrics & type is null", 0);
2157 (arg1)->GetFontMetrics(arg2,*arg3);
2158 } catch (std::out_of_range& e) {
2160 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
2162 } catch (std::exception& e) {
2164 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return ;
2168 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;
2175 SWIGEXPORT unsigned int SWIGSTDCALL CSharp_Dali_FontClient_GetGlyphIndex(void * jarg1, unsigned int jarg2, unsigned int jarg3) {
2176 unsigned int jresult ;
2177 Dali::TextAbstraction::FontClient *arg1 = (Dali::TextAbstraction::FontClient *) 0 ;
2178 Dali::TextAbstraction::FontId arg2 ;
2179 Dali::TextAbstraction::Character arg3 ;
2180 Dali::TextAbstraction::GlyphIndex result;
2182 arg1 = (Dali::TextAbstraction::FontClient *)jarg1;
2183 arg2 = (Dali::TextAbstraction::FontId)jarg2;
2184 arg3 = (Dali::TextAbstraction::Character)jarg3;
2187 result = (arg1)->GetGlyphIndex(arg2,arg3);
2188 } catch (std::out_of_range& e) {
2190 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
2192 } catch (std::exception& e) {
2194 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
2198 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
2207 SWIGEXPORT unsigned int SWIGSTDCALL CSharp_Dali_FontClient_GetGlyphMetrics__SWIG_0(void * jarg1, void * jarg2, unsigned int jarg3, int jarg4, unsigned int jarg5) {
2208 unsigned int jresult ;
2209 Dali::TextAbstraction::FontClient *arg1 = (Dali::TextAbstraction::FontClient *) 0 ;
2210 Dali::TextAbstraction::GlyphInfo *arg2 = (Dali::TextAbstraction::GlyphInfo *) 0 ;
2212 Dali::TextAbstraction::GlyphType arg4 ;
2216 arg1 = (Dali::TextAbstraction::FontClient *)jarg1;
2217 arg2 = (Dali::TextAbstraction::GlyphInfo *)jarg2;
2218 arg3 = (uint32_t)jarg3;
2219 arg4 = (Dali::TextAbstraction::GlyphType)jarg4;
2220 arg5 = jarg5 ? true : false;
2223 result = (bool)(arg1)->GetGlyphMetrics(arg2,arg3,arg4,arg5);
2224 } catch (std::out_of_range& e) {
2226 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
2228 } catch (std::exception& e) {
2230 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
2234 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
2243 SWIGEXPORT unsigned int SWIGSTDCALL CSharp_Dali_FontClient_GetGlyphMetrics__SWIG_1(void * jarg1, void * jarg2, unsigned int jarg3, int jarg4) {
2244 unsigned int jresult ;
2245 Dali::TextAbstraction::FontClient *arg1 = (Dali::TextAbstraction::FontClient *) 0 ;
2246 Dali::TextAbstraction::GlyphInfo *arg2 = (Dali::TextAbstraction::GlyphInfo *) 0 ;
2248 Dali::TextAbstraction::GlyphType arg4 ;
2251 arg1 = (Dali::TextAbstraction::FontClient *)jarg1;
2252 arg2 = (Dali::TextAbstraction::GlyphInfo *)jarg2;
2253 arg3 = (uint32_t)jarg3;
2254 arg4 = (Dali::TextAbstraction::GlyphType)jarg4;
2257 result = (bool)(arg1)->GetGlyphMetrics(arg2,arg3,arg4);
2258 } catch (std::out_of_range& e) {
2260 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
2262 } catch (std::exception& e) {
2264 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
2268 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
2277 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) {
2278 Dali::TextAbstraction::FontClient *arg1 = (Dali::TextAbstraction::FontClient *) 0 ;
2279 Dali::TextAbstraction::FontId arg2 ;
2280 Dali::TextAbstraction::GlyphIndex arg3 ;
2283 Dali::TextAbstraction::FontClient::GlyphBufferData *arg6 = 0 ;
2286 arg1 = (Dali::TextAbstraction::FontClient *)jarg1;
2287 arg2 = (Dali::TextAbstraction::FontId)jarg2;
2288 arg3 = (Dali::TextAbstraction::GlyphIndex)jarg3;
2291 arg6 = (Dali::TextAbstraction::FontClient::GlyphBufferData *)jarg6;
2293 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Dali::TextAbstraction::FontClient::GlyphBufferData & type is null", 0);
2299 (arg1)->CreateBitmap(arg2,arg3,arg4,arg5,*arg6,arg7);
2300 } catch (std::out_of_range& e) {
2302 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
2304 } catch (std::exception& e) {
2306 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return ;
2310 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;
2317 SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_FontClient_CreateBitmap__SWIG_1(void * jarg1, unsigned int jarg2, unsigned int jarg3, int jarg4) {
2319 Dali::TextAbstraction::FontClient *arg1 = (Dali::TextAbstraction::FontClient *) 0 ;
2320 Dali::TextAbstraction::FontId arg2 ;
2321 Dali::TextAbstraction::GlyphIndex arg3 ;
2323 Dali::PixelData result;
2325 arg1 = (Dali::TextAbstraction::FontClient *)jarg1;
2326 arg2 = (Dali::TextAbstraction::FontId)jarg2;
2327 arg3 = (Dali::TextAbstraction::GlyphIndex)jarg3;
2331 result = (arg1)->CreateBitmap(arg2,arg3,arg4);
2332 } catch (std::out_of_range& e) {
2334 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
2336 } catch (std::exception& e) {
2338 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
2342 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
2346 jresult = new Dali::PixelData((const Dali::PixelData &)result);
2351 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_FontClient_CreateVectorBlob(void * jarg1, unsigned int jarg2, unsigned int jarg3, void * jarg4, void * jarg5, void * jarg6, void * jarg7) {
2352 Dali::TextAbstraction::FontClient *arg1 = (Dali::TextAbstraction::FontClient *) 0 ;
2353 Dali::TextAbstraction::FontId arg2 ;
2354 Dali::TextAbstraction::GlyphIndex arg3 ;
2355 Dali::TextAbstraction::VectorBlob **arg4 = 0 ;
2356 unsigned int *arg5 = 0 ;
2357 unsigned int *arg6 = 0 ;
2358 unsigned int *arg7 = 0 ;
2360 arg1 = (Dali::TextAbstraction::FontClient *)jarg1;
2361 arg2 = (Dali::TextAbstraction::FontId)jarg2;
2362 arg3 = (Dali::TextAbstraction::GlyphIndex)jarg3;
2363 arg4 = (Dali::TextAbstraction::VectorBlob **)jarg4;
2365 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Dali::TextAbstraction::VectorBlob *& type is null", 0);
2368 arg5 = (unsigned int *)jarg5;
2370 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "unsigned int & type is null", 0);
2373 arg6 = (unsigned int *)jarg6;
2375 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "unsigned int & type is null", 0);
2378 arg7 = (unsigned int *)jarg7;
2380 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "unsigned int & type is null", 0);
2385 (arg1)->CreateVectorBlob(arg2,arg3,*arg4,*arg5,*arg6,*arg7);
2386 } catch (std::out_of_range& e) {
2388 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
2390 } catch (std::exception& e) {
2392 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return ;
2396 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;
2403 SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_FontClient_GetEllipsisGlyph(void * jarg1, unsigned int jarg2) {
2405 Dali::TextAbstraction::FontClient *arg1 = (Dali::TextAbstraction::FontClient *) 0 ;
2406 Dali::TextAbstraction::PointSize26Dot6 arg2 ;
2407 Dali::TextAbstraction::GlyphInfo *result = 0 ;
2409 arg1 = (Dali::TextAbstraction::FontClient *)jarg1;
2410 arg2 = (Dali::TextAbstraction::PointSize26Dot6)jarg2;
2413 result = (Dali::TextAbstraction::GlyphInfo *) &(arg1)->GetEllipsisGlyph(arg2);
2414 } catch (std::out_of_range& e) {
2416 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
2418 } catch (std::exception& e) {
2420 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
2424 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
2428 jresult = (void *)result;
2433 SWIGEXPORT unsigned int SWIGSTDCALL CSharp_Dali_FontClient_IsColorGlyph(void * jarg1, unsigned int jarg2, unsigned int jarg3) {
2434 unsigned int jresult ;
2435 Dali::TextAbstraction::FontClient *arg1 = (Dali::TextAbstraction::FontClient *) 0 ;
2436 Dali::TextAbstraction::FontId arg2 ;
2437 Dali::TextAbstraction::GlyphIndex arg3 ;
2440 arg1 = (Dali::TextAbstraction::FontClient *)jarg1;
2441 arg2 = (Dali::TextAbstraction::FontId)jarg2;
2442 arg3 = (Dali::TextAbstraction::GlyphIndex)jarg3;
2445 result = (bool)(arg1)->IsColorGlyph(arg2,arg3);
2446 } catch (std::out_of_range& e) {
2448 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
2450 } catch (std::exception& e) {
2452 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
2456 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
2465 SWIGEXPORT unsigned int SWIGSTDCALL CSharp_Dali_FontClient_AddCustomFontDirectory(void * jarg1, char * jarg2) {
2466 unsigned int jresult ;
2467 Dali::TextAbstraction::FontClient *arg1 = (Dali::TextAbstraction::FontClient *) 0 ;
2468 Dali::TextAbstraction::FontPath *arg2 = 0 ;
2471 arg1 = (Dali::TextAbstraction::FontClient *)jarg1;
2473 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "null string", 0);
2476 Dali::TextAbstraction::FontPath arg2_str(jarg2);
2480 result = (bool)(arg1)->AddCustomFontDirectory((Dali::TextAbstraction::FontPath const &)*arg2);
2481 } catch (std::out_of_range& e) {
2483 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
2485 } catch (std::exception& e) {
2487 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
2491 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;