mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-11 05:33:33 +00:00
make insetgraphics cache their position
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8134 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
45ca1c4e02
commit
6b8618d6a1
@ -1,3 +1,6 @@
|
|||||||
|
2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
|
||||||
|
|
||||||
|
* insetgraphics.C (draw): cache xo_ & yo_
|
||||||
|
|
||||||
2003-11-24 André Pönitz <poenitz@gmx.net>
|
2003-11-24 André Pönitz <poenitz@gmx.net>
|
||||||
|
|
||||||
|
@ -235,6 +235,8 @@ void InsetGraphics::metrics(MetricsInfo & mi, Dimension & dim) const
|
|||||||
|
|
||||||
void InsetGraphics::draw(PainterInfo & pi, int x, int y) const
|
void InsetGraphics::draw(PainterInfo & pi, int x, int y) const
|
||||||
{
|
{
|
||||||
|
xo_ = x;
|
||||||
|
yo_ = y;
|
||||||
graphic_->draw(pi, x, y);
|
graphic_->draw(pi, x, y);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user