nyctergatis.com

Contact

Projects
Sysquake Remote Live
NME
PDF
Hike
Sudoku
GifBuilder
jpeglib for Palm OS
MySQL Client
Cross-GCC for Mac OS

NPW Text Markup

NPWTextMarkup.c defines simple text markup to format styled text with NPW.

It requires NPWText.c.

The following tags are recognized in text passed to NPWTextLayoutSetText:

  • \\ backslash
  • \b bold on/off
  • \i italic on/off
  • \u underlined on/off
  • \h hidden on/off
  • \^ superscript on/off
  • \_ subscript on/off
  • \T Times
  • \H Helvetica
  • \C Courier
  • \S Symbol
  • \Z Zapf Dingbats
  • \Ns size N (N is an integer)
  • \r flush right
  • \l flush left
  • \c center
  • \j justify
  • \N> indent first line by N (N is a positive or negative integer)
  • \N+ indent all lines by N
  • \NL line spacing N (N is an integer; 1000 = font size)
  • \NK additional line spacing between paragraphs N (N is an integer; 1000 = font size)
Generated by Doxygen.
Copyright 2007-2010, Yves Piguet.
All rights reserved.