home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Fresh Fish 4
/
FreshFish_May-June1994.bin
/
bbs
/
cbm
/
nduk-v37.lha
/
V37
/
include
/
graphics
/
scale.h
< prev
next >
Wrap
C/C++ Source or Header
|
1991-11-27
|
1KB
|
34 lines
#ifndef GRAPHICS_SCALE_H
#define GRAPHICS_SCALE_H
/*
** $Filename: graphics/scale.h $
** $Release: 2.04 Includes, V37.4 $
** $Revision: 37.0 $
** $Date: 91/01/07 $
**
** structure argument to BitMapScale()
**
** (C) Copyright 1989-1991 Commodore-Amiga, Inc.
** All Rights Reserved
*/
#ifndef EXEC_TYPES_H
#include <exec/types.h>
#endif
struct BitScaleArgs {
UWORD bsa_SrcX, bsa_SrcY; /* source origin */
UWORD bsa_SrcWidth, bsa_SrcHeight; /* source size */
UWORD bsa_XSrcFactor, bsa_YSrcFactor; /* scale factor denominators */
UWORD bsa_DestX, bsa_DestY; /* destination origin */
UWORD bsa_DestWidth, bsa_DestHeight; /* destination size result */
UWORD bsa_XDestFactor, bsa_YDestFactor; /* scale factor numerators */
struct BitMap *bsa_SrcBitMap; /* source BitMap */
struct BitMap *bsa_DestBitMap; /* destination BitMap */
ULONG bsa_Flags; /* reserved. Must be zero! */
UWORD bsa_XDDA, bsa_YDDA; /* reserved */
LONG bsa_Reserved1;
LONG bsa_Reserved2;
};
#endif /* GRAPHICS_SCALE_H */