/foundation/graphic/utils/interfaces/kits/gfx_utils/ |
D | rect.h | 56 CommonRect() : left_(0), top_(0), right_(0), bottom_(0) {} in CommonRect() 79 bottom_ = bottom; in CommonRect() 95 bottom_ = other.bottom_; in CommonRect() 110 bottom_ = other.bottom_; in CommonRect() 128 bottom_ = bottom; in SetRect() 150 return bottom_ - top_ + 1; in GetHeight() 216 return bottom_; in GetBottom() 239 bottom_ += y - top_; in SetY() 254 bottom_ += y - top_; in SetPosition() 278 bottom_ = top_ + height - 1; in SetHeight() [all …]
|
/foundation/graphic/standard/rosen/modules/2d_graphics/include/utils/ |
D | rect.h | 60 scalar bottom_; variable 63 inline RectF::RectF() noexcept : left_(0.0), right_(0.0), top_(0.0), bottom_(0.0) {} in RectF() 66 : left_(r.GetLeft()), right_(r.GetRight()), top_(r.GetTop()), bottom_(r.GetBottom()) in RectF() 70 : left_(l), right_(r), top_(t), bottom_(b) in RectF() 75 return left_ < right_ && top_ < bottom_; in IsValid() 95 return bottom_; in GetBottom() 105 return bottom_ - top_; in GetHeight() 125 bottom_ = pos; in SetBottom() 133 bottom_ += dy; in Offset() 139 IsScalarAlmostEqual(r1.top_, r2.top_) && IsScalarAlmostEqual(r1.bottom_, r2.bottom_); [all …]
|
/foundation/ace/ace_engine/frameworks/core/components/common/properties/ |
D | edge.h | 40 bottom_(Dimension(bottom, unit)) {}; in left_() 43 right_(CalcDimension(right, unit)), bottom_(CalcDimension(bottom, unit)) {}; in left_() 45 : left_(left), top_(top), right_(right), bottom_(bottom) {}; in Edge() 49 … right_(AnimatableDimension(right, option)), bottom_(AnimatableDimension(bottom, option)) {}; in Edge() 53 … right_(AnimatableDimension(right, option)), bottom_(AnimatableDimension(bottom, option)) {}; in Edge() 137 return bottom_; in Bottom() 142 bottom_ = bottom; in SetBottom() 147 bottom_ = AnimatableDimension(bottom); in SetBottom() 152 bottom_ = AnimatableDimension(bottom); in SetBottom() 157 … return Edge(left_ + edge.left_, top_ + edge.top_, right_ + edge.right_, bottom_ + edge.bottom_); [all …]
|
D | edge.cpp | 47 edge.bottom_ = StringUtils::StringToDimension(offsets[0]); in FromString() 53 edge.bottom_ = StringUtils::StringToDimension(offsets[0]); in FromString() 59 edge.bottom_ = StringUtils::StringToDimension(offsets[2]); in FromString() 65 edge.bottom_ = StringUtils::StringToDimension(offsets[2]); in FromString() 77 …return left_.Value() >= 0.0 && top_.Value() >= 0.0 && right_.Value() >= 0.0 && bottom_.Value() >= … in IsValid() 82 … return left_.Value() > 0.0 || top_.Value() > 0.0 || right_.Value() > 0.0 || bottom_.Value() > 0.0; in IsEffective() 88 double height = GetValueInPx(top_, dipScale) + GetValueInPx(bottom_, dipScale); in GetLayoutSizeInPx() 104 return GetValueInPx(top_, dipScale) + GetValueInPx(bottom_, dipScale); in VerticalInPx()
|
D | border.cpp | 21 : left_(left), top_(top), right_(right), bottom_(bottom) in Border() 32 return (left_ == top_) && (top_ == right_) && (right_ == bottom_); in IsAllEqual() 37 return left_.HasValue() || top_.HasValue() || right_.HasValue() || bottom_.HasValue(); in HasValue() 58 return top_.GetWidthInPx(dipScale) + bottom_.GetWidthInPx(dipScale); in VerticalWidth() 77 if (bottom_.HasValue()) { in GetValidEdge() 78 return bottom_; in GetValidEdge()
|
D | border.h | 60 …return left_.IsValid() && right_.IsValid() && bottom_.IsValid() && top_.IsValid() && topLeftRadius… in IsValid() 71 …return left_.GetBorderStyle() == BorderStyle::SOLID && bottom_.GetBorderStyle() == BorderStyle::SO… in IsAllSolidStyle() 88 bottom_ = borderEdge; in SetBorderEdge() 156 return bottom_; in Bottom() 162 (border.Bottom() == bottom_); 182 bottom_ = edge; in SetBottomEdge() 210 bottom_.SetWidth(width, option); 238 bottom_.SetStyle(style); in SetBottomStyle() 266 bottom_.SetColor(color, option); 274 bottom_.SetContextAndCallback(context, callback); in SetContextAndCallback() [all …]
|
D | swiper_indicator.h | 108 return bottom_; in GetBottom() 112 bottom_ = bottom; in SetBottom() 244 Dimension bottom_ { DEFAULT_POSITION, DimensionUnit::PX };
|
D | clip_path.h | 140 return bottom_; in GetBottom() 180 bottom_ = bottom; in SetBottom() 239 Dimension bottom_; variable
|
/foundation/ace/ace_engine/frameworks/core/components/positioned/ |
D | render_positioned.cpp | 28 bottom_ = positioned->GetBottom(); in Update() 87 if (NearEqual(bottom_.Value(), bottom.Value()) && (bottom_.Unit() == bottom.Unit())) { in SetBottom() 90 bottom_ = bottom; in SetBottom()
|
D | positioned_component.h | 47 return bottom_; in GetBottom() 52 bottom_ = bottom; in SetBottom() 180 Dimension bottom_;
|
D | render_positioned.h | 36 return bottom_; in GetBottom() 93 Dimension bottom_;
|
/foundation/ace/ace_engine/frameworks/core/components/toast/ |
D | toast_theme.h | 62 theme->bottom_ = themeConstants->GetDimension(THEME_TOAST_BOTTOM); in Build() 127 return bottom_; in GetBottom() 156 Dimension bottom_; variable
|