Home
last modified time | relevance | path

Searched refs:translation_ (Results 1 – 2 of 2) sorted by relevance

/external/libchrome/ui/gfx/geometry/
Daxis_transform2d.h23 : scale_(scale), translation_(translation) {} in AxisTransform2d()
26 return scale_ == other.scale_ && translation_ == other.translation_;
35 translation_.Scale(scale); in PostScale()
38 translation_ += ScaleVector2d(translation, scale_); in PreTranslate()
41 translation_ += translation; in PostTranslate()
45 PreTranslate(pre.translation_); in PreConcat()
50 PostTranslate(post.translation_); in PostConcat()
56 translation_.Scale(-scale_); in Invert()
60 return ScalePoint(p, scale_) + translation_; in MapPoint()
63 return ScalePoint(p - translation_, 1.f / scale_); in InverseMapPoint()
[all …]
Daxis_transform2d.cc13 translation_.ToString().c_str()); in ToString()