[Date Prev][Date Next][Thread Prev][Thread Next][Thread Index]

[XaraXtreme-commits] Commit Complete



Commit by  : alex
Repository : xara
Revision   : 1433
Date       : Tue Jul 11 16:47:28 BST 2006

Changed paths:
   M /Trunk/XaraLX/Kernel/saveeps.cpp

Produce a hires bounding box


Diff:
Index: Trunk/XaraLX/Kernel/saveeps.cpp
===================================================================
--- Trunk/XaraLX/Kernel/saveeps.cpp	(revision 1432)
+++ Trunk/XaraLX/Kernel/saveeps.cpp	(revision 1433)
@@ -2201,6 +2201,12 @@
 	pDC->OutputCoord	( BBox.hi, ACCURACY_ROUNDUP );
 	pDC->OutputNewLine	();
 
+	// Write a hires bounding box to the file.
+	pDC->OutputToken	( _T("%%HiResBoundingBox:") );
+	pDC->OutputCoord	( BBox.lo, ACCURACY_NORMAL );
+	pDC->OutputCoord	( BBox.hi, ACCURACY_NORMAL );
+	pDC->OutputNewLine	();
+
 	// Success.
 	return TRUE;
 }


Xara