http://codereview.appspot.com/4940045/diff/3001/include/core/SkPoint.h File include/core/SkPoint.h (right): http://codereview.appspot.com/4940045/diff/3001/include/core/SkPoint.h#newcode365 include/core/SkPoint.h:365: SkScalar distanceToLineBetweenSqd(const SkPoint& a, Lets dox this new function. ...
13 years, 3 months ago
(2011-08-22 21:28:16 UTC)
#2
http://codereview.appspot.com/4940045/diff/3001/include/core/SkPoint.h
File include/core/SkPoint.h (right):
http://codereview.appspot.com/4940045/diff/3001/include/core/SkPoint.h#newcod...
include/core/SkPoint.h:365: SkScalar distanceToLineBetweenSqd(const SkPoint& a,
Lets dox this new function. I presume the line in question is [a, b]. Do we
worry about the endpoints when computing distance?
Someitmes (perhaps not this time), I think these sorts of geometric computations
are better expressed as static functions. e.g.
SkComputeDistanceSquaredToLine(SkScalar x, SkScalar y, const SkPoint line[2]);
http://codereview.appspot.com/4940045/diff/3001/include/core/SkMatrix.h File include/core/SkMatrix.h (right): http://codereview.appspot.com/4940045/diff/3001/include/core/SkMatrix.h#newcode367 include/core/SkMatrix.h:367: /** Like mapPoints but with custom byte stride between ...
13 years, 3 months ago
(2011-08-22 21:31:00 UTC)
#3
Issue 4940045: skia-core changes for gr aa hairline code
(Closed)
Created 13 years, 3 months ago by bsalomon
Modified 13 years, 3 months ago
Reviewers: reed1, bungeman
Base URL: http://skia.googlecode.com/svn/trunk/
Comments: 4