Home | History | Annotate | Download | only in style

Lines Matching refs:surround

144     DataRef<StyleSurroundData> surround;
344 bool hasMargin() const { return surround->margin.nonZero(); }
345 bool hasBorder() const { return surround->border.hasBorder(); }
346 bool hasPadding() const { return surround->padding.nonZero(); }
347 bool hasOffset() const { return surround->offset.nonZero(); }
375 Length left() const { return surround->offset.left(); }
376 Length right() const { return surround->offset.right(); }
377 Length top() const { return surround->offset.top(); }
378 Length bottom() const { return surround->offset.bottom(); }
410 const BorderData& border() const { return surround->border; }
411 const BorderValue& borderLeft() const { return surround->border.left(); }
412 const BorderValue& borderRight() const { return surround->border.right(); }
413 const BorderValue& borderTop() const { return surround->border.top(); }
414 const BorderValue& borderBottom() const { return surround->border.bottom(); }
421 const NinePieceImage& borderImage() const { return surround->border.image(); }
423 const LengthSize& borderTopLeftRadius() const { return surround->border.topLeft(); }
424 const LengthSize& borderTopRightRadius() const { return surround->border.topRight(); }
425 const LengthSize& borderBottomLeftRadius() const { return surround->border.bottomLeft(); }
426 const LengthSize& borderBottomRightRadius() const { return surround->border.bottomRight(); }
427 bool hasBorderRadius() const { return surround->border.hasBorderRadius(); }
429 unsigned short borderLeftWidth() const { return surround->border.borderLeftWidth(); }
430 EBorderStyle borderLeftStyle() const { return surround->border.left().style(); }
431 bool borderLeftIsTransparent() const { return surround->border.left().isTransparent(); }
432 unsigned short borderRightWidth() const { return surround->border.borderRightWidth(); }
433 EBorderStyle borderRightStyle() const { return surround->border.right().style(); }
434 bool borderRightIsTransparent() const { return surround->border.right().isTransparent(); }
435 unsigned short borderTopWidth() const { return surround->border.borderTopWidth(); }
436 EBorderStyle borderTopStyle() const { return surround->border.top().style(); }
437 bool borderTopIsTransparent() const { return surround->border.top().isTransparent(); }
438 unsigned short borderBottomWidth() const { return surround->border.borderBottomWidth(); }
439 EBorderStyle borderBottomStyle() const { return surround->border.bottom().style(); }
440 bool borderBottomIsTransparent() const { return surround->border.bottom().isTransparent(); }
609 Length marginTop() const { return surround->margin.top(); }
610 Length marginBottom() const { return surround->margin.bottom(); }
611 Length marginLeft() const { return surround->margin.left(); }
612 Length marginRight() const { return surround->margin.right(); }
622 LengthBox paddingBox() const { return surround->padding; }
623 Length paddingTop() const { return surround->padding.top(); }
624 Length paddingBottom() const { return surround->padding.bottom(); }
625 Length paddingLeft() const { return surround->padding.left(); }
626 Length paddingRight() const { return surround->padding.right(); }
812 void setLeft(Length v) { SET_VAR(surround, offset.m_left, v) }
813 void setRight(Length v) { SET_VAR(surround, offset.m_right, v) }
814 void setTop(Length v) { SET_VAR(surround, offset.m_top, v) }
815 void setBottom(Length v) { SET_VAR(surround, offset.m_bottom, v) }
845 void resetBorderTop() { SET_VAR(surround, border.m_top, BorderValue()) }
846 void resetBorderRight() { SET_VAR(surround, border.m_right, BorderValue()) }
847 void resetBorderBottom() { SET_VAR(surround, border.m_bottom, BorderValue()) }
848 void resetBorderLeft() { SET_VAR(surround, border.m_left, BorderValue()) }
849 void resetBorderImage() { SET_VAR(surround, border.m_image, NinePieceImage()) }
851 void resetBorderTopLeftRadius() { SET_VAR(surround, border.m_topLeft, initialBorderRadius()) }
852 void resetBorderTopRightRadius() { SET_VAR(surround, border.m_topRight, initialBorderRadius()) }
853 void resetBorderBottomLeftRadius() { SET_VAR(surround, border.m_bottomLeft, initialBorderRadius()) }
854 void resetBorderBottomRightRadius() { SET_VAR(surround, border.m_bottomRight, initialBorderRadius()) }
865 void setBorderImage(const NinePieceImage& b) { SET_VAR(surround, border.m_image, b) }
867 void setBorderTopLeftRadius(const LengthSize& s) { SET_VAR(surround, border.m_topLeft, s) }
868 void setBorderTopRightRadius(const LengthSize& s) { SET_VAR(surround, border.m_topRight, s) }
869 void setBorderBottomLeftRadius(const LengthSize& s) { SET_VAR(surround, border.m_bottomLeft, s) }
870 void setBorderBottomRightRadius(const LengthSize& s) { SET_VAR(surround, border.m_bottomRight, s) }
890 void setBorderLeftWidth(unsigned short v) { SET_VAR(surround, border.m_left.m_width, v) }
891 void setBorderLeftStyle(EBorderStyle v) { SET_VAR(surround, border.m_left.m_style, v) }
892 void setBorderLeftColor(const Color& v) { SET_VAR(surround, border.m_left.m_color, v) }
893 void setBorderRightWidth(unsigned short v) { SET_VAR(surround, border.m_right.m_width, v) }
894 void setBorderRightStyle(EBorderStyle v) { SET_VAR(surround, border.m_right.m_style, v) }
895 void setBorderRightColor(const Color& v) { SET_VAR(surround, border.m_right.m_color, v) }
896 void setBorderTopWidth(unsigned short v) { SET_VAR(surround, border.m_top.m_width, v) }
897 void setBorderTopStyle(EBorderStyle v) { SET_VAR(surround, border.m_top.m_style, v) }
898 void setBorderTopColor(const Color& v) { SET_VAR(surround, border.m_top.m_color, v) }
899 void setBorderBottomWidth(unsigned short v) { SET_VAR(surround, border.m_bottom.m_width, v) }
900 void setBorderBottomStyle(EBorderStyle v) { SET_VAR(surround, border.m_bottom.m_style, v) }
901 void setBorderBottomColor(const Color& v) { SET_VAR(surround, border.m_bottom.m_color, v) }
1000 void resetMargin() { SET_VAR(surround, margin, LengthBox(Fixed)) }
1001 void setMarginTop(Length v) { SET_VAR(surround, margin.m_top, v) }
1002 void setMarginBottom(Length v) { SET_VAR(surround, margin.m_bottom, v) }
1003 void setMarginLeft(Length v) { SET_VAR(surround, margin.m_left, v) }
1004 void setMarginRight(Length v) { SET_VAR(surround, margin.m_right, v) }
1008 void resetPadding() { SET_VAR(surround, padding, LengthBox(Auto)) }
1009 void setPaddingBox(const LengthBox& b) { SET_VAR(surround, padding, b) }
1010 void setPaddingTop(Length v) { SET_VAR(surround, padding.m_top, v) }
1011 void setPaddingBottom(Length v) { SET_VAR(surround, padding.m_bottom, v) }
1012 void setPaddingLeft(Length v) { SET_VAR(surround, padding.m_left, v) }
1013 void setPaddingRight(Length v) { SET_VAR(surround, padding.m_right, v) }
1392 const Color& borderLeftColor() const { return surround->border.left().color(); }
1393 const Color& borderRightColor() const { return surround->border.right().color(); }
1394 const Color& borderTopColor() const { return surround->border.top().color(); }
1395 const Color& borderBottomColor() const { return surround->border.bottom().color(); }