Пример #1
0
	void lime_text_layout_set_language (value textHandle, HxString language) {
		
		#if defined(LIME_FREETYPE) && defined(LIME_HARFBUZZ)
		TextLayout *text = (TextLayout*)val_data (textHandle);
		text->SetLanguage (language.__s);
		#endif
		
	}
Пример #2
0
	value lime_text_layout_set_language (value textHandle, value direction) {
		
		#if defined(LIME_FREETYPE) && defined(LIME_HARFBUZZ)
		TextLayout *text = (TextLayout*)(intptr_t)val_float (textHandle);
		text->SetLanguage (val_string (direction));
		#endif
		return alloc_null ();
		
	}