X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2FPainterBase.h;h=bd9832925616f2f68b9eb265d67d02f7f5907d25;hb=c90c5e6386ce69c34c99b3594d6fa452e6a13161;hp=47fa8c89939a805e7571d2f92711f9c776fe4a1b;hpb=d705c75da9d67b3a99c09f1c935958cbed06be59;p=lyx.git diff --git a/src/PainterBase.h b/src/PainterBase.h index 47fa8c8993..bd98329256 100644 --- a/src/PainterBase.h +++ b/src/PainterBase.h @@ -20,6 +20,7 @@ class WorkArea; class LyXFont; +class LyXImage; /** A painter class to encapsulate all graphics parameters and operations @@ -93,7 +94,7 @@ public: virtual PainterBase & fillPolygon( int const * xp, int const * yp, int np, - LColor::color =LColor::foreground) = 0; + LColor::color = LColor::foreground) = 0; /// Draw lines from x1,y1 to x2,y2. They are arrays virtual PainterBase & segments( @@ -146,9 +147,7 @@ public: // For the figure inset - // This can't be part of the base since we don't know what window - // system we will be useing, or if are going to use pixmaps at all. - //virtual PainterBase & pixmap(int x, int y, Pixmap bitmap)=0; + virtual PainterBase & image(int x, int y, int w, int h, LyXImage const * image) = 0; /// Draw a string at position x, y (y is the baseline)