39 virtual void Resize()
override;
109 sal_uInt16 nTileWidth, sal_uInt16 nTileHeight,
bool bEnhanceEdges);
137 sal_uInt16 nSepiaPercent);
148 sal_uInt16 nPosterColorCount);
virtual void Resize() override
const Graphic * mpOrigGraphic
Size maOrigGraphicSizePixel
Link< LinkParamNone *, void > maModifyHdl
void SetPreview(const Graphic &rGraphic)
void init(const Graphic *pOrigGraphic, const Link< LinkParamNone *, void > &rLink)
virtual void Paint(vcl::RenderContext &rRenderContext, const ::tools::Rectangle &rRect) override
CuiGraphicPreviewWindow()
const Size & GetGraphicSizePixel() const
virtual void SetDrawingArea(weld::DrawingArea *pDrawingArea) override
const Graphic & GetScaledOriginal() const
void SetModifyHdl(const Link< LinkParamNone *, void > &rHdl)
virtual bool MouseButtonDown(const MouseEvent &rEvt) override
Link< LinkParamNone *, void > maModifyHdl
virtual void SetDrawingArea(weld::DrawingArea *pDrawingArea) override
CuiGraphicPreviewWindow maPreview
const Link< LinkParamNone *, void > & GetModifyHdl() const
virtual Graphic GetFilteredGraphic(const Graphic &rGraphic, double fScaleX, double fScaleY)=0
GraphicFilterDialog(weld::Window *pParent, const OUString &rUIXMLDescription, const OUString &rID, const Graphic &rGraphic)
DECL_LINK(ImplPreviewTimeoutHdl, Timer *, void)
const Size & GetGraphicSizePixel() const
Link< LinkParamNone *, void > maModifyHdl
DECL_LINK(ImplModifyHdl, LinkParamNone *, void)
std::unique_ptr< weld::CustomWeld > mxPreview
virtual ~GraphicFilterEmboss() override
std::unique_ptr< weld::CustomWeld > mxCtlLight
virtual Graphic GetFilteredGraphic(const Graphic &rGraphic, double fScaleX, double fScaleY) override
GraphicFilterEmboss(weld::Window *pParent, const Graphic &rGraphic, RectPoint eLightSource)
std::unique_ptr< weld::MetricSpinButton > mxMtrWidth
bool IsEnhanceEdges() const
std::unique_ptr< weld::CheckButton > mxCbxEdges
GraphicFilterMosaic(weld::Window *pParent, const Graphic &rGraphic, sal_uInt16 nTileWidth, sal_uInt16 nTileHeight, bool bEnhanceEdges)
virtual Graphic GetFilteredGraphic(const Graphic &rGraphic, double fScaleX, double fScaleY) override
DECL_LINK(CheckBoxModifyHdl, weld::Toggleable &, void)
std::unique_ptr< weld::MetricSpinButton > mxMtrHeight
DECL_LINK(EditModifyHdl, weld::MetricSpinButton &, void)
GraphicFilterPoster(weld::Window *pParent, const Graphic &rGraphic, sal_uInt16 nPosterColorCount)
std::unique_ptr< weld::SpinButton > mxNumPoster
DECL_LINK(EditModifyHdl, weld::SpinButton &, void)
virtual Graphic GetFilteredGraphic(const Graphic &rGraphic, double fScaleX, double fScaleY) override
DECL_LINK(EditModifyHdl, weld::MetricSpinButton &, void)
std::unique_ptr< weld::MetricSpinButton > mxMtrSepia
virtual Graphic GetFilteredGraphic(const Graphic &rGraphic, double fScaleX, double fScaleY) override
GraphicFilterSepia(weld::Window *pParent, const Graphic &rGraphic, sal_uInt16 nSepiaPercent)
virtual Graphic GetFilteredGraphic(const Graphic &rGraphic, double fScaleX, double fScaleY) override
DECL_LINK(EditModifyHdl, weld::SpinButton &, void)
GraphicFilterSmooth(weld::Window *pParent, const Graphic &rGraphic, double nRadius)
std::unique_ptr< weld::SpinButton > mxMtrRadius
DECL_LINK(CheckBoxModifyHdl, weld::Toggleable &, void)
DECL_LINK(EditModifyHdl, weld::MetricSpinButton &, void)
GraphicFilterSolarize(weld::Window *pParent, const Graphic &rGraphic, sal_uInt8 nGreyThreshold, bool bInvert)
std::unique_ptr< weld::MetricSpinButton > mxMtrThreshold
std::unique_ptr< weld::CheckButton > mxCbxInvert
virtual Graphic GetFilteredGraphic(const Graphic &rGraphic, double fScaleX, double fScaleY) override
MapMode GetPrefMapMode() const
SAL_WARN_UNUSED_RESULT Point LogicToPixel(const Point &rLogicPt) const
virtual OutputDevice & get_ref_device()=0