Beispiel #1
0
	void lime_text_layout_set_direction (value textHandle, int direction) {
		
		#if defined(LIME_FREETYPE) && defined(LIME_HARFBUZZ)
		TextLayout *text = (TextLayout*)val_data (textHandle);
		text->SetDirection (direction);
		#endif
		
	}
Beispiel #2
0
	value lime_text_layout_set_direction (value textHandle, value direction) {
		
		#if defined(LIME_FREETYPE) && defined(LIME_HARFBUZZ)
		TextLayout *text = (TextLayout*)(intptr_t)val_float (textHandle);
		text->SetDirection (val_int (direction));
		#endif
		return alloc_null ();
		
	}