diff options
author | skia.committer@gmail.com <skia.committer@gmail.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2012-09-07 02:01:30 +0000 |
---|---|---|
committer | skia.committer@gmail.com <skia.committer@gmail.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2012-09-07 02:01:30 +0000 |
commit | 04ba448579b976369075c675d847ef0f779d40f4 (patch) | |
tree | f792f6be2bd091e4c45309c52a07aee6048c2721 /src/core/SkBBoxRecord.cpp | |
parent | e0201a4448f5e770cc081ca3425bed528af27f8d (diff) |
Sanitizing source files in Skia_Periodic_House_Keeping
git-svn-id: http://skia.googlecode.com/svn/trunk@5425 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'src/core/SkBBoxRecord.cpp')
-rw-r--r-- | src/core/SkBBoxRecord.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/core/SkBBoxRecord.cpp b/src/core/SkBBoxRecord.cpp index 04661d0c92..5102de1a16 100644 --- a/src/core/SkBBoxRecord.cpp +++ b/src/core/SkBBoxRecord.cpp @@ -27,7 +27,7 @@ void SkBBoxRecord::drawPoints(PointMode mode, size_t count, const SkPoint pts[], if (this->transformBounds(bbox, &paint)) { INHERITED::drawPoints(mode, count, pts, paint); } -} +} void SkBBoxRecord::drawPaint(const SkPaint& paint) { SkRect bbox; @@ -45,7 +45,7 @@ void SkBBoxRecord::clear(SkColor color) { INHERITED::clear(color); } -void SkBBoxRecord::drawText(const void* text, size_t byteLength, SkScalar x, SkScalar y, +void SkBBoxRecord::drawText(const void* text, size_t byteLength, SkScalar x, SkScalar y, const SkPaint& paint) { SkRect bbox; paint.measureText(text, byteLength, &bbox); @@ -76,7 +76,7 @@ void SkBBoxRecord::drawText(const void* text, size_t byteLength, SkScalar x, SkS bbox.fBottom = metrics.fBottom; } - // Pad horizontal bounds on each side by half of max vertical extents (this is sort of + // Pad horizontal bounds on each side by half of max vertical extents (this is sort of // arbitrary, but seems to produce reasonable results, if there were a way of getting max // glyph X-extents to pad by, that may be better here, but FontMetrics fXMin and fXMax seem // incorrect on most platforms (too small in Linux, never even set in Windows). |