diff options
author | mike@reedtribe.org <mike@reedtribe.org@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2011-04-20 11:17:30 +0000 |
---|---|---|
committer | mike@reedtribe.org <mike@reedtribe.org@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2011-04-20 11:17:30 +0000 |
commit | 6b919c353727f72342a20a7aa4ded9c022f5d816 (patch) | |
tree | 72ee1c40a842c10f9e1669f5db3dfb4efab31aaf /include | |
parent | 4135f2893289dd37b662a32dd1f3d9e79a0eabf3 (diff) |
code style
git-svn-id: http://skia.googlecode.com/svn/trunk@1159 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'include')
-rw-r--r-- | include/effects/Sk2DPathEffect.h | 6 | ||||
-rw-r--r-- | include/effects/SkEmbossMaskFilter.h | 3 | ||||
-rw-r--r-- | include/effects/SkKernel33MaskFilter.h | 3 | ||||
-rw-r--r-- | include/effects/SkLayerRasterizer.h | 3 | ||||
-rw-r--r-- | include/effects/SkTransparentShader.h | 6 |
5 files changed, 9 insertions, 12 deletions
diff --git a/include/effects/Sk2DPathEffect.h b/include/effects/Sk2DPathEffect.h index 6e54d0aa19..02ec7606ab 100644 --- a/include/effects/Sk2DPathEffect.h +++ b/include/effects/Sk2DPathEffect.h @@ -27,14 +27,14 @@ public: // overrides // This method is not exported to java. - virtual bool filterPath(SkPath* dst, const SkPath& src, SkScalar* width); + virtual bool filterPath(SkPath* dst, const SkPath& src, SkScalar* width); // overrides from SkFlattenable // This method is not exported to java. - virtual void flatten(SkFlattenableWriteBuffer&); + virtual void flatten(SkFlattenableWriteBuffer&); // This method is not exported to java. - virtual Factory getFactory(); + virtual Factory getFactory(); protected: /** New virtual, to be overridden by subclasses. diff --git a/include/effects/SkEmbossMaskFilter.h b/include/effects/SkEmbossMaskFilter.h index 042a2a6b66..b0c12c551f 100644 --- a/include/effects/SkEmbossMaskFilter.h +++ b/include/effects/SkEmbossMaskFilter.h @@ -38,7 +38,8 @@ public: // This method is not exported to java. virtual SkMask::Format getFormat(); // This method is not exported to java. - virtual bool filterMask(SkMask* dst, const SkMask& src, const SkMatrix& matrix, SkIPoint* margin); + virtual bool filterMask(SkMask* dst, const SkMask& src, const SkMatrix&, + SkIPoint* margin); // overrides from SkFlattenable diff --git a/include/effects/SkKernel33MaskFilter.h b/include/effects/SkKernel33MaskFilter.h index 84136e205c..45aaef8eb5 100644 --- a/include/effects/SkKernel33MaskFilter.h +++ b/include/effects/SkKernel33MaskFilter.h @@ -47,8 +47,7 @@ private: class SkKernel33MaskFilter : public SkKernel33ProcMaskFilter { public: SkKernel33MaskFilter(const int coeff[3][3], int shift, int percent256 = 256) - : SkKernel33ProcMaskFilter(percent256) - { + : SkKernel33ProcMaskFilter(percent256) { memcpy(fKernel, coeff, 9 * sizeof(int)); fShift = shift; } diff --git a/include/effects/SkLayerRasterizer.h b/include/effects/SkLayerRasterizer.h index 820f6fca66..0373b05fb1 100644 --- a/include/effects/SkLayerRasterizer.h +++ b/include/effects/SkLayerRasterizer.h @@ -28,8 +28,7 @@ public: SkLayerRasterizer(); virtual ~SkLayerRasterizer(); - void addLayer(const SkPaint& paint) - { + void addLayer(const SkPaint& paint) { this->addLayer(paint, 0, 0); } diff --git a/include/effects/SkTransparentShader.h b/include/effects/SkTransparentShader.h index 8bc60ff81b..5e87609bf8 100644 --- a/include/effects/SkTransparentShader.h +++ b/include/effects/SkTransparentShader.h @@ -31,8 +31,7 @@ public: // overrides for SkFlattenable virtual Factory getFactory() { return Create; } - virtual void flatten(SkFlattenableWriteBuffer& buffer) - { + virtual void flatten(SkFlattenableWriteBuffer& buffer) { this->INHERITED::flatten(buffer); } @@ -43,8 +42,7 @@ private: SkTransparentShader(SkFlattenableReadBuffer& buffer) : INHERITED(buffer) {} - static SkFlattenable* Create(SkFlattenableReadBuffer& buffer) - { + static SkFlattenable* Create(SkFlattenableReadBuffer& buffer) { return SkNEW_ARGS(SkTransparentShader, (buffer)); } |