Add comment

Change-Id: Id3ec71e8da07a8bf1c979585eb84cd5a9d6f7a77
This commit is contained in:
Tor Lillqvist 2013-06-19 15:25:26 +03:00
parent b9c46f46ce
commit 47dca10811

View File

@ -426,6 +426,11 @@ void CTLayout::GetCaretPositions( int nMaxIndex, sal_Int32* pCaretXArray ) const
bool CTLayout::GetBoundRect( SalGraphics& rGraphics, Rectangle& rVCLRect ) const
{
// Closely mimic DrawText(), except that instead of calling
// CTLineDraw() to draw the line, we call CTLineGetImageBounds()
// to get its bounds. But all the coordinate system manipulation
// before that is the same => should be factored out?
AquaSalGraphics& rAquaGraphics = static_cast<AquaSalGraphics&>(rGraphics);
#ifdef IOS