Searched refs:zoomFactor (Results 1 - 25 of 47) sorted by relevance

12

/macosx-10.9.5/WebCore-7537.78.1/platform/mac/
H A DThemeMac.h44 virtual FontDescription controlFont(ControlPart, const Font&, float zoomFactor) const;
46 virtual LengthSize controlSize(ControlPart, const Font&, const LengthSize&, float zoomFactor) const;
47 virtual LengthSize minimumControlSize(ControlPart, const Font&, float zoomFactor) const;
49 virtual LengthBox controlPadding(ControlPart, const Font&, const LengthBox& zoomedBox, float zoomFactor) const;
50 virtual LengthBox controlBorder(ControlPart, const Font&, const LengthBox& zoomedBox, float zoomFactor) const;
54 virtual void paint(ControlPart, ControlStates, GraphicsContext*, const IntRect&, float zoomFactor, ScrollView*) const;
55 virtual void inflateControlPaintRect(ControlPart, ControlStates, IntRect&, float zoomFactor) const;
H A DThemeMac.mm124 static LengthSize sizeFromNSControlSize(NSControlSize nsControlSize, const LengthSize& zoomedSize, float zoomFactor, const IntSize* sizes)
127 if (zoomFactor != 1.0f)
128 controlSize = IntSize(controlSize.width() * zoomFactor, controlSize.height() * zoomFactor);
137 static LengthSize sizeFromFont(const Font& font, const LengthSize& zoomedSize, float zoomFactor, const IntSize* sizes)
139 return sizeFromNSControlSize(controlSizeForFont(font), zoomedSize, zoomFactor, sizes);
142 static ControlSize controlSizeFromPixelSize(const IntSize* sizes, const IntSize& minZoomedSize, float zoomFactor)
144 if (minZoomedSize.width() >= static_cast<int>(sizes[NSRegularControlSize].width() * zoomFactor) &&
145 minZoomedSize.height() >= static_cast<int>(sizes[NSRegularControlSize].height() * zoomFactor))
147 if (minZoomedSize.width() >= static_cast<int>(sizes[NSSmallControlSize].width() * zoomFactor)
[all...]
/macosx-10.9.5/WebCore-7537.78.1/css/
H A DTransformFunctions.cpp91 float zoomFactor = style ? style->effectiveZoom() : 1; local
168 ty = convertToFloatLength(firstValue, style, rootStyle, zoomFactor);
170 tx = convertToFloatLength(firstValue, style, rootStyle, zoomFactor);
174 ty = convertToFloatLength(secondValue, style, rootStyle, zoomFactor);
191 tz = convertToFloatLength(firstValue, style, rootStyle, zoomFactor);
193 ty = convertToFloatLength(firstValue, style, rootStyle, zoomFactor);
195 tx = convertToFloatLength(firstValue, style, rootStyle, zoomFactor);
199 tz = convertToFloatLength(thirdValue, style, rootStyle, zoomFactor);
203 ty = convertToFloatLength(secondValue, style, rootStyle, zoomFactor);
276 double e = zoomFactor * static_cas
[all...]
H A DCSSToStyleMap.cpp207 float zoomFactor = style()->effectiveZoom(); local
215 firstLength = first->convertToLength<AnyConversion>(style(), rootElementStyle(), zoomFactor);
216 secondLength = second->convertToLength<AnyConversion>(style(), rootElementStyle(), zoomFactor);
218 firstLength = primitiveValue->convertToLength<AnyConversion>(style(), rootElementStyle(), zoomFactor);
240 float zoomFactor = style()->effectiveZoom(); local
251 length = primitiveValue->computeLength<Length>(style(), rootElementStyle(), zoomFactor);
255 length = Length(primitiveValue->cssCalcValue()->toCalcValue(style(), rootElementStyle(), zoomFactor));
276 float zoomFactor = style()->effectiveZoom(); local
287 length = primitiveValue->computeLength<Length>(style(), rootElementStyle(), zoomFactor);
291 length = Length(primitiveValue->cssCalcValue()->toCalcValue(style(), rootElementStyle(), zoomFactor));
[all...]
H A DStyleResolver.cpp2208 float zoomFactor = state.style()->effectiveZoom();
2459 int x = item->x->computeLength<int>(state.style(), state.rootElementStyle(), zoomFactor);
2460 int y = item->y->computeLength<int>(state.style(), state.rootElementStyle(), zoomFactor);
2461 int blur = item->blur ? item->blur->computeLength<int>(state.style(), state.rootElementStyle(), zoomFactor) : 0;
2462 int spread = item->spread ? item->spread->computeLength<int>(state.style(), state.rootElementStyle(), zoomFactor) : 0;
2492 reflection->setOffset(reflectValue->offset()->convertToLength<FixedIntegerConversion | PercentConversion | CalculatedConversion>(state.style(), state.rootElementStyle(), zoomFactor));
2583 width = CSSPrimitiveValue::create(result, CSSPrimitiveValue::CSS_EMS)->computeLength<float>(state.style(), state.rootElementStyle(), zoomFactor);
2587 width = primitiveValue->computeLength<float>(state.style(), state.rootElementStyle(), zoomFactor);
2613 perspectiveValue = primitiveValue->computeLength<float>(state.style(), state.rootElementStyle(), zoomFactor);
2616 perspectiveValue = CSSPrimitiveValue::create(primitiveValue->getDoubleValue(), CSSPrimitiveValue::CSS_PX)->computeLength<float>(state.style(), state.rootElementStyle(), zoomFactor);
3897 float zoomFactor = style ? style->effectiveZoom() : 1; local
[all...]
H A DCSSGradientValue.cpp399 float zoomFactor = style->effectiveZoom(); local
402 return value->getFloatValue() * zoomFactor;
426 return value->computeLength<float>(style, rootStyle, zoomFactor);
894 float zoomFactor = style->effectiveZoom(); local
898 result = radius->getFloatValue() * zoomFactor;
902 result = radius->computeLength<float>(style, rootStyle, zoomFactor);
/macosx-10.9.5/WebCore-7537.78.1/platform/
H A DTheme.h84 virtual FontDescription controlFont(ControlPart, const Font& font, float /*zoomFactor*/) const { return font.fontDescription(); }
87 virtual LengthSize controlSize(ControlPart, const Font&, const LengthSize& zoomedSize, float /*zoomFactor*/) const { return zoomedSize; }
90 virtual LengthSize minimumControlSize(ControlPart, const Font&, float /*zoomFactor*/) const { return LengthSize(Length(0, Fixed), Length(0, Fixed)); }
93 virtual LengthBox controlPadding(ControlPart, const Font&, const LengthBox& zoomedBox, float zoomFactor) const;
94 virtual LengthBox controlBorder(ControlPart, const Font&, const LengthBox& zoomedBox, float zoomFactor) const;
100 virtual void paint(ControlPart, ControlStates, GraphicsContext*, const IntRect& /*zoomedRect*/, float /*zoomFactor*/, ScrollView*) const { }
105 // amount is also scaled by the zoomFactor.
106 virtual void inflateControlPaintRect(ControlPart, ControlStates, IntRect& /*zoomedRect*/, float /*zoomFactor*/) const { }
/macosx-10.9.5/WebKit-7537.78.2/qt/WidgetApi/
H A Dqgraphicswebview.h45 Q_PROPERTY(qreal zoomFactor READ zoomFactor WRITE setZoomFactor)
69 qreal zoomFactor() const;
H A Dqwebview.h52 Q_PROPERTY(qreal zoomFactor READ zoomFactor WRITE setZoomFactor)
97 qreal zoomFactor() const;
H A Dqwebframe.h110 Q_PROPERTY(qreal zoomFactor READ zoomFactor WRITE setZoomFactor)
185 qreal zoomFactor() const;
H A Dqgraphicswebview.cpp578 \property QGraphicsWebView::zoomFactor
584 if (factor == page()->mainFrame()->zoomFactor())
590 qreal QGraphicsWebView::zoomFactor() const function in class:QGraphicsWebView
592 return page()->mainFrame()->zoomFactor();
H A Dqwebframe.cpp172 The zoomFactor() property can be used to change the overall size
683 return d->zoomFactor();
687 \property QWebFrame::zoomFactor
697 qreal QWebFrame::zoomFactor() const function in class:QWebFrame
699 return d->zoomFactor();
/macosx-10.9.5/WebKit2-7537.78.2/WebProcess/InjectedBundle/API/c/
H A DWKBundlePagePrivate.h45 WK_EXPORT void WKBundlePageSetTextZoomFactor(WKBundlePageRef page, double zoomFactor);
47 WK_EXPORT void WKBundlePageSetPageZoomFactor(WKBundlePageRef page, double zoomFactor);
H A DWKBundlePage.cpp283 void WKBundlePageSetTextZoomFactor(WKBundlePageRef pageRef, double zoomFactor) argument
285 toImpl(pageRef)->setTextZoomFactor(zoomFactor);
293 void WKBundlePageSetPageZoomFactor(WKBundlePageRef pageRef, double zoomFactor) argument
295 toImpl(pageRef)->setPageZoomFactor(zoomFactor);
/macosx-10.9.5/WebKit2-7537.78.2/UIProcess/API/mac/
H A DPDFViewController.h61 double zoomFactor() const;
H A DWKViewInternal.h80 - (void)_setCustomRepresentationZoomFactor:(double)zoomFactor;
/macosx-10.9.5/WebCore-7537.78.1/plugins/blackberry/
H A DPluginViewPrivateBlackBerry.cpp89 void PluginViewPrivate::setZoomFactor(float zoomFactor) argument
91 if (((NPSetWindowCallbackStruct*)m_view->m_npWindow.ws_info)->zoomFactor != zoomFactor)
94 ((NPSetWindowCallbackStruct*)m_view->m_npWindow.ws_info)->zoomFactor = zoomFactor;
H A DPluginViewBlackBerry.cpp121 bool zoomFactorChanged = ((NPSetWindowCallbackStruct*)m_npWindow.ws_info)->zoomFactor
204 draw.zoomFactor = ((NPSetWindowCallbackStruct*)m_npWindow.ws_info)->zoomFactor;
821 // FIXME: Passing zoomFactor to setwindow make windowed plugin scale incorrectly.
823 double oldZoomFactor = ((NPSetWindowCallbackStruct*)m_npWindow.ws_info)->zoomFactor;
824 ((NPSetWindowCallbackStruct*)m_npWindow.ws_info)->zoomFactor = 1.;
826 ((NPSetWindowCallbackStruct*)m_npWindow.ws_info)->zoomFactor = oldZoomFactor;
925 *(static_cast<void**>(value)) = static_cast<void*>(&((static_cast<NPSetWindowCallbackStruct*>(m_npWindow.ws_info)))->zoomFactor);
1092 ((NPSetWindowCallbackStruct*)m_npWindow.ws_info)->zoomFactor = 1.;
/macosx-10.9.5/WebCore-7537.78.1/html/
H A DHTMLBodyElement.cpp253 float zoomFactor = frame->pageZoomFactor() * frame->frameScaleFactor(); local
254 if (zoomFactor == 1)
257 if (zoomFactor > 1)
259 return static_cast<int>(value / zoomFactor);
H A DHTMLAreaElement.cpp111 float zoomFactor = obj->style()->effectiveZoom(); local
112 if (zoomFactor != 1.0f) {
114 zoomTransform.scale(zoomFactor);
/macosx-10.9.5/WebCore-7537.78.1/inspector/front-end/
H A DOverviewGrid.js130 * @param {!number} zoomFactor
133 zoom: function(zoomFactor, referencePoint)
135 this._window._zoom(zoomFactor, referencePoint);
375 const zoomFactor = 1.1;
380 this._zoom(Math.pow(zoomFactor, -event.wheelDeltaY * mouseWheelZoomSpeed), referencePoint);
/macosx-10.9.5/WebCore-7537.78.1/rendering/
H A DRenderTheme.cpp1003 float zoomFactor = o->style()->effectiveZoom(); local
1019 tickRect.setWidth(floor(tickSize.width() * zoomFactor));
1020 tickRect.setHeight(floor(tickSize.height() * zoomFactor));
1021 tickRect.setY(floor(rect.y() + rect.height() / 2.0 + sliderTickOffsetFromTrackCenter() * zoomFactor));
1022 tickRegionSideMargin = trackBounds.x() + (thumbSize.width() - tickSize.width() * zoomFactor) / 2.0;
1025 tickRect.setWidth(floor(tickSize.height() * zoomFactor));
1026 tickRect.setHeight(floor(tickSize.width() * zoomFactor));
1027 tickRect.setX(floor(rect.x() + rect.width() / 2.0 + sliderTickOffsetFromTrackCenter() * zoomFactor));
1028 tickRegionSideMargin = trackBounds.y() + (thumbSize.width() - tickSize.width() * zoomFactor) / 2.0;
/macosx-10.9.5/WebKit2-7537.78.2/UIProcess/API/qt/
H A Dqquickwebview_p_p.h97 virtual qreal zoomFactor() const { return 1; } function in class:QQuickWebViewPrivate
230 qreal zoomFactor() const;
/macosx-10.9.5/WebCore-7537.78.1/svg/
H A DSVGSVGElement.cpp452 float zoomFactor = 1; local
460 zoomFactor = 1 / renderer->style()->effectiveZoom();
466 location.scale(zoomFactor, zoomFactor);
475 scrollOffset.scale(zoomFactor);
/macosx-10.9.5/WebCore-7537.78.1/html/shadow/
H A DSliderThumbElement.cpp155 float zoomFactor = style()->effectiveZoom(); local
156 if (zoomFactor != 1.0)
157 trackHeight *= zoomFactor;

Completed in 166 milliseconds

12