LibreOffice Module svx (master) 1
|
#include <overlaymanagerbuffered.hxx>
Public Member Functions | |
virtual void | completeRedraw (const vcl::Region &rRegion, OutputDevice *pPreRenderDevice=nullptr) const override |
virtual void | flush () override |
virtual void | invalidateRange (const basegfx::B2DRange &rRange) override |
Public Member Functions inherited from sdr::overlay::OverlayManager | |
drawinglayer::geometry::ViewInformation2D const & | getCurrentViewInformation2D () const |
virtual void | completeRedraw (const vcl::Region &rRegion, OutputDevice *pPreRenderDevice=nullptr) const |
virtual void | flush () |
OutputDevice & | getOutputDevice () const |
void | add (OverlayObject &rOverlayObject) |
void | remove (OverlayObject &rOverlayObject) |
virtual void | invalidateRange (const basegfx::B2DRange &rRange) |
const Color & | getStripeColorA () const |
void | setStripeColorA (Color aNew) |
const Color & | getStripeColorB () const |
void | setStripeColorB (Color aNew) |
sal_uInt32 | getStripeLengthPixel () const |
void | setStripeLengthPixel (sal_uInt32 nNew) |
void | InsertEvent (sdr::animation::Event &rNew) |
Public Member Functions inherited from salhelper::SimpleReferenceObject | |
SimpleReferenceObject () | |
void | acquire () |
void | release () |
Static Public Member Functions | |
static rtl::Reference< OverlayManager > | create (OutputDevice &rOutputDevice) |
Static Public Member Functions inherited from sdr::overlay::OverlayManager | |
static rtl::Reference< OverlayManager > | create (OutputDevice &rOutputDevice) |
Static Public Member Functions inherited from salhelper::SimpleReferenceObject | |
static void * | operator new (std::size_t nSize) |
static void * | operator new (std::size_t nSize, std::nothrow_t const &rNothrow) |
static void | operator delete (void *pPtr) |
static void | operator delete (void *pPtr, std::nothrow_t const &rNothrow) |
Private Member Functions | |
DECL_LINK (ImpBufferTimerHandler, Timer *, void) | |
void | ImpPrepareBufferDevice () |
void | ImpRestoreBackground () const |
void | ImpRestoreBackground (const vcl::Region &rRegionPixel) const |
void | ImpSaveBackground (const vcl::Region &rRegion, OutputDevice *pPreRenderDevice) |
OverlayManagerBuffered (OutputDevice &rOutputDevice) | |
virtual | ~OverlayManagerBuffered () override |
Private Attributes | |
ScopedVclPtr< VirtualDevice > | mpBufferDevice |
ScopedVclPtr< VirtualDevice > | mpOutputBufferDevice |
Idle | maBufferIdle |
basegfx::B2IRange | maBufferRememberedRangePixel |
Additional Inherited Members | |
Protected Member Functions inherited from sdr::overlay::OverlayManager | |
void | ImpDrawMembers (const basegfx::B2DRange &rRange, OutputDevice &rDestinationDevice) const |
void | ImpStripeDefinitionChanged () |
void | impApplyRemoveActions (OverlayObject &rTarget) |
void | impApplyAddActions (OverlayObject &rTarget) |
double | getDiscreteOne () const |
tools::Rectangle | RangeToInvalidateRectangle (const basegfx::B2DRange &rRange) const |
OverlayManager (OutputDevice &rOutputDevice) | |
virtual | ~OverlayManager () override |
Protected Member Functions inherited from sdr::animation::Scheduler | |
SAL_DLLPRIVATE | Scheduler () |
virtual | ~Scheduler () override |
virtual void | Invoke () override |
SAL_DLLPRIVATE sal_uInt32 | GetTime () const |
SAL_DLLPRIVATE void | SetTime (sal_uInt32 nTime) |
SAL_DLLPRIVATE void | triggerEvents () |
SAL_DLLPRIVATE void | checkTimeout () |
void | InsertEvent (Event &rNew) |
SAL_DLLPRIVATE void | RemoveEvent (Event *pOld) |
SAL_DLLPRIVATE bool | IsPaused () const |
SAL_DLLPRIVATE void | SetPaused (bool bNew) |
Protected Member Functions inherited from Timer | |
virtual void | SetDeletionFlags () override |
virtual sal_uInt64 | UpdateMinPeriod (sal_uInt64 nTimeNow) const override |
Timer (bool bAuto, const char *pDebugName) | |
Timer (const char *pDebugName) | |
Timer (const Timer &rTimer) | |
virtual | ~Timer () override |
Timer & | operator= (const Timer &rTimer) |
virtual void | Invoke () override |
void | Invoke (Timer *arg) |
void | SetInvokeHandler (const Link< Timer *, void > &rLink) |
void | ClearInvokeHandler () |
void | SetTimeout (sal_uInt64 nTimeoutMs) |
sal_uInt64 | GetTimeout () const |
virtual void | Start (bool bStartTimer=true) override |
Protected Member Functions inherited from Task | |
const ImplSchedulerData * | GetSchedulerData () const |
virtual void | SetDeletionFlags () |
virtual sal_uInt64 | UpdateMinPeriod (sal_uInt64 nTimeNow) const=0 |
Task (const char *pDebugName) | |
Task (const Task &rTask) | |
virtual | ~Task () COVERITY_NOEXCEPT_FALSE |
Task & | operator= (const Task &rTask) |
void | SetPriority (TaskPriority ePriority) |
TaskPriority | GetPriority () const |
const char * | GetDebugName () const |
virtual void | Invoke ()=0 |
virtual void | Start (bool bStartTimer=true) |
void | Stop () |
bool | IsActive () const |
void | SetStatic () |
bool | IsStatic () const |
Protected Member Functions inherited from salhelper::SimpleReferenceObject | |
virtual | ~SimpleReferenceObject () COVERITY_NOEXCEPT_FALSE |
SimpleReferenceObject () | |
void | acquire () |
void | release () |
Static Protected Member Functions inherited from Task | |
static void | StartTimer (sal_uInt64 nMS) |
Static Protected Member Functions inherited from salhelper::SimpleReferenceObject | |
static void * | operator new (std::size_t nSize) |
static void * | operator new (std::size_t nSize, std::nothrow_t const &rNothrow) |
static void | operator delete (void *pPtr) |
static void | operator delete (void *pPtr, std::nothrow_t const &rNothrow) |
Protected Attributes inherited from sdr::overlay::OverlayManager | |
OutputDevice & | mrOutputDevice |
OverlayObjectVector | maOverlayObjects |
Color | maStripeColorA |
Color | maStripeColorB |
sal_uInt32 | mnStripeLengthPixel |
basegfx::B2DHomMatrix | maViewTransformation |
drawinglayer::geometry::ViewInformation2D | maViewInformation2D |
double | mfDiscreteOne |
Protected Attributes inherited from salhelper::SimpleReferenceObject | |
oslInterlockedCount | m_nCount |
Definition at line 31 of file overlaymanagerbuffered.hxx.
|
private |
Definition at line 350 of file overlaymanagerbuffered.cxx.
References Create(), LINK, maBufferIdle, Timer::SetInvokeHandler(), and Task::SetPriority().
Referenced by create().
|
overrideprivatevirtual |
Definition at line 368 of file overlaymanagerbuffered.cxx.
References ImpRestoreBackground(), basegfx::Range2D< typename TYPE, typename TRAITS >::isEmpty(), maBufferIdle, maBufferRememberedRangePixel, and Task::Stop().
|
overridevirtual |
Reimplemented from sdr::overlay::OverlayManager.
Definition at line 380 of file overlaymanagerbuffered.cxx.
References sdr::overlay::OverlayManager::completeRedraw(), ImpSaveBackground(), and vcl::Region::IsEmpty().
|
static |
Definition at line 362 of file overlaymanagerbuffered.cxx.
References OverlayManagerBuffered().
Referenced by SdrPaintView::CreateOverlayManager().
|
private |
|
overridevirtual |
Reimplemented from sdr::overlay::OverlayManager.
Definition at line 392 of file overlaymanagerbuffered.cxx.
|
private |
Definition at line 32 of file overlaymanagerbuffered.cxx.
References OutputDevice::GetMapMode(), basegfx::B2IRange::getMaximum(), basegfx::B2IRange::getMinimum(), MapMode::GetOrigin(), sdr::overlay::OverlayManager::getOutputDevice(), Size::Height(), basegfx::Range2D< typename TYPE, typename TRAITS >::isEmpty(), maBufferRememberedRangePixel, mpBufferDevice, Size::Width(), Point::X(), and Point::Y().
Referenced by ImpSaveBackground().
|
private |
Definition at line 97 of file overlaymanagerbuffered.cxx.
References basegfx::Range2D< typename TYPE, typename TRAITS >::getMaxX(), basegfx::Range2D< typename TYPE, typename TRAITS >::getMaxY(), basegfx::Range2D< typename TYPE, typename TRAITS >::getMinX(), basegfx::Range2D< typename TYPE, typename TRAITS >::getMinY(), ImpRestoreBackground(), and maBufferRememberedRangePixel.
Referenced by ImpRestoreBackground(), and ~OverlayManagerBuffered().
|
private |
Definition at line 107 of file overlaymanagerbuffered.cxx.
References OutputDevice::DrawOutDev(), OutputDevice::EnableMapMode(), sdr::overlay::OverlayManager::getOutputDevice(), vcl::Region::GetRegionRectangles(), and mpBufferDevice.
|
private |
Definition at line 136 of file overlaymanagerbuffered.cxx.
References OutputDevice::EnableMapMode(), OutputDevice::Flush(), vcl::Window::GetOutDev(), OutputDevice::GetOutDevType(), sdr::overlay::OverlayManager::getOutputDevice(), OutputDevice::GetOwnerWindow(), vcl::Window::GetPaintRegion(), vcl::Region::GetRegionRectangles(), ImpPrepareBufferDevice(), vcl::Region::Intersect(), OutputDevice::IsMapModeEnabled(), OutputDevice::LogicToPixel(), vcl::Window::LogicToPixel(), mpBufferDevice, and OUTDEV_WINDOW.
Referenced by completeRedraw().
|
overridevirtual |
Reimplemented from sdr::overlay::OverlayManager.
Definition at line 398 of file overlaymanagerbuffered.cxx.
References basegfx::Range2D< typename TYPE, typename TRAITS >::expand(), sdr::overlay::OverlayManager::getCurrentViewInformation2D(), sdr::overlay::OverlayManager::getDiscreteOne(), basegfx::Range2D< typename TYPE, typename TRAITS >::getMaxX(), basegfx::Range2D< typename TYPE, typename TRAITS >::getMaxY(), basegfx::Range2D< typename TYPE, typename TRAITS >::getMinX(), basegfx::Range2D< typename TYPE, typename TRAITS >::getMinY(), sdr::overlay::OverlayManager::getOutputDevice(), basegfx::Range2D< typename TYPE, typename TRAITS >::isEmpty(), maBufferIdle, maBufferRememberedRangePixel, Idle::Start(), and basegfx::B2DRange::transform().
|
private |
Definition at line 42 of file overlaymanagerbuffered.hxx.
Referenced by invalidateRange(), OverlayManagerBuffered(), and ~OverlayManagerBuffered().
|
private |
Definition at line 45 of file overlaymanagerbuffered.hxx.
Referenced by ImpPrepareBufferDevice(), ImpRestoreBackground(), invalidateRange(), and ~OverlayManagerBuffered().
|
private |
Definition at line 35 of file overlaymanagerbuffered.hxx.
Referenced by ImpPrepareBufferDevice(), ImpRestoreBackground(), and ImpSaveBackground().
|
private |
Definition at line 39 of file overlaymanagerbuffered.hxx.