|
LibreOffice Module canvas (master) 1
|
A part of a page, which gets allocated to a surface. More...
#include <page.hxx>
Public Member Functions | |
| PageFragment (const SurfaceRect &r, Page *pPage) | |
| PageFragment (const ::basegfx::B2ISize &rSize) | |
| Creates a 'naked' fragment. More... | |
| bool | isNaked () const |
| const SurfaceRect & | getRect () const |
| const ::basegfx::B2IPoint & | getPos () const |
| const ::basegfx::B2ISize & | getSize () const |
| void | setColorBuffer (const std::shared_ptr< IColorBuffer > &pColorBuffer) |
| void | setSourceOffset (const ::basegfx::B2IPoint &rOffset) |
| void | setPage (Page *pPage) |
| void | free (const FragmentSharedPtr &pFragment) |
| bool | select (bool bRefresh) |
| bool | refresh () |
Private Attributes | |
| Page * | mpPage |
| SurfaceRect | maRect |
| std::shared_ptr< IColorBuffer > | mpBuffer |
| ::basegfx::B2IPoint | maSourceOffset |
|
inline |
|
inlineexplicit |
|
inline |
Definition at line 98 of file page.hxx.
References canvas::Page::free(), and mpPage.
|
inline |
Definition at line 92 of file page.hxx.
References canvas::SurfaceRect::maPos, and maRect.
|
inline |
|
inline |
Definition at line 93 of file page.hxx.
References maRect, and canvas::SurfaceRect::maSize.
|
inline |
|
inline |
Definition at line 126 of file page.hxx.
References basegfx::Size2D< typename TYPE >::getHeight(), canvas::Page::getSurface(), basegfx::Size2D< typename TYPE >::getWidth(), canvas::SurfaceRect::maPos, maRect, canvas::SurfaceRect::maSize, maSourceOffset, mpBuffer, and mpPage.
Referenced by select().
|
inline |
Definition at line 106 of file page.hxx.
References canvas::Page::getSurface(), mpPage, and refresh().
|
inline |
|
inline |
|
inline |
Definition at line 95 of file page.hxx.
References maSourceOffset.
|
private |
|
private |
Definition at line 144 of file page.hxx.
Referenced by refresh(), and setSourceOffset().
|
private |
Definition at line 143 of file page.hxx.
Referenced by refresh(), and setColorBuffer().
|
private |