c++ - cocos2d-x: writing words on screen in multiple lines -


in cocos2d-x when use cclabelttf writes words in consecutive order. there class in cocos2d-x gets place,width, height , string inscribe in rectangle on screen , if string's length bigger rectangle's size, breaks in multiple lines?

what method of cclabelttf class?

bool initwithstring (const char *string, const char *fontname, float fontsize, const ccsize &dimensions, cctextalignment halignment, ccverticaltextalignment valignment) 

Comments

Popular posts from this blog

java - nested exception is org.hibernate.exception.SQLGrammarException: could not extract ResultSet Hibernate+SpringMVC -

sql - Postgresql tables exists, but getting "relation does not exist" when querying -

asp.net mvc - breakpoint on javascript in CSHTML? -