12 qInfo() <<
"Enter text";
17 text_content_.append(boost::begin(text), boost::end(text));
21 void set(tag::attribute::x, Range
const &range) {
22 for (
auto it = boost::begin(range), end = boost::end(range); it != end;
28 void set(tag::attribute::y, Range
const &range) {
29 for (
auto it = boost::begin(range), end = boost::end(range); it != end;
38 void set(tag::attribute::x,
double x) { x_ = x; }
40 void set(tag::attribute::y,
double y) { y_ = y; }
43 std::string text_content_;
Definition: base-context.h:10
void set(tag::attribute::width, double val)
Definition: object-context.h:9
void set(tag::attribute::width, double val)
Definition: object-context.h:9
void set(svgpp::tag::attribute::display, svgpp::tag::value::none)
Definition: stylable-context.h:150
Definition: text-context.h:9
void set(tag::attribute::y, Range const &range)
Definition: text-context.h:28
TextContext(BaseContext const &parent)
Definition: text-context.h:11
void set(tag::attribute::x, Range const &range)
Definition: text-context.h:21
void set(tag::attribute::x, double x)
Definition: text-context.h:38
void set_text(Range const &text)
Definition: text-context.h:16
void set(tag::attribute::y, double y)
Definition: text-context.h:40
Definition: base-context.h:8