In reply to Lee Brown <[EMAIL PROTECTED]>
>
>Rorato,
now that's a first.
>I may also suggest that although you don't wan't to cache all letters
>for all fg/bg combos, you may still may want to cache for the
>frequently used combinations. I am sure you have alrerady thought of
>this however.
here's my approach: cache letters for one combination of fg/bg. say
letter "a" is cached black/white. if i need to render with another
color, i just redraw the local buffer and remap it to the void*. the
redraw/remap only happens when the color combination for that letter
has to change too. otherwise is just a ggiPutBox. i think this is the
best approach. in this email, for example, i'm reading your part in
blue. the first time an "a" appears the cached copy will change, and
from then on it will be the same for the rest of your answer. then an
"a" is found in my reply, the cached copy changes again. now i only
have to find time to implement it...
--
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