Home
last modified time | relevance | path

Searched refs:deltaX_ (Results 1 – 3 of 3) sorted by relevance

/foundation/ace/ace_engine/frameworks/base/geometry/
Doffset.h32 Offset(double deltaX, double deltaY) : deltaX_(deltaX), deltaY_(deltaY) {} in Offset()
36 deltaX_ = 0.0; in Reset()
64 return deltaX_; in GetX()
74 deltaX_ = x;
96 return std::sqrt((deltaX_ * deltaX_) + (deltaY_ * deltaY_)); in GetDistance()
101 return Offset(deltaX_ + offset.deltaX_, deltaY_ + offset.deltaY_);
106 return Offset(deltaX_ + size.Width(), deltaY_ + size.Height());
111 return Offset(deltaX_ - offset.deltaX_, deltaY_ - offset.deltaY_);
116 return Offset(deltaX_ * value, deltaY_ * value);
124 return Offset(deltaX_ / value, deltaY_ / value);
[all …]
Ddimension_offset.h31 DimensionOffset(Dimension deltaX, Dimension deltaY) : deltaX_(deltaX), deltaY_(deltaY) {} in DimensionOffset()
32 DimensionOffset(Offset offset) : deltaX_(Dimension(offset.GetX(), DimensionUnit::PX)), in DimensionOffset()
37 return deltaX_; in GetX()
47 deltaX_ = x; in SetX()
57 … return DimensionOffset(deltaX_ + dimensionOffset.deltaX_, deltaY_ + dimensionOffset.deltaY_);
62 … return DimensionOffset(deltaX_ - dimensionOffset.deltaX_, deltaY_ - dimensionOffset.deltaY_);
67 return DimensionOffset(deltaX_ * value, deltaY_ * value);
71 Dimension deltaX_;
/foundation/graphic/ui/interfaces/kits/events/
Ddrag_event.h64 deltaX_ = newPos.x - lastPos.x; in DragEvent()
146 return deltaX_; in GetDeltaX()
169 int16_t deltaX_; variable