28class PageObjectViewObjectContact;
44 const Size& rPixelSize,
45 const bool bDoSuperSampling)
47 Size aSize (rPixelSize);
51 int aSuperSamplingFactor = 2;
63 aPreview.
Scale(rPixelSize, BmpScaleFlag::BestQuality);
bool Scale(const Size &rNewSize, BmpScaleFlag nScaleFlag=BmpScaleFlag::Default)
BitmapEx GetBitmapEx() const
constexpr tools::Long Height() const
void setWidth(tools::Long nWidth)
void setHeight(tools::Long nHeight)
constexpr tools::Long Width() const
Image RenderPage(const SdPage *pPage, const sal_Int32 nWidth)
Render a page with the given pixel size.
PreviewRenderer maRenderer
BitmapEx CreateBitmap(const SdPage &rPage, const Size &rPixelSize, const bool bDoSuperSampling)