In reply to Lee Brown <[EMAIL PROTECTED]>
>
>Cesar,
>
>Why not use the PackColors and UnPackPixel routines?
>
>1) save glyph as array of colors (ggi_color* pixmap)
>2) ggiPackColors(ggi_color* pixmap -> void* buf)
>3) ggiPutBox (void* buf)
great! seems exactly what i was looking for! in fact, it seems like an
implementation of my suggestion.
now we should immediately remove these functions because they are
bloat! :)
somebody has to add info about these functions in the ggiPutBox and
ggiGetBox man pages! (it would have saved me lots of trouble). just
one thing missing: i guess void* needs to be allocated before
ggiPackColors, but how do i know what size to allocate?
--
Cesar Augusto Rorato Crusius __o __o __o __o __o
Stanford University _`\<, _`\<, _`\<, _`\<, _`\<,
e-mail:[EMAIL PROTECTED] (_)/(_) (_)/(_) (_)/(_) (_)/(_) (_)/(_)
www.stanford.edu/~crusius
o _ _ _
__o __o __o __o /\_ _ \\o (_)\__/o (_)
_`\<, _`\<, _`\<, _`\<, _>(_) (_)/<_ \_| \ _|/' \/
(_)/(_) (_)/(_) (_)/(_) (_)/(_) (_) (_) (_) (_)' _\o_
He who sacrifices functionality for ease of use
Loses both and deserves neither