Home
last modified time | relevance | path

Searched refs:aspectRatio (Results 1 – 25 of 1620) sorted by relevance

12345678910>>...65

/dports/graphics/digikam/digikam-7.4.0/core/dplugins/generic/tools/printcreator/tools/
H A Datkinspagelayouttree.cpp75 int AtkinsPageLayoutTree::addImage(double aspectRatio, in addImage() argument
82 m_root = new AtkinsPageLayoutNode(aspectRatio, in addImage()
191 double minRatioPage = root->aspectRatio() < m_aspectRatioPage ? root->aspectRatio() in score()
193 double maxRatioPage = root->aspectRatio() > m_aspectRatioPage ? root->aspectRatio() in score()
210 double minRatioPage = m_root->aspectRatio() < m_aspectRatioPage ? m_root->aspectRatio() in absoluteArea()
212 double maxRatioPage = m_root->aspectRatio() > m_aspectRatioPage ? m_root->aspectRatio() in absoluteArea()
252 m_root->aspectRatio(), in drawingArea()
297 return rectInRect(absoluteRect, node->aspectRatio(), absoluteArea(node)); in drawingArea()
301 double aspectRatio, in rectInRect() argument
304 double width = std::sqrt(absoluteArea / aspectRatio); in rectInRect()
[all …]
/dports/cad/sweethome3d/SweetHome3D-6.6.4-src/src/com/eteks/sweethome3d/viewcontroller/
H A DAbstractPhotoController.java48 private AspectRatio aspectRatio; field in AbstractPhotoController
144 public void setAspectRatio(AspectRatio aspectRatio) { in setAspectRatio() argument
145 if (this.aspectRatio != aspectRatio) { in setAspectRatio()
146 AspectRatio oldAspectRatio = this.aspectRatio; in setAspectRatio()
147 this.aspectRatio = aspectRatio; in setAspectRatio()
150 if (this.aspectRatio == AspectRatio.VIEW_3D_RATIO) { in setAspectRatio()
154 } else if (this.aspectRatio.getValue() != null) { in setAspectRatio()
164 return this.aspectRatio; in getAspectRatio()
184 } else if (this.aspectRatio.getValue() != null) { in setWidth()
216 } else if (this.aspectRatio.getValue() != null) { in setHeight()
[all …]
H A DVideoController.java51 private AspectRatio aspectRatio; field in VideoController
158 public void setAspectRatio(AspectRatio aspectRatio) { in setAspectRatio() argument
159 if (this.aspectRatio != aspectRatio) { in setAspectRatio()
160 AspectRatio oldAspectRatio = this.aspectRatio; in setAspectRatio()
161 this.aspectRatio = aspectRatio; in setAspectRatio()
162 …ropertyChangeSupport.firePropertyChange(Property.ASPECT_RATIO.name(), oldAspectRatio, aspectRatio); in setAspectRatio() local
163 this.home.getEnvironment().setVideoAspectRatio(this.aspectRatio); in setAspectRatio()
164 setHeight(Math.round(this.width / this.aspectRatio.getValue()), false); in setAspectRatio()
172 return this.aspectRatio; in getAspectRatio()
207 setHeight(Math.round(width / this.aspectRatio.getValue()), false); in setWidth()
[all …]
/dports/www/chromium-legacy/chromium-88.0.4324.182/chrome/android/feed/core/java/src/org/chromium/chrome/browser/feed/library/piet/ui/
H A DAspectRatioScalingImageView.java20 public void setDefaultAspectRatio(float aspectRatio) { in setDefaultAspectRatio() argument
21 mDefaultAspectRatio = aspectRatio; in setDefaultAspectRatio()
40 float aspectRatio; in onMeasure() local
43 aspectRatio = ((float) drawable.getIntrinsicWidth()) / drawable.getIntrinsicHeight(); in onMeasure()
45 aspectRatio = mDefaultAspectRatio; in onMeasure()
51 float inverseAspectRatio = 1 / aspectRatio; in onMeasure()
61 measuredWidth = aspectRatioScaleWidth(measuredHeight, aspectRatio); in onMeasure()
73 Math.min(aspectRatioScaleWidth(measuredHeight, aspectRatio), measuredWidth); in onMeasure()
78 int desiredWidth = aspectRatioScaleWidth(measuredHeight, aspectRatio); in onMeasure()
91 private int aspectRatioScaleWidth(int constrainingHeight, float aspectRatio) { in aspectRatioScaleWidth() argument
[all …]
/dports/graphics/kipi-plugins/kipi-plugins-21.12.3/printimages/tools/
H A Dlayouttree.cpp40 LayoutNode::LayoutNode(double aspectRatio, double relativeArea, int index) in LayoutNode() argument
41 : m_a(aspectRatio), in LayoutNode()
217 int LayoutTree::addImage(double aspectRatio, double relativeArea) in addImage() argument
223 m_root = new LayoutNode(aspectRatio, relativeArea, index); in addImage()
301 …double minRatioPage = root->aspectRatio() < m_aspectRatioPage ? root->aspectRatio() : m_aspectRati… in score()
302 …double maxRatioPage = root->aspectRatio() > m_aspectRatioPage ? root->aspectRatio() : m_aspectRati… in score()
317 …double minRatioPage = m_root->aspectRatio() < m_aspectRatioPage ? m_root->aspectRatio() : m_as… in absoluteArea()
318 …double maxRatioPage = m_root->aspectRatio() > m_aspectRatioPage ? m_root->aspectRatio() : m_as… in absoluteArea()
390 return rectInRect(absoluteRect, node->aspectRatio(), absoluteArea(node)); in drawingArea()
397 double width = std::sqrt(absoluteArea / aspectRatio); in rectInRect()
[all …]
/dports/converters/wkhtmltopdf/qt-5db36ec/src/3rdparty/webkit/Source/WebCore/svg/
H A DSVGPreserveAspectRatio.cpp62 SVGPreserveAspectRatio aspectRatio; in parsePreserveAspectRatio() local
63 aspectRatio.m_align = SVG_PRESERVEASPECTRATIO_NONE; in parsePreserveAspectRatio()
64 aspectRatio.m_meetOrSlice = SVG_MEETORSLICE_MEET; in parsePreserveAspectRatio()
110 aspectRatio.m_align = SVG_PRESERVEASPECTRATIO_XMIDYMAX; in parsePreserveAspectRatio()
118 aspectRatio.m_align = SVG_PRESERVEASPECTRATIO_XMAXYMIN; in parsePreserveAspectRatio()
124 aspectRatio.m_align = SVG_PRESERVEASPECTRATIO_XMAXYMAX; in parsePreserveAspectRatio()
143 if (aspectRatio.m_align != SVG_PRESERVEASPECTRATIO_NONE) in parsePreserveAspectRatio()
144 aspectRatio.m_meetOrSlice = SVG_MEETORSLICE_SLICE; in parsePreserveAspectRatio()
151 aspectRatio.m_align = SVG_PRESERVEASPECTRATIO_NONE; in parsePreserveAspectRatio()
152 aspectRatio.m_meetOrSlice = SVG_MEETORSLICE_MEET; in parsePreserveAspectRatio()
[all …]
/dports/x11/xfce4-dashboard/xfdashboard-0.8.1/libxfdashboard/
H A Dfill-box-layout.c90 gfloat aspectRatio; in _xfdashboard_fill_box_layout_get_largest_sizes() local
126 aspectRatio=1.0f; in _xfdashboard_fill_box_layout_get_largest_sizes()
195 gfloat aspectRatio; in _xfdashboard_fill_box_layout_get_sizes_for_all() local
291 aspectRatio=1.0f; in _xfdashboard_fill_box_layout_get_sizes_for_all()
298 aspectRatio=minWidth/minHeight; in _xfdashboard_fill_box_layout_get_sizes_for_all()
300 minWidth=minHeight*aspectRatio; in _xfdashboard_fill_box_layout_get_sizes_for_all()
407 gfloat aspectRatio; in _xfdashboard_fill_box_layout_allocate() local
451 aspectRatio=w/h; in _xfdashboard_fill_box_layout_allocate()
453 w=h*aspectRatio; in _xfdashboard_fill_box_layout_allocate()
457 aspectRatio=h/w; in _xfdashboard_fill_box_layout_allocate()
[all …]
/dports/www/owncloud/owncloud/apps/files_external/3rdparty/google/apiclient-services/src/Google/Service/HangoutsChat/
H A DGoogleAppsCardV1ImageCropStyle.php20 public $aspectRatio; variable in Google_Service_HangoutsChat_GoogleAppsCardV1ImageCropStyle
23 public function setAspectRatio($aspectRatio) argument
25 $this->aspectRatio = $aspectRatio;
29 return $this->aspectRatio;
H A DImage.php20 public $aspectRatio; variable in Google_Service_HangoutsChat_Image
25 public function setAspectRatio($aspectRatio) argument
27 $this->aspectRatio = $aspectRatio;
31 return $this->aspectRatio;
/dports/www/orangehrm/orangehrm-4.9/symfony/lib/vendor/google/apiclient-services/src/Google/Service/AdExchangeBuyer/
H A DPretargetingConfigVideoPlayerSizes.php20 public $aspectRatio; variable in Google_Service_AdExchangeBuyer_PretargetingConfigVideoPlayerSizes
24 public function setAspectRatio($aspectRatio) argument
26 $this->aspectRatio = $aspectRatio;
30 return $this->aspectRatio;
/dports/www/owncloud/owncloud/apps/files_external/3rdparty/google/apiclient-services/src/Google/Service/AdExchangeBuyer/
H A DPretargetingConfigVideoPlayerSizes.php20 public $aspectRatio; variable in Google_Service_AdExchangeBuyer_PretargetingConfigVideoPlayerSizes
24 public function setAspectRatio($aspectRatio) argument
26 $this->aspectRatio = $aspectRatio;
30 return $this->aspectRatio;
/dports/www/orangehrm/orangehrm-4.9/symfony/lib/vendor/google/apiclient-services/src/Google/Service/HangoutsChat/
H A DImage.php20 public $aspectRatio; variable in Google_Service_HangoutsChat_Image
25 public function setAspectRatio($aspectRatio) argument
27 $this->aspectRatio = $aspectRatio;
31 return $this->aspectRatio;
/dports/graphics/opencollada/OpenCOLLADA-1.6.68/dae2ma/src/
H A DDAE2MACameraImporter.cpp194 double aspectRatio = camera->getAspectRatio (); in setPerspectiveCameraAttributes() local
195 MayaDM::editCameraAspectRatio ( file, mayaCameraNode->getNodePath (), aspectRatio ); in setPerspectiveCameraAttributes()
203 double aspectRatio = camera->getAspectRatio (); in setPerspectiveCameraAttributes() local
204 MayaDM::editCameraAspectRatio ( file, mayaCameraNode->getNodePath (), aspectRatio ); in setPerspectiveCameraAttributes()
212 double aspectRatio = 1.0; in setPerspectiveCameraAttributes() local
213 MayaDM::editCameraAspectRatio ( file, mayaCameraNode->getNodePath (), aspectRatio ); in setPerspectiveCameraAttributes()
221 double aspectRatio = 1.0; in setPerspectiveCameraAttributes() local
222 MayaDM::editCameraAspectRatio ( file, mayaCameraNode->getNodePath (), aspectRatio ); in setPerspectiveCameraAttributes()
230 double aspectRatio = camera->getXFov () / camera->getYFov (); in setPerspectiveCameraAttributes() local
270 double aspectRatio = camera->getAspectRatio (); in setOrthographicCameraAttributes() local
[all …]
/dports/graphics/digikam/digikam-7.4.0/core/libs/metadataengine/containers/
H A Dvideoinfocontainer.cpp43 bool b1 = (aspectRatio == t.aspectRatio); in operator ==()
57 aspectRatio.isEmpty() && in isEmpty()
77 aspectRatio.isEmpty() && in isNull()
89 ds << info.aspectRatio; in operator <<()
102 ds >> info.aspectRatio; in operator >>()
116 << t.aspectRatio << ", "; in operator <<()
/dports/net-im/telegram-desktop/tdesktop-3.2.5-full/Telegram/ThirdParty/tgcalls/tgcalls/
H A DVideoCaptureInterfaceImpl.cpp108 void VideoCaptureInterfaceObject::setPreferredAspectRatio(float aspectRatio) { in setPreferredAspectRatio() argument
109 _preferredAspectRatio = aspectRatio; in setPreferredAspectRatio()
120 float aspectRatio = _preferredAspectRatio; in updateAspectRateAdaptation() local
122 float width = (originalWidth > aspectRatio * originalHeight) in updateAspectRateAdaptation()
123 ? int(std::round(aspectRatio * originalHeight)) in updateAspectRateAdaptation()
125 float height = (originalWidth > aspectRatio * originalHeight) in updateAspectRateAdaptation()
127 : int(std::round(originalHeight / aspectRatio)); in updateAspectRateAdaptation()
195 void VideoCaptureInterfaceImpl::setPreferredAspectRatio(float aspectRatio) { in setPreferredAspectRatio() argument
196 _impl.perform(RTC_FROM_HERE, [aspectRatio](VideoCaptureInterfaceObject *impl) { in setPreferredAspectRatio()
197 impl->setPreferredAspectRatio(aspectRatio); in setPreferredAspectRatio()
/dports/audio/ampache/ampache-php74-5.0.0/vendor/php-tmdb/api/lib/Tmdb/Model/
H A DImage.php34 private $aspectRatio; variable in Tmdb\\Model\\Image
74 * @param float $aspectRatio
77 public function setAspectRatio($aspectRatio) argument
79 $this->aspectRatio = (float) $aspectRatio;
89 return $this->aspectRatio;
/dports/audio/ampache/ampache-php74-5.0.0/vendor/sabre/xml/lib/Model/
H A DImage.php34 private $aspectRatio; variable in Tmdb\\Model\\Image
74 * @param float $aspectRatio
77 public function setAspectRatio($aspectRatio) argument
79 $this->aspectRatio = (float) $aspectRatio;
89 return $this->aspectRatio;
/dports/www/orangehrm/orangehrm-4.9/symfony/lib/vendor/google/apiclient-services/src/Google/Service/YouTube/
H A DVideoFileDetailsVideoStream.php20 public $aspectRatio; variable in Google_Service_YouTube_VideoFileDetailsVideoStream
29 public function setAspectRatio($aspectRatio) argument
31 $this->aspectRatio = $aspectRatio;
35 return $this->aspectRatio;
/dports/www/owncloud/owncloud/apps/files_external/3rdparty/google/apiclient-services/src/Google/Service/YouTube/
H A DVideoFileDetailsVideoStream.php20 public $aspectRatio; variable in Google_Service_YouTube_VideoFileDetailsVideoStream
29 public function setAspectRatio($aspectRatio) argument
31 $this->aspectRatio = $aspectRatio;
35 return $this->aspectRatio;
/dports/games/flightgear/flightgear-2020.3.11/utils/fgviewer/
H A DFrustum.hxx29 Frustum(const double& aspectRatio = 1) : in Frustum()
30 _left(-aspectRatio), in Frustum()
31 _right(aspectRatio), in Frustum()
102 void setAspectRatio(double aspectRatio) in setAspectRatio()
104 double aspectScale = aspectRatio/getAspectRatio(); in setAspectRatio()
112 double aspectRatio = getAspectRatio(); in setFieldOfViewRad() local
113 _left = -fieldOfView*aspectRatio*0.5*_near; in setFieldOfViewRad()
114 _right = fieldOfView*aspectRatio*0.5*_near; in setFieldOfViewRad()
/dports/graphics/reallyslick/rss-glx_0.9.1/src/
H A Dplasma.cpp36 float aspectRatio; variable
168 aspectRatio = float (XStuff->windowWidth) / float (XStuff->windowHeight); in hack_init()
170 if (aspectRatio >= 1.0f) { in hack_init()
173 high = wide / aspectRatio; in hack_init()
177 wide = high * aspectRatio; in hack_init()
181 if (aspectRatio >= 1.0f) in hack_init()
184 plasmaHeight = int (float (dResolution * MAXTEXSIZE) * aspectRatio * 0.01f); in hack_init()
186 plasmaWidth = int (float (plasmaHeight) / aspectRatio); in hack_init()
190 if (aspectRatio >= 1.0f) in hack_init()
199 textop = texright / aspectRatio; in hack_init()
[all …]
/dports/java/eclipse/eclipse.platform.releng.aggregator-R4_16/eclipse.platform.ua/org.eclipse.tips.core/src/org/eclipse/tips/core/internal/
H A DImageUtil.java34 public static int getHeight(double aspectRatio, int widthHint, int heightHint) { in getHeight() argument
35 return (int) Math.min(heightHint, widthHint / aspectRatio); in getHeight()
50 public static int getWidth(double aspectRatio, int widthHint, int heightHint) { in getWidth() argument
51 return (int) Math.min(widthHint, heightHint * aspectRatio); in getWidth()
/dports/math/psurface/psurface-2.0.0-13-gb5b6825/
H A DQualityRequest.h22 float aspectRatio; member
39 aspectRatio = 0.5; in QualityRequest()
44 float sum = aspectRatio + hausdorffDistance; in normalize()
45 aspectRatio /= sum; in normalize()
/dports/audio/ampache/ampache-php74-5.0.0/vendor/php-tmdb/api/lib/Tmdb/Helper/
H A DImageHelper.php80 $aspectRatio = $image->getAspectRatio();
82 if (null !== $width && null == $height && $aspectRatio !== null) {
83 $height = round($width / $aspectRatio);
86 if (null !== $height && null == $width && $aspectRatio !== null) {
87 $width = round($height * $aspectRatio);
/dports/audio/ampache/ampache-php74-5.0.0/vendor/sabre/xml/lib/Helper/
H A DImageHelper.php80 $aspectRatio = $image->getAspectRatio();
82 if (null !== $width && null == $height && $aspectRatio !== null) {
83 $height = round($width / $aspectRatio);
86 if (null !== $height && null == $width && $aspectRatio !== null) {
87 $width = round($height * $aspectRatio);

12345678910>>...65