#include "Painter.h"
#include "support/std_string.h"
-#include "LColor.h"
#include <boost/scoped_ptr.hpp>
virtual Painter & line(
int x1, int y1,
int x2, int y2,
- LColor::color = LColor::foreground,
+ EnumLColor,
line_style = line_solid,
line_width = line_thin);
int const * xp,
int const * yp,
int np,
- LColor::color = LColor::foreground,
+ EnumLColor,
line_style = line_solid,
line_width = line_thin);
virtual Painter & rectangle(
int x, int y,
int w, int h,
- LColor::color = LColor::foreground,
+ EnumLColor,
line_style = line_solid,
line_width = line_thin);
virtual Painter & fillRectangle(
int x, int y,
int w, int h,
- LColor::color);
+ EnumLColor);
/// draw a filled (irregular) polygon
virtual Painter & fillPolygon(
int const * xp,
int const * yp,
int np,
- LColor::color = LColor::foreground);
+ EnumLColor);
/// draw an arc
virtual Painter & arc(
int x, int y,
unsigned int w, unsigned int h,
int a1, int a2,
- LColor::color = LColor::foreground);
+ EnumLColor);
/// draw a pixel
virtual Painter & point(
int x, int y,
- LColor::color = LColor::foreground);
+ EnumLColor);
/// draw an image from the image cache
virtual Painter & image(int x, int y,
QString const & str, LyXFont const & f);
/// set pen parameters
- QPainter & setPen(LColor::color c,
+ QPainter & setPen(EnumLColor c,
line_style ls = line_solid,
line_width lw = line_thin);