+2002-10-21 Angus Leeming <leeming@lyx.org>
+
+ * xformsImage.C (rotate): pass ints to flimage_rotate, fixing compiler
+ warning.
+
+2002-10-21 Garst Reese <reese@isn.net>
+
+ * xformsImage.C (getWidth): work-around xforms bug enabling the display
+ of the edges of an image.
+
2002-10-21 Rob Lahaye <lahaye@snu.ac.kr>
* Tooltips.C (init): pass the /formatted/ string to xforms...
if (!image_)
return 0;
- // Why, oh why do we need such hacks?
+ // Why, oh why, do we need such hacks?
// Angus 12 July 2002
- return image_->w + 2;
+ return image_->w + 4;
}
flimage_rotate(image_, 900, FLIMAGE_SUBPIXEL);
flimage_rotate(image_, 1800, FLIMAGE_SUBPIXEL);
} else {
- flimage_rotate(image_, params.angle * 10, FLIMAGE_SUBPIXEL);
+ flimage_rotate(image_,
+ int(params.angle * 10),
+ FLIMAGE_SUBPIXEL);
}
}