🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.amiga.tech
Article #9076

bitmaps with intuition...

#9076
From: Hans Bechtel
Date: Thu, 09 Jun 1988 04:31
29 lines
1242 bytes
I am confused on how to use bitmaps.

I am familiar with intuition's way of using windows, with default
bitmaps created ready to draw into, but now I need to get access
to the default bitmap pointers so I can save and manipulate the
window.

Questions:

how do I convert planeptrs to window's bitmap to common x,y 
coordinates?

how do I get the correct offsets to the window's bitmaps?

This may all seem easy, but I have read and read the manuals until
the guru finally wins...

Please post the code to do the following:

read a x,y pixel on all bitplanes of a window (not the readpixel way)
write a x,y pixel "      "
get the offsets
etc....

Thanks...

Hans Bechtel
Trust the guru.  The guru is your friend.  
Technical Details
Message-ID: <3170@charon.unm.edu>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!water!watmath!clyde!att!pacbell!ames!umd5!ncifcrf!nlm-mcs!brl-adm!cmcl2!beta!unm-la!unmvax!charon!ariel.unm.edu!hansb
References: <4370@gryphon.CTS.COM>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!water!watmath!clyde!att!pacbell!ames!umd5!ncifcrf!nlm-mcs!brl-adm!cmcl2!beta!unm-la!unmvax!charon!ariel.unm.edu!hansb
From: hansb@ariel.unm.edu (Hans Bechtel)
Newsgroups: comp.sys.amiga.tech
Subject: bitmaps with intuition...
Message-ID: <3170@charon.unm.edu>
Date: 9 Jun 88 04:31:05 GMT
References: <4370@gryphon.CTS.COM>
Sender: news@charon.unm.edu
Reply-To: hansb@ariel.unm.edu.UUCP (Hans Bechtel)
Organization: University of New Mexico, Albuquerque, NM
Lines: 29