44 explicit Page(
const std::shared_ptr<IRenderModule>& rRenderModule );
119 if(!(pSurface->selectTexture()))
A part of a page, which gets allocated to a surface.
bool select(bool bRefresh)
PageFragment(const ::basegfx::B2ISize &rSize)
Creates a 'naked' fragment.
void free(const FragmentSharedPtr &pFragment)
void setColorBuffer(const std::shared_ptr< IColorBuffer > &pColorBuffer)
void setPage(Page *pPage)
std::shared_ptr< IColorBuffer > mpBuffer
const ::basegfx::B2IPoint & getPos() const
void setSourceOffset(const ::basegfx::B2IPoint &rOffset)
::basegfx::B2IPoint maSourceOffset
PageFragment(const SurfaceRect &r, Page *pPage)
const ::basegfx::B2ISize & getSize() const
const SurfaceRect & getRect() const
One page of IRenderModule-provided texture space.
std::shared_ptr< ISurface > mpSurface
bool isValidLocation(const SurfaceRect &r) const
std::shared_ptr< IRenderModule > mpRenderModule
void free(const FragmentSharedPtr &pFragment)
FragmentContainer_t mpFragments
bool insert(SurfaceRect &r)
FragmentSharedPtr allocateSpace(const ::basegfx::B2ISize &rSize)
Page(const std::shared_ptr< IRenderModule > &rRenderModule)
std::vector< FragmentSharedPtr > FragmentContainer_t
const std::shared_ptr< ISurface > & getSurface() const
bool nakedFragment(const FragmentSharedPtr &pFragment)
std::shared_ptr< PageFragment > FragmentSharedPtr
std::shared_ptr< Page > PageSharedPtr
This implements some equivalent to basegfx::B2IBox, but instead of two BasicBox ranges,...
::basegfx::B2ISize maSize
::basegfx::B2IPoint maPos