/aoo41x/main/vcl/source/gdi/ |
H A D | virdev.cxx | 356 sal_Int32 nDPIX = 600, nDPIY = 600; in SetReferenceDevice() local 364 nDPIX = nDPIY = 600; in SetReferenceDevice() 367 nDPIX = nDPIY = 4800; in SetReferenceDevice() 370 nDPIX = nDPIY = 6*1440; in SetReferenceDevice() 373 nDPIX = nDPIY = 720; in SetReferenceDevice() 376 ImplSetReferenceDevice( i_eRefDevMode, nDPIX, nDPIY ); in SetReferenceDevice()
|
H A D | outmap.cxx | 120 static void ImplCalcBigIntThreshold( long nDPIX, long nDPIY, in ImplCalcBigIntThreshold() argument 149 if ( nDPIY && (LONG_MAX / nDPIY < Abs( rMapRes.mnMapScNumY ) ) ) // #111139# avoid div by zero in ImplCalcBigIntThreshold() 159 long nProductY = nDPIY * rMapRes.mnMapScNumY; in ImplCalcBigIntThreshold() 185 long nDPIX, long nDPIY, ImplMapRes& rMapRes ) in ImplCalcMapResolution() argument 255 rMapRes.mnMapScDenomY = nDPIY; in ImplCalcMapResolution() 279 rMapRes.mnMapScDenomY = nDPIY * 80; in ImplCalcMapResolution() 368 long nDPIX, long nDPIY, in ImplCalcMapResolution() argument 372 ImplCalcMapResolution( rMapMode, nDPIX, nDPIY, rMapRes ); in ImplCalcMapResolution() 373 ImplCalcBigIntThreshold( nDPIX, nDPIY, rMapRes, rThresRes ); in ImplCalcMapResolution()
|
H A D | gdimtf.cxx | 841 void GDIMetaFile::Move( long nX, long nY, long nDPIX, long nDPIY ) in Move() argument 848 aMapVDev.SetReferenceDevice( nDPIX, nDPIY ); in Move()
|
/aoo41x/main/vcl/aqua/source/gdi/ |
H A D | salprn.cxx | 128 long nDPIX = 720, nDPIY = 720; in SetupPrinterGraphics() local 141 CGContextScaleCTM( i_rContext, 72.0/double(nDPIX), -(72.0/double(nDPIY)) ); in SetupPrinterGraphics() 155 CGContextScaleCTM( i_rContext, -(72.0/double(nDPIY)), (72.0/double(nDPIX)) ); in SetupPrinterGraphics() 157 mpGraphics->SetPrinterGraphics( i_rContext, nDPIX, nDPIY, 1.0 ); in SetupPrinterGraphics() 415 sal_Int32 nDPIX = 72, nDPIY = 72; in GetPageInfo() local 416 mpGraphics->GetResolution( nDPIX, nDPIY ); in GetPageInfo() 418 fYScaling = static_cast<double>(nDPIY)/72.0; in GetPageInfo()
|
H A D | salgdiutils.cxx | 55 void AquaSalGraphics::SetPrinterGraphics( CGContextRef xContext, long nDPIX, long nDPIY, double fSc… in SetPrinterGraphics() argument 64 mnRealDPIY = nDPIY; in SetPrinterGraphics()
|
/aoo41x/main/vcl/aqua/source/window/ |
H A D | salframe.cxx | 1208 static Font getFont( NSFont* pFont, long nDPIY, const Font& rDefault ) in getFont() argument 1214 aResult.SetHeight( static_cast<int>(([pFont pointSize] * 72.0 / (float)nDPIY)+0.5) ); in getFont() 1267 sal_Int32 nDPIX = 72, nDPIY = 72; in UpdateSettings() local 1268 getResolution( nDPIX, nDPIY ); in UpdateSettings() 1269 aAppFont = getFont( [NSFont systemFontOfSize: 0], nDPIY, aAppFont ); in UpdateSettings() 1276 Font aTitleFont( getFont( [NSFont titleBarFontOfSize: 0], nDPIY, aAppFont ) ); in UpdateSettings() 1280 Font aMenuFont( getFont( [NSFont menuFontOfSize: 0], nDPIY, aAppFont ) ); in UpdateSettings() 1285 Font aLabelFont( getFont( [NSFont labelFontOfSize: 0], nDPIY, aAppFont ) ); in UpdateSettings()
|
/aoo41x/main/vcl/win/source/gdi/ |
H A D | salgdi3.cxx | 1033 long nDPIY = GetDeviceCaps( hDC, LOGPIXELSY ); in ImplSalLogFontToFontA() local 1034 if( !nDPIY ) in ImplSalLogFontToFontA() 1035 nDPIY = 600; in ImplSalLogFontToFontA() 1037 nFontHeight += nDPIY/2; in ImplSalLogFontToFontA() 1038 nFontHeight /= nDPIY; in ImplSalLogFontToFontA() 1072 long nDPIY = GetDeviceCaps( hDC, LOGPIXELSY ); in ImplSalLogFontToFontW() local 1073 if( !nDPIY ) in ImplSalLogFontToFontW() 1074 nDPIY = 600; in ImplSalLogFontToFontW() 1076 nFontHeight += nDPIY/2; in ImplSalLogFontToFontW() 1077 nFontHeight /= nDPIY; in ImplSalLogFontToFontW()
|
/aoo41x/main/vcl/os2/source/gdi/ |
H A D | salgdi.cxx | 159 long nDPIX = 72, nDPIY = 72; in GetResolution() local 161 DevQueryCaps( mhDC, CAPS_VERTICAL_FONT_RES, 1, &nDPIY ); in GetResolution() 163 rDPIY = nDPIY; in GetResolution()
|
/aoo41x/main/vcl/inc/vcl/ |
H A D | gdimtf.hxx | 158 void Move( long nX, long nY, long nDPIX, long nDPIY );
|
H A D | window.hxx | 730 void GetFontResolution( sal_Int32& nDPIX, sal_Int32& nDPIY ) const;
|
/aoo41x/main/vcl/win/source/window/ |
H A D | salframe.cxx | 3056 long nDPIY = GetDeviceCaps( hDC, LOGPIXELSY ); in UpdateSettings() local 3060 long nHeightPx = aMenuFont.GetHeight() * nDPIY / 72; in UpdateSettings()
|
/aoo41x/main/vcl/source/window/ |
H A D | window.cxx | 6024 void Window::GetFontResolution( sal_Int32& nDPIX, sal_Int32& nDPIY ) const in GetFontResolution() 6029 nDPIY = mpWindowImpl->mpFrameData->mnDPIY; in GetFontResolution()
|