summaryrefslogtreecommitdiffstats
path: root/ui/gfx/transform_util.h
diff options
context:
space:
mode:
Diffstat (limited to 'ui/gfx/transform_util.h')
-rw-r--r--ui/gfx/transform_util.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/ui/gfx/transform_util.h b/ui/gfx/transform_util.h
index be5ba4c..e5a2138 100644
--- a/ui/gfx/transform_util.h
+++ b/ui/gfx/transform_util.h
@@ -28,6 +28,8 @@ struct UI_EXPORT DecomposedTransform {
SkMScalar perspective[4];
SkMScalar quaternion[4];
+ std::string ToString() const;
+
// Copy and assign are allowed.
};
@@ -38,7 +40,7 @@ struct UI_EXPORT DecomposedTransform {
UI_EXPORT bool BlendDecomposedTransforms(DecomposedTransform* out,
const DecomposedTransform& to,
const DecomposedTransform& from,
- SkMScalar progress);
+ double progress);
// Decomposes this transform into its translation, scale, skew, perspective,
// and rotation components following the routines detailed in this spec: