LibreOffice Module slideshow (master) 1
Public Member Functions | List of all members
slideshow::internal::View Class Referenceabstract

#include <view.hxx>

Inheritance diagram for slideshow::internal::View:
[legend]
Collaboration diagram for slideshow::internal::View:
[legend]

Public Member Functions

virtual ViewLayerSharedPtr createViewLayer (const basegfx::B2DRange &rLayerBounds) const =0
 Create a new view layer for this view. More...
 
virtual bool updateScreen () const =0
 Update screen representation from backbuffer. More...
 
virtual bool paintScreen () const =0
 Paint screen content unconditionally from backbuffer. More...
 
virtual void setViewSize (const ::basegfx::B2DSize &)=0
 Set the size of the user view coordinate system. More...
 
virtual void setCursorShape (sal_Int16 nPointerShape)=0
 Change the view's mouse cursor. More...
 
- Public Member Functions inherited from slideshow::internal::ViewLayer
virtual ~ViewLayer ()
 
virtual bool isOnView (ViewSharedPtr const &rView) const =0
 Query whether layer displays on given view. More...
 
virtual cppcanvas::CanvasSharedPtr getCanvas () const =0
 Get the associated canvas of this layer. More...
 
virtual void clear () const =0
 Clear the clipped view layer area. More...
 
virtual void clearAll () const =0
 Clear the complete view. More...
 
virtual cppcanvas::CustomSpriteSharedPtr createSprite (const basegfx::B2DSize &rSpriteSizePixel, double nPriority) const =0
 Create a sprite for this layer. More...
 
virtual void setPriority (const basegfx::B1DRange &rRange)=0
 Set the layer priority range. More...
 
virtual basegfx::B2DHomMatrix getTransformation () const =0
 Get the overall view transformation. More...
 
virtual css::geometry::IntegerSize2D getTranslationOffset () const =0
 
virtual basegfx::B2DHomMatrix getSpriteTransformation () const =0
 Get the overall view transformation. More...
 
virtual void setClip (const basegfx::B2DPolyPolygon &rClip)=0
 Set clipping on this view layer. More...
 
virtual bool resize (const basegfx::B2DRange &rArea)=0
 Resize this view layer. More...
 

Detailed Description

Definition at line 36 of file view.hxx.

Member Function Documentation

◆ createViewLayer()

virtual ViewLayerSharedPtr slideshow::internal::View::createViewLayer ( const basegfx::B2DRange rLayerBounds) const
pure virtual

Create a new view layer for this view.

Parameters
rLayerBoundsSpecifies the bound rect of the layer relative to the user view coordinate system.

This method sets the bounds of the view layer in document coordinates (i.e. 'logical' coordinates). The resulting transformation is then concatenated with the underlying view transformation, returned by the getTransformation() method.

◆ paintScreen()

virtual bool slideshow::internal::View::paintScreen ( ) const
pure virtual

Paint screen content unconditionally from backbuffer.

◆ setCursorShape()

virtual void slideshow::internal::View::setCursorShape ( sal_Int16  nPointerShape)
pure virtual

Change the view's mouse cursor.

Parameters
nPointerShapeOne of the css::awt::SystemPointer constant group members.

◆ setViewSize()

virtual void slideshow::internal::View::setViewSize ( const ::basegfx::B2DSize )
pure virtual

Set the size of the user view coordinate system.

This method sets the width and height of the view in document coordinates (i.e. 'logical' coordinates). The resulting transformation is then concatenated with the underlying view transformation, returned by the getTransformation() method.

◆ updateScreen()

virtual bool slideshow::internal::View::updateScreen ( ) const
pure virtual

Update screen representation from backbuffer.


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