Package RASCAL.Text
Description
Text related.
Author
bbracke
Date
2005/11/21 20:14:33
Revision
1.1
Definitions
Quick access :
Clauses
-
Generics
-
Definitions
-
Subprograms
Subprograms
Quick access :
Clauses
-
Generics
-
Definitions
-
Subprograms
Set_Colour
procedure
Sets the text colours in the form &BGGRR00.
Parameter name
Type
Mode
Default
Foreground
Integer
in
Background
Integer
in
Get_Width
function
Return
Integer
Calculates the width of a string, if plotted in the current desktop font.
Desktop font can be outline font or old BBC-type font.
Parameter name
Type
Mode
Default
Text
String
in
Plot
procedure
Plots a string using the current desktop font.
Parameter name
Type
Mode
Default
Text
String
in
X
Integer
in
Y
Integer
in
Flags
Integer
in
0
Truncate
function
Return
String
Returns the string truncated if necessary with an ellipsis.
Depending on the current alphabet and Wimp font, either an ellipsis character is used, or three full stops.
Parameter name
Type
Mode
Default
Text
String
in
Width
Integer
in
Get_SplitPoint
function
Return
Integer
Returns split point.
Parameter name
Type
Mode
Default
Text
String
in
Width
Integer
in
Split
Character
in