| delorie.com/archives/browse.cgi | search |
| Message-ID: | <376464A3.3C5697FD@geocities.com> |
| From: | Sahab Yazdani <beyonder69 AT geocities DOT com> |
| Organization: | MASC Productions |
| X-Mailer: | Mozilla 4.6 [en] (Win95; I) |
| X-Accept-Language: | en |
| MIME-Version: | 1.0 |
| Newsgroups: | comp.os.msdos.djgpp |
| Subject: | clipping a part of a bitmap... |
| Lines: | 32 |
| Date: | Sun, 13 Jun 1999 22:10:43 -0400 |
| NNTP-Posting-Host: | 209.103.49.237 |
| X-Complaints-To: | abuse AT sprint DOT ca |
| X-Trace: | newscontent-02.sprint.ca 929326325 209.103.49.237 (Sun, 13 Jun 1999 22:12:05 EDT) |
| NNTP-Posting-Date: | Sun, 13 Jun 1999 22:12:05 EDT |
| To: | djgpp AT delorie DOT com |
| DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
| Reply-To: | djgpp AT delorie DOT com |
This is probably easier with diagrams so: lets say we have bitmap A: ****************************************** * * * * * * * * * * ****************************************** now lets say we want to copy only a small part of it to another bitmap like so: ****************************************** * * * - bigger bitmap * 888888888888888888888888888 * 8 - copying portion * 8 8 * * 888888888888888888888888888 * * * ****************************************** now heres the twist.. I want to do it in assembly. Unfortunately I'm not exactly any good at assembl and was hoping for some instructions on how to do this. I have managed to create your standard DrawBitmap and DrawBitmapNoTransparency functions with a little help from Allegro and a book. But this one evades me. If any kind soul out there can help me with this I'd be eternally grateful (well, maybe only for a week)... Thanks in advance for any help you may be able to offer...
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |