# HG changeset patch # User Thinker K.F. Li # Date 1283161335 -28800 # Node ID 16d8a1d48717c3de8dfb0c1e77967e379db56db4 # Parent 8e9481bf1cc0346fdc2f357567ad57a50bf31bfe Doc for xnjsmb_sh_stext_set_style diff -r 8e9481bf1cc0 -r 16d8a1d48717 nodejs/shapes.cc --- a/nodejs/shapes.cc Mon Aug 30 13:43:01 2010 +0800 +++ b/nodejs/shapes.cc Mon Aug 30 17:42:15 2010 +0800 @@ -68,6 +68,13 @@ } } +/*! \brief Set style blocks for a stext object from JS. + * + * A style block is style setting of a chip of text. It is a 3-tuple, + * includes number of charaters, a font face, and font size. This + * function need a list of 3-tuples to set style of text chips of the + * stext. + */ static void xnjsmb_sh_stext_set_style(shape_t *sh, Handle self, Handle blks, const char **err) {