skia2/include
kkinnunen d156d36af8 Make GrStrokeInfo inherit from SkStrokeRec
Make the code more readable by inheriting GrStrokeInfo from SkStrokeRec.
This should avoid the long .getStrokeRec() and .getStrokeRecPtr(). These
were a bit cumbersome especially in cases where an alias variable was
created for these, and then the reader had to keep track to which
StrokeInfo member the StrokeRec alias was pointing.

Removes SkStrokeRec::SkStrokeRec(const SkStrokeRec&). It was memcpying.
Try to play it safe wrt compiler using the possible padding of
superclass for subclass members. Instead, let the compiler generate
the copy constructor. Assignment operator was already
compiler-generated, so at least in that way this is consistent.

Renames GrStrokeInfo::applyDash to applyDashToPath for consistency
with superclass applyToPath.

Review URL: https://codereview.chromium.org/1128113008
2015-05-18 22:23:54 -07:00
..
animator Sanitizing source files in Skia_Periodic_House_Keeping 2013-01-26 07:06:02 +00:00
c add stroke params to c api 2015-01-10 17:59:31 -08:00
codec remove dead code behind BOOL_ONGETINFO 2015-05-05 11:36:02 -07:00
config [SkPDFDevice] Enable pathops-based inverse fills 2015-04-22 15:02:04 -07:00
core Make GrStrokeInfo inherit from SkStrokeRec 2015-05-18 22:23:54 -07:00
device/xps C++11 override should now be supported by all of {bots,Chrome,Android,Mozilla} 2015-03-25 18:17:32 -07:00
effects remove redundant/deprecated TwoPointRadial gradiet -- use TwoPointConical 2015-05-04 08:32:51 -07:00
gpu Revert of Refactor GrBufferAllocPools to use resource cache (patchset #9 id:160001 of https://codereview.chromium.org/1139753002/) 2015-05-14 05:24:53 -07:00
images Make SkStream *not* ref counted. 2015-01-21 12:09:53 -08:00
pathops Revert of Remove now-redundant SkPathOps enum. (patchset #1 id:1 of https://codereview.chromium.org/1051113005/) 2015-04-07 06:53:21 -07:00
pipe "NULL !=" = NULL 2014-09-05 13:34:00 -07:00
ports Revert of Font variations. (patchset #26 id:500001 of https://codereview.chromium.org/1027373002/) 2015-05-15 11:30:41 -07:00
svg Add SkSVGCanvas 2015-02-06 12:51:10 -08:00
utils Revert of Sketch splitting SkPicture into an interface and SkBigPicture. (patchset #25 id:480001 of https://codereview.chromium.org/1112523006/) 2015-05-18 14:53:43 -07:00
views Remove all code related to NaCl 2015-04-02 12:16:36 -07:00
xml C++11 override should now be supported by all of {bots,Chrome,Android,Mozilla} 2015-03-25 18:17:32 -07:00