Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(130)

Unified Diff: third_party/WebKit/Source/platform/geometry/FloatQuad.h

Issue 2392543003: reflow comments in platform/geometry (Closed)
Patch Set: Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/platform/geometry/FloatQuad.h
diff --git a/third_party/WebKit/Source/platform/geometry/FloatQuad.h b/third_party/WebKit/Source/platform/geometry/FloatQuad.h
index 9b8613e3c35007c0aef08a7985224ec51517d688..dc4b30a19487a8b157641c480112fbe83004acd8 100644
--- a/third_party/WebKit/Source/platform/geometry/FloatQuad.h
+++ b/third_party/WebKit/Source/platform/geometry/FloatQuad.h
@@ -84,11 +84,13 @@ class PLATFORM_EXPORT FloatQuad {
// corresponding FloatRect can be retrieved with boundingBox().
bool isRectilinear() const;
- // Tests whether the given point is inside, or on an edge or corner of this quad.
+ // Tests whether the given point is inside, or on an edge or corner of this
+ // quad.
bool containsPoint(const FloatPoint&) const;
- // Tests whether the four corners of other are inside, or coincident with the sides of this quad.
- // Note that this only works for convex quads, but that includes all quads that originate
+ // Tests whether the four corners of other are inside, or coincident with the
+ // sides of this quad. Note that this only works for convex quads, but that
+ // includes all quads that originate
// from transformed rects.
bool containsQuad(const FloatQuad&) const;
@@ -102,7 +104,8 @@ class PLATFORM_EXPORT FloatQuad {
bool intersectsEllipse(const FloatPoint& center,
const FloatSize& radii) const;
- // The center of the quad. If the quad is the result of a affine-transformed rectangle this is the same as the original center transformed.
+ // The center of the quad. If the quad is the result of a affine-transformed
+ // rectangle this is the same as the original center transformed.
FloatPoint center() const {
return FloatPoint((m_p1.x() + m_p2.x() + m_p3.x() + m_p4.x()) / 4.0,
(m_p1.y() + m_p2.y() + m_p3.y() + m_p4.y()) / 4.0);

Powered by Google App Engine
This is Rietveld 408576698