24 _instance_flag =
false;
46 TextGraphic(
const NodePath &model, PN_stdfloat left, PN_stdfloat right, PN_stdfloat bottom, PN_stdfloat top) :
48 _frame(left, right, bottom, top),
113 set_frame(PN_stdfloat left, PN_stdfloat right, PN_stdfloat bottom, PN_stdfloat top) {
114 _frame.set(left, right, bottom, top);
124 return _instance_flag;
140 _instance_flag = instance_flag;
void set_model(const NodePath &model)
Changes the NodePath associated with the graphic.
bool get_instance_flag() const
Returns the instance_flag.
LVecBase4 get_frame() const
Returns the frame specified for the graphic.
void set_instance_flag(bool instance_flag)
Sets the instance_flag.
void set_frame(const LVecBase4 &frame)
Specifies the (left, right, bottom, top) bounding frame for the graphic.
This is the base class for all three-component vectors and points.
NodePath get_model() const
Returns the NodePath associated with the graphic, that renders the desired image. ...
NodePath is the fundamental system for disambiguating instances, and also provides a higher-level int...
static const LVecBase4f & zero()
Returns a zero-length vector.