i asked for the format of the ggiPutBox a while ago. while thinking
about the issue i realised there is a better way, so here's my
suggestion:

an api function ggiPixelToBox: something of the form

ggiPixelToBox(visual, width, height, pixel* p, void* b);

this would build a ggiPutBox-suitable buffer 'b' based on the pixel
buffer 'p'.

i think this is would be a very nice addition to the api (together
with a ggiBoxToPixel function), and would be extremely useful. i don't
think it's worth an extension or something similar at all.

thoughts?

--
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

Reply via email to