Does anyone have a reference other than the one the www.gtk.org site, I'm having troubles with the implementation of TBitmap. The part on cmap is not documented.
Thanks
P Jean dit Bailleul ()

Mailing lists / lazarus / 1999-08
6 messages · 2 people ·
Reply by email Subscribe to this list Your subscription
Read-only archive. Use j and k to move between messages.
Does anyone have a reference other than the one the www.gtk.org site, I'm having troubles with the implementation of TBitmap. The part on cmap is not documented.
Thanks
P Jean dit Bailleul ()
Do you have any specific question about how to use the cmap that perhaps we could answer?…
I'd like to know how it interact with the pixmap to know how i should handle the color map of bmp file. currently, and for test purpose only, I do it in my "own" format and translate anything to pixmap.
you wroteDo you have any specific question about how to use the cmap that perhaps
we could answer? Otherwise, the only other reference I've seen (next to www.gtk.org) is the book that's oput but I'll have to see if it references the CMAP or not.
P Jean dit Bailleul ()
I am only familiar with Colormap (a little familiar) and what I understand, if you are basically trying to get the pallette, you should use the colormap.
Shane
>> P Jean dit Bailleul 08/04 8:47 PM >>>
Since the BMP reader is written in plain FPC code, i have to create the colormap. I'm wondering if I should use ColorMap or cmap (i can't find what the deferences are) since there is no description of the Cmap.
P Jean dit Bailleul ()
_________________________________________________________________ To unsubscribe: mail with
"unsubscribe" as the Subject
archives at http://www.miraclec.com/list_archives/lazarus
If you have a pixmap, you have to look at it's color map. GetValues or getgc gives you…
Since the BMP reader is written in plain FPC code, i have to create the colormap. I'm wondering if I should use ColorMap or cmap (i can't find what the deferences are) since there is no description of the Cmap.
P Jean dit Bailleul ()
Do you have any specific question about how to use the cmap that perhaps we could answer? Otherwise, the only other reference I've seen (next to www.gtk.org) is the book that's oput but I'll have to see if it references the CMAP or not.
Shane
>> P Jean dit Bailleul 08/04 6:40 AM >>>
Does anyone have a reference other than the one the www.gtk.org site, I'm having troubles with the implementation of TBitmap. The part on cmap is not documented.
Thanks
P Jean dit Bailleul ()
_________________________________________________________________ To unsubscribe: mail with
"unsubscribe" as the Subject
archives at http://www.miraclec.com/list_archives/lazarus
If you have a pixmap, you have to look at it's color map. GetValues or getgc gives you that info I believe.
------------------------------------------------------------ Shane Miller
Home page : http://www.lakefield.net/~smiller
Auto-IP Publisher : http://www.lakefield.net/~smiller/autoip
Advanced Clipboard : http://www.lakefield.net/~smiller/advclipboard
Lazarus : http://www.pcpros.net/~vbman
----------------------------------------------------------