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

Side by Side Diff: skia/ext/vector_platform_device_cairo_linux.h

Issue 6691067: Fixed a few styles issues in skia::PlatformDevice. Made function names consistent. Added Begin/En... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 8 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « skia/ext/platform_device_win.cc ('k') | skia/ext/vector_platform_device_cairo_linux.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef SKIA_EXT_VECTOR_PLATFORM_DEVICE_CAIRO_LINUX_H_ 5 #ifndef SKIA_EXT_VECTOR_PLATFORM_DEVICE_CAIRO_LINUX_H_
6 #define SKIA_EXT_VECTOR_PLATFORM_DEVICE_CAIRO_LINUX_H_ 6 #define SKIA_EXT_VECTOR_PLATFORM_DEVICE_CAIRO_LINUX_H_
7 #pragma once 7 #pragma once
8 8
9 #include "base/basictypes.h" 9 #include "base/basictypes.h"
10 #include "base/compiler_specific.h" 10 #include "base/compiler_specific.h"
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after
75 int vertexCount, 75 int vertexCount,
76 const SkPoint verts[], const SkPoint texs[], 76 const SkPoint verts[], const SkPoint texs[],
77 const SkColor colors[], SkXfermode* xmode, 77 const SkColor colors[], SkXfermode* xmode,
78 const uint16_t indices[], int indexCount, 78 const uint16_t indices[], int indexCount,
79 const SkPaint& paint) OVERRIDE; 79 const SkPaint& paint) OVERRIDE;
80 virtual void drawDevice(const SkDraw& draw, SkDevice*, int x, int y, 80 virtual void drawDevice(const SkDraw& draw, SkDevice*, int x, int y,
81 const SkPaint&) OVERRIDE; 81 const SkPaint&) OVERRIDE;
82 82
83 virtual void setMatrixClip(const SkMatrix& transform, const SkRegion& region, 83 virtual void setMatrixClip(const SkMatrix& transform, const SkRegion& region,
84 const SkClipStack&); 84 const SkClipStack&);
85 virtual PlatformSurface beginPlatformPaint(); 85 virtual PlatformSurface BeginPlatformPaint();
86 virtual bool IsVectorial(); 86 virtual bool IsVectorial();
87 87
88 protected: 88 protected:
89 explicit VectorPlatformDeviceCairo(PlatformSurface context, 89 explicit VectorPlatformDeviceCairo(PlatformSurface context,
90 const SkBitmap& bitmap); 90 const SkBitmap& bitmap);
91 91
92 private: 92 private:
93 // Apply paint's color in the context. 93 // Apply paint's color in the context.
94 void ApplyPaintColor(const SkPaint& paint); 94 void ApplyPaintColor(const SkPaint& paint);
95 95
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
129 129
130 // Device context. 130 // Device context.
131 PlatformSurface context_; 131 PlatformSurface context_;
132 132
133 DISALLOW_COPY_AND_ASSIGN(VectorPlatformDeviceCairo); 133 DISALLOW_COPY_AND_ASSIGN(VectorPlatformDeviceCairo);
134 }; 134 };
135 135
136 } // namespace skia 136 } // namespace skia
137 137
138 #endif // SKIA_EXT_VECTOR_PLATFORM_DEVICE_CAIRO_LINUX_H_ 138 #endif // SKIA_EXT_VECTOR_PLATFORM_DEVICE_CAIRO_LINUX_H_
OLDNEW
« no previous file with comments | « skia/ext/platform_device_win.cc ('k') | skia/ext/vector_platform_device_cairo_linux.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698