Search Locate Previous Next Contents

ch.Text – low-level text output

This function is designed to complement ch.Note by providing a low-level call to output bulk text efficiently. Text is drawn in the currently set Note Font and style at absolute co-ordinates (in points) measured from the origin of the current frame.


Here a new frame (boxed and shadowed) has been used to make a suitable background for a table of figures.

It will normally help to set the margins and gutter to 0 so that all the text co-ordinates are measured from the lower left corner of the frame box you define.

ch.Text mat

where <mat> is a 3-column matrix [;text vector,x,y] or a 3-element array with (text vector)(x-vector)(y-vector) (either x or y may be scalar). This is most useful for adding tabular data to charts, and is illustrated by the examples TK and Scatter in the RainPro workspace.



Continue to: ch.TextWidth – measure text
© Copyright Causeway Graphical Systems Ltd 2003