Home | History | Annotate | Download | only in rendering

Lines Matching full:style

33     RenderStyle* style = m_renderer->style(m_firstLine);
34 Color textColor = style->color();
36 context->setFillColor(textColor, style->colorSpace());
38 if (style->textShadow()) {
39 context->setShadow(IntSize(style->textShadow()->x, style->textShadow()->y),
40 style->textShadow()->blur, style->textShadow()->color, style->colorSpace());
45 paintSelection(context, tx, ty, style, style->font());
50 context->setFillColor(foreground, style->colorSpace());
54 context->drawText(style->font(), TextRun(str.characters(), str.length(), false, 0, 0, false, style->visuallyOrdered()), IntPoint(m_x + tx, m_y + ty + style->font().ascent()));
58 context->setFillColor(textColor, style->colorSpace());
66 ty += m_y + style->font().ascent() - (m_markupBox->y() + m_markupBox->renderer()->style(m_firstLine)->font().ascent());
73 RenderStyle* style = m_renderer->style(m_firstLine);
74 const Font& f = style->font();
75 return enclosingIntRect(f.selectionRectForText(TextRun(m_str.characters(), m_str.length(), false, 0, 0, false, style->visuallyOrdered()),
79 void EllipsisBox::paintSelection(GraphicsContext* context, int tx, int ty, RenderStyle* style, const Font& font)
81 Color textColor = style->color();
95 context->drawHighlightForText(font, TextRun(m_str.characters(), m_str.length(), false, 0, 0, false, style->visuallyOrdered()),
96 IntPoint(m_x + tx, m_y + ty + y), h, c, style->colorSpace());
107 RenderStyle* style = m_renderer->style(m_firstLine);
109 int mty = ty + style->font().ascent() - (m_markupBox->y() + m_markupBox->renderer()->style(m_firstLine)->font().ascent());