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

#include <cuigrfflt.hxx>

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

Public Member Functions

 GraphicFilterSolarize (weld::Window *pParent, const Graphic &rGraphic, sal_uInt8 nGreyThreshold, bool bInvert)
 
virtual Graphic GetFilteredGraphic (const Graphic &rGraphic, double fScaleX, double fScaleY) override
 
bool IsInvert () const
 
- Public Member Functions inherited from GraphicFilterDialog
 GraphicFilterDialog (weld::Window *pParent, const OUString &rUIXMLDescription, const OString &rID, const Graphic &rGraphic)
 
- Public Member Functions inherited from weld::GenericDialogController
 GenericDialogController (weld::Widget *pParent, const OUString &rUIFile, const OString &rDialogId)
 
virtual DialoggetDialog () override
 
virtual ~GenericDialogController () COVERITY_NOEXCEPT_FALSE override
 
- Public Member Functions inherited from weld::DialogController
const DialoggetConstDialog () const
 
virtual short run ()
 
void set_title (const OUString &rTitle)
 
OUString get_title () const
 
void set_help_id (const OString &rHelpId)
 
OString get_help_id () const
 
void response (int nResponse)
 
virtual ~DialogController () COVERITY_NOEXCEPT_FALSE
 

Private Member Functions

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

Private Attributes

std::unique_ptr< weld::MetricSpinButtonmxMtrThreshold
 
std::unique_ptr< weld::CheckButtonmxCbxInvert
 

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 116 of file cuigrfflt.hxx.

Constructor & Destructor Documentation

GraphicFilterSolarize::GraphicFilterSolarize ( weld::Window pParent,
const Graphic rGraphic,
sal_uInt8  nGreyThreshold,
bool  bInvert 
)

Definition at line 266 of file cuigrfflt.cxx.

References FRound(), LINK, mxCbxInvert, mxMtrThreshold, and PERCENT().

Member Function Documentation

GraphicFilterSolarize::DECL_LINK ( CheckBoxModifyHdl  ,
weld::ToggleButton ,
void   
)
private
GraphicFilterSolarize::DECL_LINK ( EditModifyHdl  ,
weld::MetricSpinButton ,
void   
)
private
Graphic GraphicFilterSolarize::GetFilteredGraphic ( const Graphic rGraphic,
double  fScaleX,
double  fScaleY 
)
overridevirtual
bool GraphicFilterSolarize::IsInvert ( ) const
inline

Definition at line 128 of file cuigrfflt.hxx.

Referenced by GetFilteredGraphic().

Member Data Documentation

std::unique_ptr<weld::CheckButton> GraphicFilterSolarize::mxCbxInvert
private

Definition at line 120 of file cuigrfflt.hxx.

Referenced by GraphicFilterSolarize().

std::unique_ptr<weld::MetricSpinButton> GraphicFilterSolarize::mxMtrThreshold
private

Definition at line 119 of file cuigrfflt.hxx.

Referenced by GetFilteredGraphic(), and GraphicFilterSolarize().


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