AminetAminet
Search:
84749 packages online
About
Recent
Browse
Search
Upload
Setup
Services

dev/asm/BlitMask.lha

Mirror:Random
Showing: ppc-morphos icongeneric icon
No screenshot available
Short:BlitWithMask - asm source on how!
Author: kennecni at idgOnline.no (Kenneth C. Nilsen)
Uploader:kennecni idgOnline no (Kenneth C Nilsen)
Type:dev/asm
Version:1.11
Architecture:m68k-amigaos
Date:1996-10-30
Requires:OS 3.x
Download:dev/asm/BlitMask.lha - View contents
Readme:dev/asm/BlitMask.readme
Downloads:4843

Copyright (C) 1996 by Digital Surface.
All rights reserved.


This source is public domain!


This package contains some sources and a demo program.

The function is build up like a librray function and should be called as one.
Features of DrawImageTrans() (the new function):

     - Compatible with intuition.library/DrawImage() (could be patched ;-)
     - Imagedata can be in FAST_MEM
     - Should work on any system and any graphics card.

Program has not been tested with graphics card. Please report bugs. You are
free to optimize and edit the source. It would be nice to receive changes
though.

If you use this source in your programs, please state original author of this
source somewhere.. well, it would be nice, but it's not required.

SUGGESTIONS:

You could make this routine sensitive to current DrawMode. F.ex: if drawmode
is JAM0 the image will be transperant, in other cases the function will act
like normal DrawImage() just that you keep the feature with imagedata in
FAST_MEM. I'll perhaps implement this feature myself in future.


Enjoy!


Contents of dev/asm/BlitMask.lha
PERMISSION  UID  GID    PACKED    SIZE  RATIO METHOD CRC     STAMP     NAME
---------- ----------- ------- ------- ------ ---------- ------------ ----------
[generic]                 1209    1567  77.2% -lh5- 6664 Oct 29  1996 blitwithmask/DemoProgram.info
[generic]                 5526   15729  35.1% -lh5- 945e Oct 30  1996 blitwithmask/sources/DemoProgram.asm
[generic]                 3576   10232  34.9% -lh5- 6797 Oct 30  1996 blitwithmask/sources/DrawImageTrans.asm
[generic]                 1106    2945  37.6% -lh5- 03fb Oct  7  1996 blitwithmask/sources/includes/Digital.macs
[generic]                 2239    6808  32.9% -lh5- 0da2 Oct 10  1996 blitwithmask/sources/includes/Startup.asm
[generic]                  705    1257  56.1% -lh5- 928d Oct 30  1996 blitwithmask/BlitMask.readme
[generic]                 3049   10032  30.4% -lh5- 5f83 Oct 30  1996 blitwithmask/DemoProgram
---------- ----------- ------- ------- ------ ---------- ------------ ----------
 Total         7 files   17410   48570  35.8%            Oct 30  1996
Page generated in 0.02 seconds
Aminet © 1992-2024 Urban Müller and the Aminet team. Aminet contact address: <aminetaminet net>