OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:viewBox
(Results
1 - 20
of
20
) sorted by null
/external/chromium_org/third_party/WebKit/Source/core/svg/
SVGFitToViewBox.idl
32
readonly attribute SVGAnimatedRect
viewBox
;
SVGViewSpec.cpp
44
viewBox
()->setReadOnly();
95
if (!
viewBox
())
98
return
viewBox
()->currentValue()->valueAsString();
SVGFitToViewBox.h
58
document.accessSVGExtensions().reportError("A negative value for
ViewBox
width is not allowed");
62
document.accessSVGExtensions().reportError("A negative value for
ViewBox
height is not allowed");
77
SVGAnimatedRect*
viewBox
() const { return m_viewBox.get(); }
SVGPatternElement.cpp
156
if (!attributes.hasViewBox() && element->
viewBox
()->isSpecified() && element->
viewBox
()->currentValue()->isValid())
157
attributes.setViewBox(element->
viewBox
()->currentValue()->value());
SVGSVGElement.cpp
614
return m_viewSpec ? m_viewSpec->
viewBox
()->currentValue()->value() : FloatRect();
616
FloatRect useViewBox =
viewBox
()->currentValue()->value();
624
// If no
viewBox
is specified but non-relative width/height values, then we
625
// should always synthesize a
viewBox
if we're embedded through a SVGImage.
744
view->
viewBox
()->baseValue()->setValue(viewElement->
viewBox
()->currentValue()->value());
746
view->
viewBox
()->baseValue()->setValue(
viewBox
()->currentValue()->value());
PatternAttributes.h
59
FloatRect
viewBox
() const { return m_viewBox; }
SVGMarkerElement.cpp
69
return SVGFitToViewBox::viewBoxToViewTransform(
viewBox
()->currentValue()->value(), preserveAspectRatio()->currentValue(), viewWidth, viewHeight);
/external/chromium_org/third_party/skia/src/svg/
SkSVGSymbol.cpp
14
SVG_ATTRIBUTE(
viewBox
)
SkSVGSVG.cpp
21
SVG_ATTRIBUTE(
viewBox
),
38
SkScalar
viewBox
[4];
45
SkParse::FindScalars(f_viewBox.c_str(),
viewBox
, 4);
47
box.fLeft = SkScalarDiv(
viewBox
[0], width);
48
box.fTop = SkScalarDiv(
viewBox
[1], height);
49
box.fRight = SkScalarDiv(
viewBox
[2], width);
50
box.fBottom = SkScalarDiv(
viewBox
[3], height);
/external/skia/src/svg/
SkSVGSymbol.cpp
14
SVG_ATTRIBUTE(
viewBox
)
SkSVGSVG.cpp
21
SVG_ATTRIBUTE(
viewBox
),
38
SkScalar
viewBox
[4];
45
SkParse::FindScalars(f_viewBox.c_str(),
viewBox
, 4);
47
box.fLeft = SkScalarDiv(
viewBox
[0], width);
48
box.fTop = SkScalarDiv(
viewBox
[1], height);
49
box.fRight = SkScalarDiv(
viewBox
[2], width);
50
box.fBottom = SkScalarDiv(
viewBox
[3], height);
/external/chromium_org/third_party/WebKit/Source/core/rendering/svg/
RenderSVGResourceMarker.cpp
137
// An empty
viewBox
disables rendering.
140
if (marker->hasAttribute(SVGNames::viewBoxAttr) && marker->
viewBox
()->currentValue()->isValid() && marker->
viewBox
()->currentValue()->value().isEmpty())
RenderSVGResourcePattern.cpp
66
// An empty
viewBox
disables rendering.
67
if (m_attributes.hasViewBox() && m_attributes.
viewBox
().isEmpty())
202
AffineTransform viewBoxCTM = SVGFitToViewBox::viewBoxToViewTransform(attributes.
viewBox
(), attributes.preserveAspectRatio(), patternBoundaries.width(), patternBoundaries.height());
204
// Apply
viewBox
/objectBoundingBox transformations.
RenderSVGRoot.cpp
87
// aspect ratio is calculated from the width and height values of the ?
viewBox
? specified for the current SVG document
88
// fragment. If the ?
viewBox
? is not correctly specified, or set to 'none', the intrinsic aspect ratio cannot be
90
FloatSize viewBoxSize = svg->
viewBox
()->currentValue()->value().size();
92
// The
viewBox
can only yield an intrinsic ratio, not an intrinsic size.
228
// An empty
viewBox
also disables rendering.
/external/chromium_org/third_party/WebKit/Source/core/svg/graphics/
SVGImage.cpp
335
intrinsicRatio = rootElement->
viewBox
()->currentValue()->value().size();
423
frame->view()->setCanHaveScrollbars(false); // SVG Images will always synthesize a
viewBox
, if it's not available, and thus never see scrollbars.
/cts/suite/cts/deviceTests/browserbench/assets/octane/
pdfjs.js
[
all
...]
/external/chromium_org/third_party/tcmalloc/chromium/src/
pprof
[
all
...]
/external/jemalloc/bin/
pprof
[
all
...]
/external/chromium_org/third_party/tcmalloc/vendor/src/
pprof
[
all
...]
/external/chromium_org/third_party/polymer/components-chromium/core-component-page/
core-component-page-extracted.js
409
svg.setAttribute('
viewBox
', '0 0 ' + this.iconSize + ' ' +
[
all
...]
Completed in 1110 milliseconds