Ipelib
|
#include <ipeattributes.h>
Public Member Functions | |
Layout () | |
bool | isNull () const |
Rect | paper () const |
Public Attributes | |
Vector | iPaperSize |
Vector | iOrigin |
Vector | iFrameSize |
double | iParagraphSkip |
bool | iCrop |
|
inline |
Create null layout.
|
inline |
Is this an undefined (null) layout?
|
inline |
Return rectangle describing the paper.
Referenced by ipe::PdfWriter::createPageView(), ipe::Thumbnail::render(), ipe::Thumbnail::saveRender(), ipe::CanvasBase::snapToPaperAndFrame(), and ipe::Thumbnail::Thumbnail().
Vector ipe::Layout::iPaperSize |
Dimensions of the media.
Referenced by ipe::PanTool::draw(), ipe::CanvasBase::drawObjects(), ipe::CanvasBase::drawPaper(), and ipe::ImlParser::parseStyle().
Vector ipe::Layout::iOrigin |
Origin of the Ipe coordinate system relative to the paper.
Referenced by ipe::PanTool::draw(), ipe::CanvasBase::drawObjects(), ipe::CanvasBase::drawPaper(), ipe::ImlParser::parseStyle(), and ipe::Thumbnail::render().
Vector ipe::Layout::iFrameSize |
Size of the frame (the drawing area).
Referenced by ipe::CanvasBase::drawFrame(), ipe::ImlParser::parseStyle(), and ipe::CanvasBase::snapToPaperAndFrame().
double ipe::Layout::iParagraphSkip |
Paragraph skip (between textboxes).
Referenced by ipe::ImlParser::parseStyle().
bool ipe::Layout::iCrop |
Crop paper to drawing.
Referenced by ipe::PdfWriter::createPageView(), and ipe::ImlParser::parseStyle().