Exemplo n.º 1
0
	void lime_text_layout_set_script (value textHandle, HxString script) {
		
		#if defined(LIME_FREETYPE) && defined(LIME_HARFBUZZ)
		TextLayout *text = (TextLayout*)val_data (textHandle);
		text->SetScript (script.__s);
		#endif
		
	}
Exemplo n.º 2
0
	value lime_text_layout_set_script (value textHandle, value direction) {
		
		#if defined(LIME_FREETYPE) && defined(LIME_HARFBUZZ)
		TextLayout *text = (TextLayout*)(intptr_t)val_float (textHandle);
		text->SetScript (val_string (direction));
		#endif
		return alloc_null ();
		
	}