Home | History | Annotate | Download | only in rendering

Lines Matching defs:baseline

473     int baseline = renderer()->style(m_firstLine)->font().ascent();
474 IntPoint textOrigin(m_x + tx, m_y + ty + baseline);
672 int baseline = renderer()->style(m_firstLine)->font().ascent();
678 IntRect clipRect(tx, ty, width, baseline + 2);
680 IntRect shadowRect(tx, ty, width, baseline + 2);
688 extraOffset += baseline + 2;
711 // Leave one pixel of white between the baseline and the underline.
712 context->drawLineForText(IntPoint(tx, ty + baseline + 1), width, isPrinting);
722 context->drawLineForText(IntPoint(tx, ty + 2 * baseline / 3), width, isPrinting);
783 // we pin to two pixels under the baseline.
785 baseline = renderer()->style(m_firstLine)->font().ascent();
786 int descent = height() - baseline;
792 // In larger fonts, though, place the underline up near the baseline to prevent a big gap.
793 underlineOffset = baseline + 2;
936 // Thick marked text underlines are 2px thick as long as there is room for the 2px line under the baseline.
940 int baseline = renderer()->style(m_firstLine)->font().ascent();
941 if (underline.thick && height() - baseline >= 2)