Nana C++ Library. Reference for users.
What we need to use nana
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Pages
nana::paint::helper::draw_string_auto_changing_lines Struct Reference

Public Member Functions

 draw_string_auto_changing_lines (graphics &graph, int left, int right, align ta)
 
unsigned operator() (const int top, const wchar_t *buf, std::size_t bufsize)
 

Static Public Member Functions

static std::size_t find_splitted (std::size_t begin, std::size_t end, int x, int endpos, unsigned *pxbuf)
 
static bool splittable (const wchar_t *str, std::size_t index)
 

Public Attributes

graphicsgraph
 
const int left
 
const int right
 
const align text_align
 

Constructor & Destructor Documentation

nana::paint::helper::draw_string_auto_changing_lines::draw_string_auto_changing_lines ( graphics graph,
int  left,
int  right,
align  ta 
)
inline

Member Function Documentation

static std::size_t nana::paint::helper::draw_string_auto_changing_lines::find_splitted ( std::size_t  begin,
std::size_t  end,
int  x,
int  endpos,
unsigned *  pxbuf 
)
inlinestatic
unsigned nana::paint::helper::draw_string_auto_changing_lines::operator() ( const int  top,
const wchar_t *  buf,
std::size_t  bufsize 
)
inline
static bool nana::paint::helper::draw_string_auto_changing_lines::splittable ( const wchar_t *  str,
std::size_t  index 
)
inlinestatic

Member Data Documentation

graphics& nana::paint::helper::draw_string_auto_changing_lines::graph
const int nana::paint::helper::draw_string_auto_changing_lines::left
const int nana::paint::helper::draw_string_auto_changing_lines::right
const align nana::paint::helper::draw_string_auto_changing_lines::text_align