From fbfcd5602128ec010c82cb733c9cdc0a3254f9f3 Mon Sep 17 00:00:00 2001 From: "rmistry@google.com" Date: Thu, 23 Aug 2012 18:09:54 +0000 Subject: Result of running tools/sanitize_source_files.py (which was added in https://codereview.appspot.com/6465078/) This CL is part I of IV (I broke down the 1280 files into 4 CLs). Review URL: https://codereview.appspot.com/6485054 git-svn-id: http://skia.googlecode.com/svn/trunk@5262 2bbb7eff-a529-9590-31e7-b0007b416f81 --- include/views/SkView.h | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) (limited to 'include/views/SkView.h') diff --git a/include/views/SkView.h b/include/views/SkView.h index de497dd768..eb0621a18f 100644 --- a/include/views/SkView.h +++ b/include/views/SkView.h @@ -82,9 +82,9 @@ public: void getLocalBounds(SkRect* bounds) const; /** Loc - the view's offset with respect to its parent in its view hiearchy. - NOTE: For more complex transforms, use Local Matrix. The tranformations + NOTE: For more complex transforms, use Local Matrix. The tranformations are applied in the following order: - canvas->translate(fLoc.fX, fLoc.fY); + canvas->translate(fLoc.fX, fLoc.fY); canvas->concat(fMatrix); */ /** Return the view's left edge */ @@ -96,13 +96,13 @@ public: void setLoc(const SkPoint& loc) { this->setLoc(loc.fX, loc.fY); } void setLocX(SkScalar x) { this->setLoc(x, fLoc.fY); } void setLocY(SkScalar y) { this->setLoc(fLoc.fX, y); } - - /** Local Matrix - matrix used to tranform the view with respect to its - parent in its view hiearchy. Use setLocalMatrix to apply matrix + + /** Local Matrix - matrix used to tranform the view with respect to its + parent in its view hiearchy. Use setLocalMatrix to apply matrix transformations to the current view and in turn affect its children. NOTE: For simple offsets, use Loc. The transformations are applied in the following order: - canvas->translate(fLoc.fX, fLoc.fY); + canvas->translate(fLoc.fX, fLoc.fY); canvas->concat(fMatrix); */ const SkMatrix& getLocalMatrix() const { return fMatrix; } @@ -205,7 +205,7 @@ public: /** Convert the specified point from global coordinates into view-local coordinates * Return true on success; false on failure */ - bool globalToLocal(SkPoint* pt) const { + bool globalToLocal(SkPoint* pt) const { if (NULL != pt) { return this->globalToLocal(pt->fX, pt->fY, pt); } @@ -217,7 +217,7 @@ public: bool globalToLocal(SkScalar globalX, SkScalar globalY, SkPoint* local) const; /** \class F2BIter - + Iterator that will return each of this view's children, in front-to-back order (the order used for clicking). The first call to next() returns the front-most child view. When @@ -232,7 +232,7 @@ public: }; /** \class B2FIter - + Iterator that will return each of this view's children, in back-to-front order (the order they are drawn). The first call to next() returns the back-most child view. When @@ -247,7 +247,7 @@ public: }; /** \class Artist - + Install a subclass of this in a view (calling setArtist()), and then the default implementation of that view's onDraw() will invoke this object automatically. @@ -275,7 +275,7 @@ public: Artist* setArtist(Artist* artist); /** \class Layout - + Install a subclass of this in a view (calling setLayout()), and then the default implementation of that view's onLayoutChildren() will invoke this object automatically. @@ -382,7 +382,7 @@ private: friend class B2FIter; friend class F2BIter; - + friend class SkLayerView; bool setFocusView(SkView* fvOrNull); -- cgit v1.2.3