correct paper size function

This commit is contained in:
Sébastien Loriot 2009-12-30 15:52:17 +00:00
parent 02f5ff8556
commit 9663887da1
1 changed files with 1 additions and 5 deletions

View File

@ -670,11 +670,7 @@ public:
ipe::Vector
get_paper_size() const {
#warning handle paper size
//~ if (ipelibVersion() >= 60028)
//~ return get_IpeletHelper()->StyleSheet()->findLayout().iPaperSize;
//~ else
return ipe::Vector(595,842);
return data_->iDoc->cascade()->findLayout()->iPaperSize;
}
struct Voronoi_from_tri{ //Class using stream to get the voronoi diagram