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

[XaraXtreme-commits] Commit Complete



Commit by  : alex
Repository : xara
Revision   : 1659
Date       : Thu Aug  3 16:23:13 BST 2006

Changed paths:
   M /Trunk/XaraLX/wxOil/grndrgn.cpp

Tidied up prior checkin


Diff:
Index: Trunk/XaraLX/wxOil/grndrgn.cpp
===================================================================
--- Trunk/XaraLX/wxOil/grndrgn.cpp	(revision 1658)
+++ Trunk/XaraLX/wxOil/grndrgn.cpp	(revision 1659)
@@ -5037,22 +5037,6 @@
 	if (PixelWidth == 0)
 		PixelWidth = 1;
 
-	// Now make a windows (pixels) rectangle from the Bounding DocRect (millipoints)
-	INT32 bw = BoundsRect.Width()/PixelWidth;
-	INT32 bh = BoundsRect.Height()/PixelWidth;
-
-#if 0
-	// Clip the windows rect so that is no bigger than the required rectangle
-	if (w < bw) 
-		bw = w;
-
-	if (h < bh)
-		bh = h;
-
-	if ((bh<=0) || (bw<=0))		// Still a valid rectangle?
-		return;
-#endif
-
 	// Create a memory DC
 	wxBitmap bitmap(w, h);
 	wxMemoryDC MemDC;


Xara