Searched refs:nPreviewHeight (Results 1 – 3 of 3) sorted by relevance
121 sal_Int32 nPreviewHeight; in CalculatePreviewBoundingBox() local130 nPreviewHeight = ::basegfx::fround(nPreviewWidth / nPageAspectRatio); in CalculatePreviewBoundingBox()131 rPageObjectSize.setHeight(nPreviewHeight + 2*gnOuterBorderWidth + 2*nFocusIndicatorWidth + 1); in CalculatePreviewBoundingBox()138 nPreviewHeight = rPageObjectSize.Height() - 2*gnOuterBorderWidth - 2*nFocusIndicatorWidth - 1; in CalculatePreviewBoundingBox()139 nPreviewWidth = ::basegfx::fround(nPreviewHeight * nPageAspectRatio); in CalculatePreviewBoundingBox()150 nPreviewHeight = rPageObjectSize.Height() in CalculatePreviewBoundingBox()152 if (double(nPreviewWidth)/double(nPreviewHeight) > nPageAspectRatio) in CalculatePreviewBoundingBox()153 nPreviewWidth = ::basegfx::fround(nPreviewHeight * nPageAspectRatio); in CalculatePreviewBoundingBox()155 nPreviewHeight = ::basegfx::fround(nPreviewWidth / nPageAspectRatio); in CalculatePreviewBoundingBox()161 const int nTop ((rPageObjectSize.Height() - nPreviewHeight)/2); in CalculatePreviewBoundingBox()[all …]
59 static int nPreviewHeight = 0; variable63 nPreviewHeight = nHeight; in SetJpegPreviewSizeHint()112 if( nPreviewWidth || nPreviewHeight ) in ReadJPEG()115 nPreviewWidth = ( cinfo.image_width*nPreviewHeight )/cinfo.image_height; in ReadJPEG()118 } else if( nPreviewHeight == 0 ) { in ReadJPEG()119 nPreviewHeight = ( cinfo.image_height*nPreviewWidth )/cinfo.image_width; in ReadJPEG()120 if( nPreviewHeight <= 0 ) in ReadJPEG()121 nPreviewHeight = 1; in ReadJPEG()128 if( cinfo.image_height < nPreviewHeight * cinfo.scale_denom ) in ReadJPEG()
1357 const double nPreviewHeight = nPreviewWidth / nSlideAspectRatio; in Update() local1361 / (nPreviewHeight + gnPreferredVerticalPreviewGap)))); in Update()1364 maPreviewSize = geometry::IntegerSize2D(floor(nPreviewWidth), floor(nPreviewHeight)); in Update()
Completed in 201 milliseconds