Home | History | Annotate | Download | only in rendering

Lines Matching full:style

52         Length legendMarginLeft = legend->style()->marginLeft();
53 Length legendMarginRight = legend->style()->marginLeft();
74 if (style()->direction() == RTL) {
75 switch (legend->style()->textAlign()) {
86 switch (legend->style()->textAlign()) {
136 paintBoxShadow(paintInfo.context, tx, ty, w, h, style(), Normal);
138 paintFillLayers(paintInfo, style()->backgroundColor(), style()->backgroundLayers(), tx, ty, w, h);
139 paintBoxShadow(paintInfo.context, tx, ty, w, h, style(), Inset);
141 if (!style()->hasBorder())
145 if (!style()->hasBorderRadius())
146 return paintBorderMinusLegend(paintInfo.context, tx, ty, w, h, style(), legend->x(), legend->width(), legendBottom);
154 int clipHeight = max(static_cast<int>(style()->borderTopWidth()), legend->height());
158 paintBorder(paintInfo.context, tx, ty, w, h, style(), true, true);
165 if (style()->visibility() != VISIBLE || paintInfo.phase != PaintPhaseMask)
182 const RenderStyle* style, int lx, int lw, int lb)
184 const Color& tc = style->borderTopColor();
185 const Color& bc = style->borderBottomColor();
187 EBorderStyle ts = style->borderTopStyle();
188 EBorderStyle bs = style->borderBottomStyle();
189 EBorderStyle ls = style->borderLeftStyle();
190 EBorderStyle rs = style->borderRightStyle();
197 int borderLeftWidth = style->borderLeftWidth();
198 int borderRightWidth = style->borderRightWidth();
202 drawLineForBoxSide(graphicsContext, tx, ty, tx + min(lx, w), ty + style->borderTopWidth(), BSTop, tc, style->color(), ts,
206 drawLineForBoxSide(graphicsContext, tx + max(0, lx + lw), ty, tx + w, ty + style->borderTopWidth(), BSTop, tc, style->color(), ts,
212 drawLineForBoxSide(graphicsContext, tx, ty + h - style->borderBottomWidth(), tx + w, ty + h, BSBottom, bc, style->color(), bs,
213 (render_l && (ls == DOTTED || ls == DASHED || ls == DOUBLE) ? style->borderLeftWidth() : 0),
214 (render_r && (rs == DOTTED || rs == DASHED || rs == DOUBLE) ? style->borderRightWidth() : 0));
217 const Color& lc = style->borderLeftColor();
236 drawLineForBoxSide(graphicsContext, tx, startY, tx + borderLeftWidth, ty + h, BSLeft, lc, style->color(), ls,
237 ignore_top ? 0 : style->borderTopWidth(), ignore_bottom ? 0 : style->borderBottomWidth());
241 const Color& rc = style->borderRightColor();
260 drawLineForBoxSide(graphicsContext, tx + w - borderRightWidth, startY, tx + w, ty + h, BSRight, rc, style->color(), rs,
261 ignore_top ? 0 : style->borderTopWidth(), ignore_bottom ? 0 : style->borderBottomWidth());