Lines Matching refs:y_
23 ScrollOffset() : x_(0), y_(0) {} in ScrollOffset()
24 ScrollOffset(float x, float y) : x_(x), y_(y) {} in ScrollOffset()
25 explicit ScrollOffset(const Vector2dF& v) : x_(v.x()), y_(v.y()) {} in ScrollOffset()
26 explicit ScrollOffset(const Vector2d& v) : x_(v.x()), y_(v.y()) {} in ScrollOffset()
31 float y() const { return y_; } in y()
32 void set_y(float y) { y_ = y; } in set_y()
36 return x_ == 0 && y_ == 0; in IsZero()
42 y_ += other.y_; in Add()
49 y_ -= other.y_; in Subtract()
53 return Vector2dF(x_ - v.x(), y_ - v.y()); in DeltaFrom()
61 y_ = y_ <= other.y_ ? y_ : other.y_; in SetToMin()
66 y_ = y_ >= other.y_ ? y_ : other.y_; in SetToMax()
72 y_ *= y_scale; in Scale()
79 float y_; variable