Searched refs:aVirtWindow (Results 1 – 2 of 2) sorted by relevance
400 VirtualDevice aVirtWindow( *Application::GetDefaultDevice() ); in CalcOutputFactor() local401 aVirtWindow.SetMapMode(MAP_PIXEL); in CalcOutputFactor()402 pPattern->GetFont(aDefFont, SC_AUTOCOL_BLACK, &aVirtWindow); // font color doesn't matter here in CalcOutputFactor()403 aVirtWindow.SetFont(aDefFont); in CalcOutputFactor()404 nWindowWidth = aVirtWindow.GetTextWidth(aTestString); in CalcOutputFactor()
616 VirtualDevice aVirtWindow( *pDefaultDev ); in InitTextHeight() local617 aVirtWindow.SetMapMode(MAP_PIXEL); in InitTextHeight()619 pPattern->GetFont(aDefFont, SC_AUTOCOL_BLACK, &aVirtWindow); // font color doesn't matter here in InitTextHeight()620 aVirtWindow.SetFont(aDefFont); in InitTextHeight()621 nDefFontHeight = (sal_uInt16) aVirtWindow.PixelToLogic(Size(0, aVirtWindow.GetTextHeight()), in InitTextHeight()
Completed in 30 milliseconds