adjust two comments

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8136 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Alfredo Braunstein 2003-11-25 16:49:02 +00:00
parent ce686f1803
commit 1dc2202e8b
3 changed files with 7 additions and 3 deletions

View File

@ -1,3 +1,7 @@
2003-11-25 Alfredo Braunstein <abraunst@lyx.org>
* render_graphic.[Ch]: adjust comments
2003-11-24 Alfredo Braunstein <abraunst@lyx.org> 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
* insetgraphics.C (draw): cache xo_ & yo_ * insetgraphics.C (draw): cache xo_ & yo_

View File

@ -168,8 +168,8 @@ void RenderGraphic::draw(PainterInfo & pi, int x, int y) const
!loader_.monitoring()) !loader_.monitoring())
loader_.startMonitoring(); loader_.startMonitoring();
// This will draw the graphics. If the graphics has not been loaded yet, // This will draw the graphics. If the graphics has not been
// we draw just a rectangle. // loaded yet, we draw just a rectangle.
if (readyToDisplay(loader_)) { if (readyToDisplay(loader_)) {
pi.pain.image(x + InsetOld::TEXT_TO_INSET_OFFSET, pi.pain.image(x + InsetOld::TEXT_TO_INSET_OFFSET,

View File

@ -29,7 +29,7 @@ public:
/// compute the size of the object returned in dim /// compute the size of the object returned in dim
void metrics(MetricsInfo & mi, Dimension & dim) const; void metrics(MetricsInfo & mi, Dimension & dim) const;
/// draw inset and update (xo, yo)-cache /// draw inset
void draw(PainterInfo & pi, int x, int y) const; void draw(PainterInfo & pi, int x, int y) const;
/// Refresh the info about which file to display and how to display it. /// Refresh the info about which file to display and how to display it.