Add comment
Change-Id: Id3ec71e8da07a8bf1c979585eb84cd5a9d6f7a77
This commit is contained in:
@@ -426,6 +426,11 @@ void CTLayout::GetCaretPositions( int nMaxIndex, sal_Int32* pCaretXArray ) const
|
|||||||
|
|
||||||
bool CTLayout::GetBoundRect( SalGraphics& rGraphics, Rectangle& rVCLRect ) 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);
|
AquaSalGraphics& rAquaGraphics = static_cast<AquaSalGraphics&>(rGraphics);
|
||||||
|
|
||||||
#ifdef IOS
|
#ifdef IOS
|
||||||
|
Reference in New Issue
Block a user