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.
References iPaperSize, and ipe::Vector::x.
|
inline |
Is this an undefined (null) layout?
References iPaperSize, and ipe::Vector::x.
Referenced by ipe::StyleSheet::layout(), and ipe::StyleSheet::saveAsXml().
|
inline |
Return rectangle describing the paper.
References iOrigin, and iPaperSize.
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(), isNull(), Layout(), paper(), ipe::ImlParser::parseStyle(), and ipe::StyleSheet::saveAsXml().
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(), paper(), ipe::ImlParser::parseStyle(), and ipe::StyleSheet::saveAsXml().
Vector ipe::Layout::iFrameSize |
Size of the frame (the drawing area).
Referenced by ipe::CanvasBase::drawFrame(), ipe::CanvasBase::drawGrid(), ipe::ImlParser::parseStyle(), ipe::StyleSheet::saveAsXml(), and ipe::CanvasBase::snapToPaperAndFrame().
double ipe::Layout::iParagraphSkip |
Paragraph skip (between textboxes).
Referenced by ipe::ImlParser::parseStyle(), and ipe::StyleSheet::saveAsXml().
bool ipe::Layout::iCrop |
Crop paper to drawing.
Referenced by ipe::PdfWriter::createPageView(), ipe::ImlParser::parseStyle(), and ipe::StyleSheet::saveAsXml().