home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Club Amiga de Montreal - CAM
/
CAM_CD_1.iso
/
files
/
517a.lha
/
VFont_v2.0
/
include
/
vfont_lib.fd
Wrap
Text File
|
1991-06-09
|
2KB
|
57 lines
##base _vFontBase
##bias 30
##public
*----- Vertix transformation functions.
Transform(Vertix,Count,SX,SY,A,T,Min,Max)(A0,D1,D2,D3,D4,D5,A1,A2,A3)
Rotate(Vertix,Count,Sina,Cosa,RX,RY)(A1,D1,D2,D3,D4,D5)
Scale(Points,From,To,SymX,SymY)(A0,A1,A2,D3,D4)
Transpose(Vertix,Count,TX,TY)(A0,D1,D2,D3)
Bend(Points,R,E,Flag)(A0,D1,D2,D3)
ThickEntry(DX,DY)(D1,D2)
Cross(L1,L2,Point)(A0,A1,A2)
Widen(Vertix,Count,Side1,Side2,Width)(A0,D1,A1,A2,D2)
*--------- Drawing functions.
PolyCDraw(RPort,Vertix,Count,Width)(A0,D1,A1,D2)
PolyACDraw(RPort,Vertix,Count,Width)(A0,D1,A1,D2)
DrawCurve(RPort,Curve,X,Y)(A0,A1,D1,D2)
VText(RPort,Text,Count)(A1,A2,D6)
#private
Private1()
#public
*--------- Font manipulating functions.
VTextLength(VFont,Text,Count)(A0,A1,D0)
VTextRoof(VFont,Text)(A0,A1)
OpenVFont(TVA)(A0)
OpenBFont(TVA)(A0)
MakeChar(VFont,VClass,Char)(A0,A1,D1)
GetVFont(RPort)(A0)
SetVFont(RPort,VFont)(A2,A3)
ChangeVFont(VFont,Mask,Req,MapFlg)(A0,D1,A1,D2)
ReThinkVFont(VFont)(A0)
UnmapVFont(VFont)(A0)
LockVFont(VFont,Wait)(A0,D1)
UnLockVFont(VFont)(A0)
*---------- Special functions.
PrintVText(RPort,VText)(A0,A1)
CloseVFont(VFont)(A0)
SetVRendering(VFont,FgColor,BgColor,DrMd)(A0,D1,D2,D3)
FlushWhat(What)(D1)
LoadVFont(TVA)(A0)
SaveVFont(TVA)(A0)
NewVFontContents(Dir,Header)(A0,A1)
SaveFontAttr(Info,Name,Size,Flags,Style,Type,Forced)(D1,A0,D2,D3,D4,A1,D5)
CreateFontDir(Name,Dir)(A0,A1)
VAllocMem(Size,Type)(D3,D7)
VFreeMem(Mem,Size)(A0,D1)
FlushFonts(What)(D1)
AlertUser(Text,Kind)(A0,D1)
#private
PurgeMemory()
LockVBase()
UnlockVBase()
RemVFont(VFont,Flush)(A0,D0)
RemVClass(VClass)(A0)
EnableVFonts()
VOpenDiskFont(TA)(A0)
##end