Bug 658314 - UserToDevice uses the transform matrix. r=roc
authorBenjamin Peterson <benjamin@python.org>
Sat, 21 May 2011 22:06:24 +0200
changeset 69876 876b007c53eebb8512caa7fac021f6bd9f456ec5
parent 69875 65bae86de3be77ff855c97d1ac236f475e11268a
child 69877 5c7b86a4c7f7d9568c0358fa245b347aee09a7d8
push id20129
push userdgottwald@mozilla.com
push dateSun, 22 May 2011 12:25:15 +0000
treeherdermozilla-central@5c7b86a4c7f7 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersroc
bugs658314
milestone6.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 658314 - UserToDevice uses the transform matrix. r=roc
gfx/thebes/gfxContext.h
--- a/gfx/thebes/gfxContext.h
+++ b/gfx/thebes/gfxContext.h
@@ -318,18 +318,18 @@ public:
     /**
      * Converts a rectangle from device to user coordinates; this has the
      * same effect as using DeviceToUser on both the rectangle's point and
      * size.
      */
     gfxRect DeviceToUser(const gfxRect& rect) const;
 
     /**
-     * Converts a point from user to device coordinates using the inverse
-     * transformation matrix.
+     * Converts a point from user to device coordinates using the transformation
+     * matrix.
      */
     gfxPoint UserToDevice(const gfxPoint& point) const;
 
     /**
      * Converts a size from user to device coordinates. This does not apply
      * translation components of the matrix.
      */
     gfxSize UserToDevice(const gfxSize& size) const;