LibreOffice Module cui (master) 1
Public Member Functions | Private Member Functions | Private Attributes | List of all members
GraphicFilterMosaic Class Reference

#include <cuigrfflt.hxx>

Inheritance diagram for GraphicFilterMosaic:
[legend]
Collaboration diagram for GraphicFilterMosaic:
[legend]

Public Member Functions

 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
 
bool IsEnhanceEdges () const
 
- Public Member Functions inherited from GraphicFilterDialog
 GraphicFilterDialog (weld::Window *pParent, const OUString &rUIXMLDescription, const OUString &rID, const Graphic &rGraphic)
 
virtual Graphic GetFilteredGraphic (const Graphic &rGraphic, double fScaleX, double fScaleY)=0
 
- Public Member Functions inherited from weld::GenericDialogController
 GenericDialogController (weld::Widget *pParent, const OUString &rUIFile, const OUString &rDialogId, bool bMobile=false)
 
virtual DialoggetDialog () override
 
virtual ~GenericDialogController () COVERITY_NOEXCEPT_FALSE override
 
- Public Member Functions inherited from weld::DialogController
virtual DialoggetDialog ()=0
 
const DialoggetConstDialog () const
 
virtual short run ()
 
void set_title (const OUString &rTitle)
 
OUString get_title () const
 
void set_help_id (const OUString &rHelpId)
 
OUString get_help_id () const
 
void response (int nResponse)
 
virtual ~DialogController () COVERITY_NOEXCEPT_FALSE
 

Private Member Functions

 DECL_LINK (CheckBoxModifyHdl, weld::Toggleable &, void)
 
 DECL_LINK (EditModifyHdl, weld::MetricSpinButton &, void)
 

Private Attributes

std::unique_ptr< weld::MetricSpinButtonmxMtrWidth
 
std::unique_ptr< weld::MetricSpinButtonmxMtrHeight
 
std::unique_ptr< weld::CheckButtonmxCbxEdges
 

Additional Inherited Members

- Static Public Member Functions inherited from weld::DialogController
static bool runAsync (const std::shared_ptr< DialogController > &rController, const std::function< void(sal_Int32)> &)
 
- Protected Member Functions inherited from GraphicFilterDialog
const Link< LinkParamNone *, void > & GetModifyHdl () const
 
const SizeGetGraphicSizePixel () const
 
- Protected Attributes inherited from weld::GenericDialogController
std::unique_ptr< weld::Builderm_xBuilder
 
std::shared_ptr< weld::Dialogm_xDialog
 

Detailed Description

Definition at line 98 of file cuigrfflt.hxx.

Constructor & Destructor Documentation

◆ GraphicFilterMosaic()

GraphicFilterMosaic::GraphicFilterMosaic ( weld::Window pParent,
const Graphic rGraphic,
sal_uInt16  nTileWidth,
sal_uInt16  nTileHeight,
bool  bEnhanceEdges 
)

Member Function Documentation

◆ DECL_LINK() [1/2]

GraphicFilterMosaic::DECL_LINK ( CheckBoxModifyHdl  ,
weld::Toggleable ,
void   
)
private

◆ DECL_LINK() [2/2]

GraphicFilterMosaic::DECL_LINK ( EditModifyHdl  ,
weld::MetricSpinButton ,
void   
)
private

◆ GetFilteredGraphic()

Graphic GraphicFilterMosaic::GetFilteredGraphic ( const Graphic rGraphic,
double  fScaleX,
double  fScaleY 
)
overridevirtual

◆ IsEnhanceEdges()

bool GraphicFilterMosaic::IsEnhanceEdges ( ) const
inline

Definition at line 112 of file cuigrfflt.hxx.

References mxCbxEdges.

Referenced by GetFilteredGraphic().

Member Data Documentation

◆ mxCbxEdges

std::unique_ptr<weld::CheckButton> GraphicFilterMosaic::mxCbxEdges
private

Definition at line 103 of file cuigrfflt.hxx.

Referenced by GraphicFilterMosaic(), and IsEnhanceEdges().

◆ mxMtrHeight

std::unique_ptr<weld::MetricSpinButton> GraphicFilterMosaic::mxMtrHeight
private

Definition at line 102 of file cuigrfflt.hxx.

Referenced by GetFilteredGraphic(), and GraphicFilterMosaic().

◆ mxMtrWidth

std::unique_ptr<weld::MetricSpinButton> GraphicFilterMosaic::mxMtrWidth
private

Definition at line 101 of file cuigrfflt.hxx.

Referenced by GetFilteredGraphic(), and GraphicFilterMosaic().


The documentation for this class was generated from the following files: