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

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

Issue 607853003: Roll src/third_party/skia b5fae93:c13bc57 (manual roll) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Win emf fix Created 6 years, 2 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
« no previous file with comments | « skia/ext/pixel_ref_utils.cc ('k') | skia/ext/vector_platform_device_emf_win.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_EMF_WIN_H_ 5 #ifndef SKIA_EXT_VECTOR_PLATFORM_DEVICE_EMF_WIN_H_
6 #define SKIA_EXT_VECTOR_PLATFORM_DEVICE_EMF_WIN_H_ 6 #define SKIA_EXT_VECTOR_PLATFORM_DEVICE_EMF_WIN_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "base/compiler_specific.h" 9 #include "base/compiler_specific.h"
10 #include "skia/ext/platform_device.h" 10 #include "skia/ext/platform_device.h"
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
52 const SkPaint& paint, 52 const SkPaint& paint,
53 SkCanvas::DrawBitmapRectFlags flags) SK_OVERRIDE; 53 SkCanvas::DrawBitmapRectFlags flags) SK_OVERRIDE;
54 virtual void drawBitmap(const SkDraw& draw, const SkBitmap& bitmap, 54 virtual void drawBitmap(const SkDraw& draw, const SkBitmap& bitmap,
55 const SkMatrix& matrix, 55 const SkMatrix& matrix,
56 const SkPaint& paint) OVERRIDE; 56 const SkPaint& paint) OVERRIDE;
57 virtual void drawSprite(const SkDraw& draw, const SkBitmap& bitmap, 57 virtual void drawSprite(const SkDraw& draw, const SkBitmap& bitmap,
58 int x, int y, const SkPaint& paint) OVERRIDE; 58 int x, int y, const SkPaint& paint) OVERRIDE;
59 virtual void drawText(const SkDraw& draw, const void* text, size_t len, 59 virtual void drawText(const SkDraw& draw, const void* text, size_t len,
60 SkScalar x, SkScalar y, const SkPaint& paint) OVERRIDE; 60 SkScalar x, SkScalar y, const SkPaint& paint) OVERRIDE;
61 virtual void drawPosText(const SkDraw& draw, const void* text, size_t len, 61 virtual void drawPosText(const SkDraw& draw, const void* text, size_t len,
62 const SkScalar pos[], SkScalar constY, 62 const SkScalar pos[], int scalarsPerPos,
63 int scalarsPerPos, const SkPaint& paint) OVERRIDE; 63 const SkPoint& offset, const SkPaint& paint) OVERRIDE ;
64 virtual void drawTextOnPath(const SkDraw& draw, const void* text, size_t len, 64 virtual void drawTextOnPath(const SkDraw& draw, const void* text, size_t len,
65 const SkPath& path, const SkMatrix* matrix, 65 const SkPath& path, const SkMatrix* matrix,
66 const SkPaint& paint) OVERRIDE; 66 const SkPaint& paint) OVERRIDE;
67 virtual void drawVertices(const SkDraw& draw, SkCanvas::VertexMode, 67 virtual void drawVertices(const SkDraw& draw, SkCanvas::VertexMode,
68 int vertexCount, 68 int vertexCount,
69 const SkPoint verts[], const SkPoint texs[], 69 const SkPoint verts[], const SkPoint texs[],
70 const SkColor colors[], SkXfermode* xmode, 70 const SkColor colors[], SkXfermode* xmode,
71 const uint16_t indices[], int indexCount, 71 const uint16_t indices[], int indexCount,
72 const SkPaint& paint) OVERRIDE; 72 const SkPaint& paint) OVERRIDE;
73 virtual void drawDevice(const SkDraw& draw, SkBaseDevice*, int x, int y, 73 virtual void drawDevice(const SkDraw& draw, SkBaseDevice*, int x, int y,
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
134 134
135 typedef void (*SkiaEnsureTypefaceCharactersAccessible) 135 typedef void (*SkiaEnsureTypefaceCharactersAccessible)
136 (const LOGFONT& font, const wchar_t* text, unsigned int text_length); 136 (const LOGFONT& font, const wchar_t* text, unsigned int text_length);
137 137
138 SK_API void SetSkiaEnsureTypefaceCharactersAccessible( 138 SK_API void SetSkiaEnsureTypefaceCharactersAccessible(
139 SkiaEnsureTypefaceCharactersAccessible func); 139 SkiaEnsureTypefaceCharactersAccessible func);
140 140
141 } // namespace skia 141 } // namespace skia
142 142
143 #endif // SKIA_EXT_VECTOR_PLATFORM_DEVICE_EMF_WIN_H_ 143 #endif // SKIA_EXT_VECTOR_PLATFORM_DEVICE_EMF_WIN_H_
OLDNEW
« no previous file with comments | « skia/ext/pixel_ref_utils.cc ('k') | skia/ext/vector_platform_device_emf_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698