Home
last modified time | relevance | path

Searched refs:baselineShift (Results 1 – 4 of 4) sorted by relevance

/external/webkit/WebCore/rendering/
DSVGCharacterLayoutInfo.cpp45 float baselineShift = 0.0f; in calculateBaselineShift() local
46 if (svgStyle->baselineShift() == BS_LENGTH) { in calculateBaselineShift()
48 baselineShift = primitive->getFloatValue(); in calculateBaselineShift()
51 baselineShift = baselineShift / 100.0f * font.pixelSize(); in calculateBaselineShift()
55 switch (svgStyle->baselineShift()) { in calculateBaselineShift()
59 baselineShift = -baselineAscent / 2.0f; in calculateBaselineShift()
62 baselineShift = baselineAscent / 2.0f; in calculateBaselineShift()
69 return baselineShift; in calculateBaselineShift()
280 float baselineShift = calculateBaselineShift(textPath); in addLayoutInformation() local
297 addStackContent(BaselineShiftStack, baselineShift); in addLayoutInformation()
[all …]
/external/webkit/WebCore/css/
DSVGCSSComputedStyleDeclaration.cpp149 switch (svgStyle->baselineShift()) { in getSVGPropertyCSSValue()
DSVGCSSStyleSelector.cpp138 HANDLE_INHERIT_AND_INITIAL(baselineShift, BaselineShift); in applySVGProperty()
/external/webkit/WebCore/rendering/style/
DSVGRenderStyle.h56 SVG_RS_DEFINE_ATTRIBUTE(EBaselineShift, BaselineShift, baselineShift, BS_BASELINE)