Go to the previous, next section.
#include <CNCL/EZDText.h>
CN_EZDTEXT
EZDObject
None
None
EZDText writes text into a clear rectangle. The rectangle is
handled as an EZDObject, its size is automatically as large as
necessary to hold the text in the given font and (x,y) are
its minimum coordinates in the current drawing. Note that the
font name is specified as a string in X font name terminology.
EZDText();
EZDText(CNParam *param);
EZDText(int x, int y, const CNString &text);
EZDText(const CNString &name, int x, int y, const CNString &text);
EZDText(int x, int y, const CNString &text, const CNString &font);
EZDText(const CNString &name, int x, int y, const CNString &text, const CNString &font);
EZDObject and displays the text in the current
drawing at the (x,y) coordinates. If no EZDObject name is
chosen it is called "text".
EZDText
provides:
virtual void redraw();
text in the current drawing.
void set_text(const CNString &t);
void set_text_val(int x);
void set_text_val(const CNString &t, int x);
void set_text_val(double x);
void set_text_val(const CNString &t, double x);
text out of text, integer or double and displays it in the
current drawing.
Go to the previous, next section.