mirror of
https://git.lyx.org/repos/lyx.git
synced 2025-01-11 03:03:06 +00:00
(Garst Reese): work-around xforms bug enabling the display of the edges
of an image. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5456 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
15096a4532
commit
855235a028
@ -1,3 +1,13 @@
|
||||
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...
|
||||
|
@ -155,9 +155,9 @@ unsigned int xformsImage::getWidth() const
|
||||
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;
|
||||
}
|
||||
|
||||
|
||||
@ -310,7 +310,9 @@ void xformsImage::rotate(Params const & params)
|
||||
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);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user