LibreOffice Module sd (master) 1
|
#include <SlsFramePainter.hxx>
Classes | |
class | OffsetBitmap |
Bitmap with offset that is used when the bitmap is painted. More... | |
Public Member Functions | |
FramePainter (const BitmapEx &rBitmap) | |
~FramePainter () | |
void | PaintFrame (OutputDevice &rDevice, const ::tools::Rectangle &rBox) const |
Paint a border around the given box by using a set of bitmaps for the corners and sides. More... | |
void | AdaptColor (const Color aNewColor) |
Special functionality that takes the color from the center bitmap and replaces that color in all bitmaps by the given new color. More... | |
Definition at line 26 of file SlsFramePainter.hxx.
|
explicit |
Definition at line 26 of file SlsFramePainter.cxx.
References BitmapEx::GetSizePixel(), Size::Height(), maBottom, maTop, mbIsValid, and Size::Width().
sd::slidesorter::view::FramePainter::~FramePainter | ( | ) |
Definition at line 52 of file SlsFramePainter.cxx.
void sd::slidesorter::view::FramePainter::AdaptColor | ( | const Color | aNewColor | ) |
Special functionality that takes the color from the center bitmap and replaces that color in all bitmaps by the given new color.
Alpha values are not modified. The center bitmap is erased.
Definition at line 75 of file SlsFramePainter.cxx.
References BitmapEx::GetPixelColor(), BitmapEx::IsEmpty(), sd::slidesorter::view::FramePainter::OffsetBitmap::maBitmap, maBottom, maBottomLeft, maBottomRight, maCenter, maLeft, maRight, maTop, maTopLeft, maTopRight, BitmapEx::Replace(), and BitmapEx::SetEmpty().
void sd::slidesorter::view::FramePainter::PaintFrame | ( | OutputDevice & | rDevice, |
const ::tools::Rectangle & | rBox | ||
) | const |
Paint a border around the given box by using a set of bitmaps for the corners and sides.
Definition at line 56 of file SlsFramePainter.cxx.
References maBottom, maBottomLeft, maBottomRight, maCenter, maLeft, maRight, maTop, maTopLeft, maTopRight, mbIsValid, sd::slidesorter::view::FramePainter::OffsetBitmap::PaintCenter(), sd::slidesorter::view::FramePainter::OffsetBitmap::PaintCorner(), and sd::slidesorter::view::FramePainter::OffsetBitmap::PaintSide().
|
private |
Definition at line 101 of file SlsFramePainter.hxx.
Referenced by AdaptColor(), and PaintFrame().
|
private |
Definition at line 100 of file SlsFramePainter.hxx.
Referenced by AdaptColor(), and PaintFrame().
|
private |
Definition at line 102 of file SlsFramePainter.hxx.
Referenced by AdaptColor(), and PaintFrame().
|
private |
Definition at line 103 of file SlsFramePainter.hxx.
Referenced by AdaptColor(), and PaintFrame().
|
private |
Definition at line 98 of file SlsFramePainter.hxx.
Referenced by AdaptColor(), and PaintFrame().
|
private |
Definition at line 99 of file SlsFramePainter.hxx.
Referenced by AdaptColor(), and PaintFrame().
|
private |
Definition at line 96 of file SlsFramePainter.hxx.
Referenced by AdaptColor(), and PaintFrame().
|
private |
Definition at line 95 of file SlsFramePainter.hxx.
Referenced by AdaptColor(), and PaintFrame().
|
private |
Definition at line 97 of file SlsFramePainter.hxx.
Referenced by AdaptColor(), and PaintFrame().
|
private |
Definition at line 104 of file SlsFramePainter.hxx.
Referenced by FramePainter(), and PaintFrame().