Searched refs:nPreviewWidth (Results 1 – 3 of 3) sorted by relevance
120 sal_Int32 nPreviewWidth; in CalculatePreviewBoundingBox() local128 nPreviewWidth = rPageObjectSize.Width() in CalculatePreviewBoundingBox()130 nPreviewHeight = ::basegfx::fround(nPreviewWidth / nPageAspectRatio); in CalculatePreviewBoundingBox()139 nPreviewWidth = ::basegfx::fround(nPreviewHeight * nPageAspectRatio); in CalculatePreviewBoundingBox()140 rPageObjectSize.setWidth(nPreviewWidth in CalculatePreviewBoundingBox()148 nPreviewWidth = rPageObjectSize.Width() in CalculatePreviewBoundingBox()152 if (double(nPreviewWidth)/double(nPreviewHeight) > nPageAspectRatio) in CalculatePreviewBoundingBox() local153 nPreviewWidth = ::basegfx::fround(nPreviewHeight * nPageAspectRatio); in CalculatePreviewBoundingBox()155 nPreviewHeight = ::basegfx::fround(nPreviewWidth / nPageAspectRatio); in CalculatePreviewBoundingBox()160 - gnOuterBorderWidth - nPreviewWidth - nFocusIndicatorWidth - 1); in CalculatePreviewBoundingBox()[all …]
58 static int nPreviewWidth = 0; variable62 nPreviewWidth = nWidth; in SetJpegPreviewSizeHint()112 if( nPreviewWidth || nPreviewHeight ) in ReadJPEG()114 if( nPreviewWidth == 0 ) { in ReadJPEG()115 nPreviewWidth = ( cinfo.image_width*nPreviewHeight )/cinfo.image_height; in ReadJPEG()116 if( nPreviewWidth <= 0 ) in ReadJPEG()117 nPreviewWidth = 1; in ReadJPEG()119 nPreviewHeight = ( cinfo.image_height*nPreviewWidth )/cinfo.image_width; in ReadJPEG()126 if( cinfo.image_width < nPreviewWidth * cinfo.scale_denom ) in ReadJPEG()
1292 double nPreviewWidth; in Update() local1306 nPreviewWidth = gnPreferredPreviewWidth; in Update()1308 / (nPreviewWidth+gnPreferredHorizontalPreviewGap)); in Update()1318 nPreviewWidth = nWidth - gnMinimalHorizontalPreviewGap; in Update()1326 nPreviewWidth = gnPreferredPreviewWidth; in Update()1328 / (nPreviewWidth+gnPreferredHorizontalPreviewGap)); in Update()1329 mnHorizontalGap = round((nWidth - mnColumnCount*nPreviewWidth) / mnColumnCount); in Update()1340 nPreviewWidth = (nWidth - mnColumnCount*mnHorizontalGap) / mnColumnCount; in Update()1346 nPreviewWidth = (nWidth - mnColumnCount*mnHorizontalGap) / mnColumnCount; in Update()1351 nPreviewWidth = gnPreferredPreviewWidth; in Update()[all …]
Completed in 26 milliseconds