Home
last modified time | relevance | path

Searched refs:nPreviewHeight (Results 1 – 3 of 3) sorted by relevance

/aoo41x/main/sd/source/ui/slidesorter/view/
H A DSlsPageObjectLayouter.cxx121 sal_Int32 nPreviewHeight; in CalculatePreviewBoundingBox() local
130 nPreviewHeight = ::basegfx::fround(nPreviewWidth / nPageAspectRatio); in CalculatePreviewBoundingBox()
131 … rPageObjectSize.setHeight(nPreviewHeight + 2*gnOuterBorderWidth + 2*nFocusIndicatorWidth + 1); in CalculatePreviewBoundingBox()
138nPreviewHeight = 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 …]
/aoo41x/main/svtools/source/filter/jpeg/
H A Djpegc.c59 static int nPreviewHeight = 0; variable
63 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()
/aoo41x/main/sdext/source/presenter/
H A DPresenterSlideSorter.cxx1357 const double nPreviewHeight = nPreviewWidth / nSlideAspectRatio; in Update() local
1361 / (nPreviewHeight + gnPreferredVerticalPreviewGap)))); in Update()
1364 maPreviewSize = geometry::IntegerSize2D(floor(nPreviewWidth), floor(nPreviewHeight)); in Update()

Completed in 43 milliseconds