home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Gold Fish 3
/
goldfish_volume_3.bin
/
files
/
dev
/
e
/
amigae
/
modulessrc
/
graphics
/
text.e
< prev
next >
Wrap
Text File
|
1995-07-05
|
2KB
|
120 lines
OPT MODULE
OPT EXPORT
MODULE 'exec/ports',
'graphics/gfx',
'utility/tagitem'
CONST FS_NORMAL=0,
FSB_UNDERLINED=0,
FSF_UNDERLINED=1,
FSB_BOLD=1,
FSF_BOLD=2,
FSB_ITALIC=2,
FSF_ITALIC=4,
FSB_EXTENDED=3,
FSF_EXTENDED=8,
FSB_COLORFONT=6,
FSF_COLORFONT=$40,
FSB_TAGGED=7,
FSF_TAGGED=$80,
FPB_ROMFONT=0,
FPF_ROMFONT=1,
FPB_DISKFONT=1,
FPF_DISKFONT=2,
FPB_REVPATH=2,
FPF_REVPATH=4,
FPB_TALLDOT=3,
FPF_TALLDOT=8,
FPB_WIDEDOT=4,
FPF_WIDEDOT=16,
FPB_PROPORTIONAL=5,
FPF_PROPORTIONAL=$20,
FPB_DESIGNED=6,
FPF_DESIGNED=$40,
FPB_REMOVED=7,
FPF_REMOVED=$80
OBJECT textattr
name:LONG
ysize:INT -> This is unsigned
style:CHAR
flags:CHAR
ENDOBJECT /* SIZEOF=8 */
OBJECT ttextattr
name:LONG
ysize:INT -> This is unsigned
style:CHAR
flags:CHAR
tags:PTR TO tagitem
ENDOBJECT /* SIZEOF=12 */
CONST TA_DEVICEDPI=$80000001,
MAXFONTMATCHWEIGHT=$7FFF
OBJECT textfont
mn:mn
ysize:INT -> This is unsigned
style:CHAR
flags:CHAR
xsize:INT -> This is unsigned
baseline:INT -> This is unsigned
boldsmear:INT -> This is unsigned
accessors:INT -> This is unsigned
lochar:CHAR
hichar:CHAR
chardata:PTR TO CHAR
modulo:INT -> This is unsigned
charloc:PTR TO INT
charspace:PTR TO INT
charkern:PTR TO INT
ENDOBJECT /* SIZEOF=52 */
CONST TE0B_NOREMFONT=0,
TE0F_NOREMFONT=1
OBJECT textfontextension
matchword:INT -> This is unsigned
flags0:CHAR
flags1:CHAR
backptr:PTR TO textfont
origreplyport:PTR TO mp
tags:PTR TO tagitem
ofontpatchs:PTR TO INT -> Target is unsigned
ofontpatchk:PTR TO INT -> Target is unsigned
ENDOBJECT /* SIZEOF=24 */
CONST CT_COLORFONT=1,
CT_GREYFONT=2,
CT_ANTIALIAS=4,
CTB_MAPCOLOR=0,
CTF_MAPCOLOR=1,
CT_COLORMASK=$f
OBJECT colorfontcolors
reserved:INT
count:INT -> This is unsigned
colortable:PTR TO INT -> Target is unsigned
ENDOBJECT /* SIZEOF=8 */
OBJECT colortextfont
textfont:textfont
flags:INT -> This is unsigned
depth:CHAR
fgcolor:CHAR
low:CHAR
high:CHAR
planepick:CHAR
planeonoff:CHAR
colorfontcolors:PTR TO colorfontcolors
chardata[8]:ARRAY OF LONG
ENDOBJECT /* SIZEOF=96 */
OBJECT textextent
width:INT -> This is unsigned
height:INT -> This is unsigned
extent:rectangle
ENDOBJECT /* SIZEOF=12 */