98 Point aLineStart(aBLPos.
X() + 5, aBLPos.
Y() + ( nRectHeight - nItemId )/2);
99 Point aLineEnd(aBLPos.
X() + nRectWidth * 7 / 9 - 10, aBLPos.
Y() + ( nRectHeight - nItemId )/2);
102 Point aImgStart(aBLPos.
X() + 5, aBLPos.
Y() + ( nRectHeight - 23 ) / 2);
139 Point aStart(aBLPos.
X() + nRectWidth * 7 / 9 , aBLPos.
Y() + nRectHeight/6);
148 for(sal_uInt16
i = 1;
i <= nItemId;
i++)
150 pDev->
DrawLine(aLineStart,aLineEnd );
151 aLineStart.
setY(aLineStart.
getY() + 1);
152 aLineEnd.
setY (aLineEnd.
getY() + 1);
167 SetOutputSizePixel(aSize);
static const AllSettings & GetSettings()
Size GetSizePixel() const
static LanguageType getConfiguredSystemLanguage()
const vcl::Font & GetFont() const
void SetFont(const vcl::Font &rNewFont)
void DrawRect(const tools::Rectangle &rRect)
void DrawLine(const Point &rStartPt, const Point &rEndPt)
void DrawImage(const Point &rPos, const Image &rImage, DrawImageFlags nStyle=DrawImageFlags::NONE)
SAL_WARN_UNUSED_RESULT Point LogicToPixel(const Point &rLogicPt) const
const Color & GetLineColor() const
static vcl::Font GetDefaultFont(DefaultFontType nType, LanguageType eLang, GetDefaultFontFlags nFlags, const OutputDevice *pOutDev=nullptr)
void DrawText(const Point &rStartPt, const OUString &rStr, sal_Int32 nIndex=0, sal_Int32 nLen=-1, std::vector< tools::Rectangle > *pVector=nullptr, OUString *pDisplayText=nullptr, const SalLayoutGlyphs *pLayoutCache=nullptr)
const Color & GetFillColor() const
constexpr tools::Long Y() const
void setY(tools::Long nY)
constexpr tools::Long X() const
constexpr tools::Long getY() const
constexpr tools::Long Height() const
void setHeight(tools::Long nHeight)
constexpr tools::Long Width() const
vcl::RenderContext * GetRenderContext() const
const tools::Rectangle & GetRect() const
sal_uInt16 GetItemId() const
void SelectItem(sal_uInt16 nItemId)
void SetLineCount(sal_uInt16 nNewLines=0)
void SetColCount(sal_uInt16 nNewCols=1)
virtual void Resize() override
virtual void SetDrawingArea(weld::DrawingArea *pDrawingArea) override
void SetFontSize(const Size &)
void SetColor(const Color &)
const Size & GetFontSize() const
virtual OutputDevice & get_ref_device()=0
constexpr ::Color COL_WHITE(0xFF, 0xFF, 0xFF)
constexpr ::Color COL_TRANSPARENT(ColorTransparency, 0xFF, 0xFF, 0xFF, 0xFF)