Home | History | Annotate | Download | only in gfx

Lines Matching defs:Transform

8 #include "ui/gfx/transform.h"
45 Transform::Transform(SkMScalar col1row1,
83 Transform::Transform(SkMScalar col1row1,
98 void Transform::RotateAboutXAxis(double degrees) {
115 void Transform::RotateAboutYAxis(double degrees) {
134 void Transform::RotateAboutZAxis(double degrees) {
151 void Transform::RotateAbout(const Vector3dF& axis, double degrees) {
167 void Transform::Scale(SkMScalar x, SkMScalar y) { matrix_.preScale(x, y, 1); }
169 void Transform::Scale3d(SkMScalar x, SkMScalar y, SkMScalar z) {
173 void Transform::Translate(SkMScalar x, SkMScalar y) {
177 void Transform::Translate3d(SkMScalar x, SkMScalar y, SkMScalar z) {
181 void Transform::SkewX(double angle_x) {
191 void Transform::SkewY(double angle_y) {
201 void Transform::ApplyPerspectiveDepth(SkMScalar depth) {
213 void Transform::PreconcatTransform(const Transform& transform) {
214 matrix_.preConcat(transform.matrix_);
217 void Transform::ConcatTransform(const Transform& transform) {
218 matrix_.postConcat(transform.matrix_);
221 bool Transform::IsApproximatelyIdentityOrTranslation(
240 bool Transform::IsIdentityOrIntegerTranslation() const {
252 bool Transform::IsBackFaceVisible() const {
254 // would have its back face visible after applying the transform.
260 // actually requires using the inverse-transpose of the original transform.
263 // to transform only the specific normal vector (0, 0, 1, 0). In this case,
311 bool Transform::GetInverse(Transform* transform) const {
312 if (!matrix_.invert(&transform->matrix_)) {
315 transform->MakeIdentity();
322 bool Transform::Preserves2dAxisAlignment() const {
377 void Transform::Transpose() {
381 void Transform::FlattenTo2d() {
391 Vector2dF Transform::To2dTranslation() const {
396 void Transform::TransformPoint(Point* point) const {
401 void Transform::TransformPoint(Point3F* point) const {
406 bool Transform::TransformPointReverse(Point* point) const {
418 bool Transform::TransformPointReverse(Point3F* point) const {
430 void Transform::TransformRect(RectF* rect) const {
440 bool Transform::TransformRectReverse(RectF* rect) const {
455 void Transform::TransformBox(BoxF* box) const {
474 bool Transform::TransformBoxReverse(BoxF* box) const {
475 gfx::Transform inverse = *this;
482 bool Transform::Blend(const Transform& from, double progress) {
496 void Transform::TransformPointInternal(const SkMatrix44& xform,
514 void Transform::TransformPointInternal(const SkMatrix44& xform,
527 std::string Transform::ToString() const {