blob: e3e09b13ec25a91a9a3f7e67ab0ad834d1f6c0e0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
TABLE OF CONTENTS
iff.library/CalcViewModes
iff.library/CalcViewModes iff.library/CalcViewModes
NAME
CalcViewModes() -- Calculate Amiga-specific ViewModes from a BMHD
SYNOPSIS
viewmodes = CalcViewModes( bmhd )
D0 A0
ULONG CalcViewModes( struct IFFL_BMHD )
FUNCTION
Tries to calculate the viewmodes for a CAMG chunk by looking at
the bmh_Width, bmh_Height and bmh_Depth entries of a bmhd.
This is not always satisfactory, but we're stuck with it.
INPUTS
bmhd - BitMapHeader describing the picture's dimensions
RESULT
viewmodes - ULONG containing the view modes (LACE, HIRES)
BUGS
Knows nothing about Monitor IDs or new View modes like SUPERHIRES
or HAM8. You should not use this function in new code.
SEE ALSO
IFFL_GetViewModes(), IFFL_SaveClip()
|