QNX RTOS v4 Knowledge Base
QNX RTOS v4 Knowledge Base
Title |
Text in Pixmap |
Ref. No. |
QNX.000009850 |
Category(ies) |
Development |
Issue |
What is the best way to get text into a pixmap? Do we have to draw it in by hand?
|
Solution |
See the docs for PfRenderText and PfGlyph(). These render a string(or a single glyph) into a bitmap.
In case you want to draw into an image (PhImage_t), you may have to consider using PgDrawText in conjuction with the Pm* functions. |
|