line_style ls,
line_width lw)
{
- //lyxerr << "rectangle " << x<<","<<y << " " <<w<<","<<h<<endl;
+ //lyxerr << "rectangle " << x << ',' << y << ' '
+ // << w << ',' << h << endl;
setPen(col, ls, lw).drawRect(x, y, w, h);
return *this;
}
int w, int h,
LColor::color col)
{
- //lyxerr << "fillRectangle " << x<<","<<y << " " <<w<<","<<h<<endl;
+ //lyxerr << "fillRectangle " << x << ',' << y << ' '
+ // << w << ',' << h << endl;
qp_->fillRect(x, y, w, h, QColor(lcolor.getX11Name(col).c_str()));
return *this;
}
unsigned int w, unsigned int h,
int a1, int a2, LColor::color col)
{
- lyxerr[Debug::GUI] << "arc: " << x<<","<<y
- << " " << w<<","<<h << ", angles "
+ lyxerr[Debug::GUI] << "arc: " << x << ',' << y
+ << ' ' << w << ',' << h << ", angles "
<< a1 << " - " << a2 << endl;
// LyX usings 1/64ths degree, Qt usings 1/16th
setPen(col).drawArc(x, y, w, h, a1 / 4, a2 / 4);
char const * s, size_t ls,
LyXFont const & f)
{
- setPen(f.color());
+ setPen(f.realColor());
Encoding const * encoding = f.language()->encoding();
if (f.isSymbolFont())