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

Side by Side Diff: src/pdf/SkPDFDevice.h

Issue 1214853025: Propagate SkSurfaceProps when known (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 5 years, 5 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 | « src/gpu/GrTextContext.cpp ('k') | src/pdf/SkPDFDevice.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 1
2 /* 2 /*
3 * Copyright 2011 Google Inc. 3 * Copyright 2011 Google Inc.
4 * 4 *
5 * Use of this source code is governed by a BSD-style license that can be 5 * Use of this source code is governed by a BSD-style license that can be
6 * found in the LICENSE file. 6 * found in the LICENSE file.
7 */ 7 */
8 8
9 9
10 #ifndef SkPDFDevice_DEFINED 10 #ifndef SkPDFDevice_DEFINED
(...skipping 255 matching lines...) Expand 10 before | Expand all | Expand 10 after
266 266
267 void populateGraphicStateEntryFromPaint(const SkMatrix& matrix, 267 void populateGraphicStateEntryFromPaint(const SkMatrix& matrix,
268 const SkClipStack& clipStack, 268 const SkClipStack& clipStack,
269 const SkRegion& clipRegion, 269 const SkRegion& clipRegion,
270 const SkPaint& paint, 270 const SkPaint& paint,
271 bool hasText, 271 bool hasText,
272 GraphicStateEntry* entry); 272 GraphicStateEntry* entry);
273 int addGraphicStateResource(SkPDFObject* gs); 273 int addGraphicStateResource(SkPDFObject* gs);
274 int addXObjectResource(SkPDFObject* xObject); 274 int addXObjectResource(SkPDFObject* xObject);
275 275
276 void updateFont(const SkPaint& paint, uint16_t glyphID, 276 void updateFont(const SkPaint& paint, uint16_t glyphID, ContentEntry* conten tEntry);
277 ContentEntry* contentEntry);
278 int getFontResourceIndex(SkTypeface* typeface, uint16_t glyphID); 277 int getFontResourceIndex(SkTypeface* typeface, uint16_t glyphID);
279 278
280 void internalDrawPaint(const SkPaint& paint, ContentEntry* contentEntry); 279 void internalDrawPaint(const SkPaint& paint, ContentEntry* contentEntry);
281 void internalDrawBitmap(const SkMatrix& matrix, 280 void internalDrawBitmap(const SkMatrix& matrix,
282 const SkClipStack* clipStack, 281 const SkClipStack* clipStack,
283 const SkRegion& clipRegion, 282 const SkRegion& clipRegion,
284 const SkBitmap& bitmap, 283 const SkBitmap& bitmap,
285 const SkIRect* srcRect, 284 const SkIRect* srcRect,
286 const SkPaint& paint); 285 const SkPaint& paint);
287 286
(...skipping 19 matching lines...) Expand all
307 306
308 typedef SkBaseDevice INHERITED; 307 typedef SkBaseDevice INHERITED;
309 308
310 // TODO(edisonn): Only SkDocument_PDF and SkPDFImageShader should be able to create 309 // TODO(edisonn): Only SkDocument_PDF and SkPDFImageShader should be able to create
311 // an SkPDFDevice 310 // an SkPDFDevice
312 //friend class SkDocument_PDF; 311 //friend class SkDocument_PDF;
313 //friend class SkPDFImageShader; 312 //friend class SkPDFImageShader;
314 }; 313 };
315 314
316 #endif 315 #endif
OLDNEW
« no previous file with comments | « src/gpu/GrTextContext.cpp ('k') | src/pdf/SkPDFDevice.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698