Home
last modified time | relevance | path

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

/external/chromium_org/third_party/WebKit/Source/core/rendering/
DInlineTextBox.cpp689 … FontMetrics& fontMetrics, const InlineTextBox* inlineTextBox, const float textDecorationThickness) in computeUnderlineOffset() argument
704 gap = std::max<int>(1, ceilf(textDecorationThickness / 2.f)); in computeUnderlineOffset()
909 float textDecorationThickness = styleToUse->fontMetrics().underlineThickness(); in paintDecoration() local
911 if ((textDecorationThickness == 0.f) || (textDecorationThickness >= (fontHeightInt >> 1))) in paintDecoration()
912 textDecorationThickness = std::max(1.f, styleToUse->computedFontSize() / 10.f); in paintDecoration()
914 context->setStrokeThickness(textDecorationThickness); in paintDecoration()
920 float doubleOffset = textDecorationThickness + 1.f; in paintDecoration()
923 …set(styleToUse->textUnderlinePosition(), styleToUse->fontMetrics(), this, textDecorationThickness); in paintDecoration()
924 …oatPoint(0, underlineOffset), width, doubleOffset, 1, underline, textDecorationThickness, antialia… in paintDecoration()
927 …oration(context, localOrigin, width, -doubleOffset, 1, overline, textDecorationThickness, antialia… in paintDecoration()
[all …]