home *** CD-ROM | disk | FTP | other *** search
- ushort
- FS_NORMAL=0,
- FSB_EXTENDED=3,
- FSF_EXTENDED=1<<3,
- FSB_ITALIC=2,
- FSF_ITALIC=1<<2,
- FSB_BOLD=1,
- FSF_BOLD=1<<1,
- FSB_UNDERLINED=0,
- FSF_UNDERLINED=1<<0,
-
- FPB_ROMFONT=0,
- FPF_ROMFONT=1<<0,
- FPB_DISKFONT=1,
- FPF_DISKFONT=1<<1,
- FPB_REVPATH=2,
- FPF_REVPATH=1<<2,
- FPB_TALLDOT=3,
- FPF_TALLDOT=1<<3,
- FPB_WIDEDOT=4,
- FPF_WIDEDOT=1<<4,
- FPB_PROPORTIONAL=5,
- FPF_PROPORTIONAL=1<<5,
- FPB_DESIGNED=6,
- FPF_DESIGNED=1<<6,
- FPB_REMOVED=7,
- FPF_REMOVED=1<<7;
-
- type
- Message_t=unknown20,
-
- TextAttr_t=struct{
- *charta_name;
- uintta_YSize;
- ushortta_Style;
- ushortta_Flags;
- },
-
- TextFont_t=struct{
- Message_ttf_Message;
- uinttf_YSize;
- ushorttf_Style,tf_Flags;
- uinttf_XSize,tf_Baseline,tf_BoldSmear;
- uinttf_Accessors;
- chartf_LoChar,tf_HiChar;
- *bytetf_CharData;
- uinttf_Modulo;
- *bytetf_CharLoc;
- *bytetf_CharSpace;
- *bytetf_CharKern;
- };
-
- extern
- AddFont(*TextFont_tfont)void,
- AskFont(*RastPort_trp;*TextAttr_tta)void,
- AskSoftStyle(*RastPort_trp)uint,
- CloseFont(*TextFont_tf)void,
- OpenFont(*TextAttr_ttextAttr)*TextFont_t,
- RemFont(*TextFont_ttextFont)void,
- SetSoftStyle(*RastPort_trp;ulongstyle,enable)ulong;
-