Re: [AD] bitmap helper methods

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]


bitmap_width and bitmap_height are better names, I agree. I dont know what other methods would be needed right now, I havent examined all the data yet. If its only 4 methods or something in total then so be it.

Chris wrote:

On Sun, 07 Nov 2004 23:04:26 -0500, Jon Rafkind <workmin@xxxxxxxxxx> wrote:
Many other graphics libraries have a get_width() type
method and dont require the programmer to access the data directly.

I can't say I have a problem with it. Though I would think
bitmap_width and bitmap_height are better names for it (since it
matches bitmap_color_depth). But.. what other methods do we need?
Width, height, depth, and the data are the only things that really
should be used, and we already have methods for the depth and data..


-------------------------------------------------------
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE
LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click





Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/