25 #include "config_auto.h" 45 :
baseline(spline_size, xstarts, coeffs),
52 descdrop = descenders;
53 has_drop_cap_ =
false;
78 has_drop_cap_ =
false;
88 WERD_IT it(const_cast<WERD_LIST *>(&words));
89 for (it.mark_cycle_pt(); !it.cycled_list(); it.forward()) {
90 box += it.data()->restricted_bounding_box(upper_dots, lower_dots);
111 while (!it.at_first ()) {
114 if (left < prev_left) {
124 for (it.mark_cycle_pt (); !it.cycled_list (); it.forward ()) {
153 for (it.mark_cycle_pt (); !it.cycled_list (); it.forward ())
154 it.data ()->move (vec);
156 bound_box.
move (vec);
170 tprintf(
"Kerning= %d\n", kerning);
171 tprintf(
"Spacing= %d\n", spacing);
173 tprintf(
"Xheight= %f\n", xheight);
174 tprintf(
"Ascrise= %f\n", ascrise);
175 tprintf(
"Descdrop= %f\n", descdrop);
176 tprintf(
"has_drop_cap= %d\n", has_drop_cap_);
177 tprintf(
"lmargin= %d, rmargin= %d\n", lmargin_, rmargin_);
187 #ifndef GRAPHICS_DISABLED 195 for (it.mark_cycle_pt (); !it.cycled_list (); it.forward ()) {
197 word->
plot (window, colour);
213 for (it.mark_cycle_pt (); !it.cycled_list (); it.forward ()) {
218 #endif // GRAPHICS_DISABLED 228 kerning = source.kerning;
229 spacing = source.spacing;
230 xheight = source.xheight;
231 bodysize = source.bodysize;
232 ascrise = source.ascrise;
233 descdrop = source.descdrop;
236 baseline = source.baseline;
237 bound_box = source.bound_box;
238 has_drop_cap_ = source.has_drop_cap_;
239 lmargin_ = source.lmargin_;
240 rmargin_ = source.rmargin_;
241 para_ = source.para_;
void move(const ICOORD vec)
int word_comparator(const void *word1p, const void *word2p)
TBOX bounding_box() const
void plot(ScrollView *window, ScrollView::Color colour)
void set_flag(WERD_FLAGS mask, bool value)
void move(const ICOORD vec)
void plot(ScrollView *window, ScrollView::Color colour)
void operator=(const ELIST_LINK &)
TBOX restricted_bounding_box(bool upper_dots, bool lower_dots) const
#define ELISTIZE(CLASSNAME)
DLLSYM void tprintf(const char *format,...)
void recalc_bounding_box()
ROW & operator=(const ROW &source)