graph htextcenter - part-cw/lambdanative GitHub Wiki

(graph-htextcenter g x y s)

This function draws horizontal centered text at position (x,y). The position (x,y) will be the center point of the text.

Parameter Description
g graph context
x, y location of text
s text string

Example

(graph-htextcenter g 0. -0.8 "this is a text string")