The Kernel Library


Table of Contents

1. The Kernel Library
Introduction
Application Object
Tasks (Threads)
Signals
Semaphores
Windows
Geometry Managers
Gadgets
Making Gadgets to Talk to an Application
Frames
Icons
Localization
Tabbed Gadget
Canvases and Drawports
Model-View Concept
Managing Memory
2. Kernel Functions
Memory Managment
R3Alloc
R3AllocSilent
R3Free
R3_ReAlloc
R3PrintAllocInfo
Error Handling
R3InformationDialog
R3ErrorDialog
R3ErrPos
R3_Error
R3_WriteLog
List functions
R3AddHead
R3AddTail
R3FindName
R3Insert
R3ListSeek
R3NewList
R3NodeCount
R3RemHead
R3Remove
R3RemTail
Object Manipulation
R3AltObjectCreate
R3AppCreate
R3AppDelete
R3AppDoMsgAWhenIdle
R3AppDoWhenIdle
R3AppFlush
R3AppMacros
R3AppSetMacros
R3AppWaitCursor
R3ClassCreate
R3ClassDelete
R3ClassFind
R3ClassReplace
R3GetAttrs
R3GetClassAttrs
R3Inherit
R3ObjectCreate
R3ObjectDelete
R3ObjectIsOfKind
R3ObjectLoad
R3SendClassMsg
R3SendClassMsgA
R3SendMsg
R3SendMsgA
R3SetAttrs
R3SetClassAttrs
Colors
R3Color3Read
R3Color3Write
Libraries
R3RegisterExternalClasses
R3LoadPluginLibrary
R3LibraryClose
R3LibraryFindSymbol
R3LibraryOpen
Strings
R3StrDup
R3StrFree
R3StringMatch
Tags
R3TagCopy
R3TagGet
R3TagNext
Micellaneous Functions
R3Random
FSwap
ISwap
R3ConfigDirname
R3ExamineDir
R3FindTask
R3Forbid
R3GetChoice
R3GetDateTime
R3Permit
R3ProcessEvents
R3Sleep
R3SleepMs
R3Swap
R3UniqueId
3. Vectors
Vector Functions
AbsCos
AngleToVec
CDiv
CFMul
CMul
CoDir
FindAngle
LinComp
LinePlaneHit
NormCross
OppDir
P3Normal
PFMul
PlaneNormal
PMul
R3AngleDist
R3AngleDiv
R3AngleMod
R3FindVecType
R3NearestAngle
R3OrthSys2
R3OrthSys3
R3VectorRead
R3VectorWrite
R3VEllipse
TNorm
VAdd
VAEq
VAverage
VComp
VCross
VDist
VDiv
VEq
VMul
VSub
VGetPerpVect
VIdentityO
VIdentityX
VInterpolate
VLen
VLinComp
VMaxComp
VMid
VMinComp
VMirr
VNeg
VOrt
VPtoPlane
VRadius
VRot
VSet
VSetNeg
VSubF
VSwap
VUnRot
R3DirToHP
R3HPToDir
R3HPBToXYZ
R3HPBFromXYZ
Javascript Vectors
r3Vect
add
fadd
set
sub
fsub
dot
cross
len
norm
orth
proj
neg
fneg
mul
fmul
div
fdiv
cmul
fcmul
cmp
print
angle
dist
4. Matrix
Matrix Functions
R3MxColumnToVector
R3MxVectorToColumn
R3MxRowToVector
R3MxVectorToRow
R3MxNull
R3MxIdentity
R3MxCopy
R3MxTranspose
R3MxInvert
R3MxFInvert
R3MxConcat
R3MxFConcat
R3MxTransform4
R3MxTransform
R3MxFTransform
R3MxTransformL
R3MxFTransformL
R3MxTranslate
R3MxConcatTranslate
R3MxSpace
R3MxSpaceFromMatrix
R3MxInvSpace
R3MxSpaceWarp
R3MxRotate
R3MxConcatRotate
R3MxScale
R3MxConcatScale
R3MxSkew
R3MxConcatSkew
R3MxSkew3p
R3MxPerspective
R3MxConcatPerspective
R3MxOrthogonal
R3MxConcatOrthogonal
R3MxPlaneHitByDirection
R3MxPlaneHitBySource
R3MxRotate2V
R3MxDeform
R3MxNormal
R3MxToIntui
R3MxFromIntui
R3MxWrite
R3MxRead
R3MxPrint
JavaScript Matrix Class
r3Matrix
identity
set
translate
scale
rotate
rotate2v
skew
invert
mktran
transform
transforml
null
transpose
cmp
copy
orthogonal
perspective
5. Coordinate System
C
R3CSIdentity
R3CsNormalize
R3CsEq
R3CsRotate
JavaScript
r3Coordsys
identity
normalize
print