14 : GenericDialogController(pParent,
"cui/ui/imageviewer.ui",
"ImageViewerDialog")
15 , m_xDisplayImage(m_xBuilder->weld_image(
"ImgVW_mainImage"))
18 aBitmap.
Scale(
Size(300, 300), BmpScaleFlag::Fast);
21 m_pVirDev->DrawBitmapEx(
Point(0, 0), aBitmap);
bool Scale(const Size &rNewSize, BmpScaleFlag nScaleFlag=BmpScaleFlag::Default)
const Size & GetSizePixel() const
std::unique_ptr< weld::Image > m_xDisplayImage
ImageViewerDialog(weld::Dialog *pParent, BitmapEx aBitmap, OUString atitle)
reference_type * get() const
std::shared_ptr< weld::Dialog > m_xDialog