LibreOffice Module sd (master) 1
|
This factory class creates preview bitmaps for page objects. More...
#include <SlsBitmapFactory.hxx>
Public Member Functions | |
BitmapFactory () | |
~BitmapFactory () | |
BitmapEx | CreateBitmap (const SdPage &rPage, const Size &rPixelSize, const bool bDoSuperSampling) |
Private Attributes | |
PreviewRenderer | maRenderer |
This factory class creates preview bitmaps for page objects.
It is merely an adapter for the PreviewRenderer.
Definition at line 32 of file SlsBitmapFactory.hxx.
sd::slidesorter::cache::BitmapFactory::BitmapFactory | ( | ) |
Definition at line 33 of file SlsBitmapFactory.cxx.
sd::slidesorter::cache::BitmapFactory::~BitmapFactory | ( | ) |
Definition at line 38 of file SlsBitmapFactory.cxx.
BitmapEx sd::slidesorter::cache::BitmapFactory::CreateBitmap | ( | const SdPage & | rPage, |
const Size & | rPixelSize, | ||
const bool | bDoSuperSampling | ||
) |
Definition at line 42 of file SlsBitmapFactory.cxx.
References Image::GetBitmapEx(), Size::Height(), maRenderer, sd::PreviewRenderer::RenderPage(), BitmapEx::Scale(), Size::setHeight(), Size::setWidth(), and Size::Width().
Referenced by sd::slidesorter::cache::QueueProcessor::ProcessOneRequest().
|
private |
Definition at line 41 of file SlsBitmapFactory.hxx.
Referenced by CreateBitmap().