24#include <bitmaps.hlst>
33 mnRegionId(USHRT_MAX),
35 maDefaultBitmap(BMP_DEFAULT),
36 mbIsDefaultTemplate(false)
49 return ::tools::Rectangle(
60 double fTransparence = 0.0;
82 float fWidth = aImageSize.
Width();
83 float fHeight = aImageSize.
Height();
const Size & GetSizePixel() const
basegfx::BColor getBColor() const
constexpr tools::Long Y() const
constexpr tools::Long X() const
constexpr tools::Long getX() const
constexpr tools::Long getY() const
constexpr tools::Long Height() const
constexpr tools::Long Width() const
tools::Rectangle getDefaultIconArea() const
virtual void Paint(drawinglayer::processor2d::BaseProcessor2D *pProcessor, const ThumbnailItemAttributes *pAttrs) override
TemplateViewItem(ThumbnailView &rView, sal_uInt16 nId)
virtual ~TemplateViewItem() override
static rtl::Reference< drawinglayer::primitive2d::PolygonHairlinePrimitive2D > createBorderLine(const basegfx::B2DPolygon &rPolygon)
tools::Rectangle maDrawArea
void addTextPrimitives(const OUString &rText, const ThumbnailItemAttributes *pAttrs, Point aPos, drawinglayer::primitive2d::Primitive2DContainer &rSeq)
const tools::Rectangle & getDrawArea() const
Class to display thumbnails with their names below their respective icons.
void append(const basegfx::B2DPoint &rPoint, sal_uInt32 nCount)
void setClosed(bool bNew)
void process(const primitive2d::Primitive2DContainer &rSource)
constexpr ::Color COL_WHITE(0xFF, 0xFF, 0xFF)
Sequence< sal_Int8 > aSeq
B2DHomMatrix createTranslateB2DHomMatrix(double fTranslateX, double fTranslateY)
rtl::Reference< BasePrimitive2D > Primitive2DReference
basegfx::BColor aSelectHighlightColor
basegfx::BColor aFillColor
basegfx::BColor aHighlightColor
double fHighlightTransparence
const int THUMBNAILVIEW_ITEM_CORNER