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

Unified Diff: include/core/SkCanvas.h

Issue 22812014: Fix name of "bleed" flag (Closed) Base URL: http://skia.googlecode.com/svn/trunk/
Patch Set: Created 7 years, 4 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | src/core/SkCanvas.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: include/core/SkCanvas.h
===================================================================
--- include/core/SkCanvas.h (revision 10792)
+++ include/core/SkCanvas.h (working copy)
@@ -674,13 +674,13 @@
const SkPaint* paint = NULL);
enum DrawBitmapRectFlags {
- kNone_DrawBitmapRectflag = 0x0,
+ kNone_DrawBitmapRectFlag = 0x0,
/**
* When filtering is enabled, allow the color samples outside of
* the src rect (but still in the src bitmap) to bleed into the
* drawn portion
*/
- kBleed_DrawBitmapRectFlag = 0x1,
+ kBleed_DrawBitmapRectFlag = 0x1,
};
/** Draw the specified bitmap, with the specified matrix applied (before the
@@ -694,16 +694,16 @@
virtual void drawBitmapRectToRect(const SkBitmap& bitmap, const SkRect* src,
const SkRect& dst,
const SkPaint* paint = NULL,
- DrawBitmapRectFlags flags = kNone_DrawBitmapRectflag);
+ DrawBitmapRectFlags flags = kNone_DrawBitmapRectFlag);
void drawBitmapRect(const SkBitmap& bitmap, const SkRect& dst,
const SkPaint* paint = NULL) {
- this->drawBitmapRectToRect(bitmap, NULL, dst, paint, kNone_DrawBitmapRectflag);
+ this->drawBitmapRectToRect(bitmap, NULL, dst, paint, kNone_DrawBitmapRectFlag);
}
void drawBitmapRect(const SkBitmap& bitmap, const SkIRect* isrc,
const SkRect& dst, const SkPaint* paint = NULL,
- DrawBitmapRectFlags flags = kNone_DrawBitmapRectflag) {
+ DrawBitmapRectFlags flags = kNone_DrawBitmapRectFlag) {
SkRect realSrcStorage;
SkRect* realSrcPtr = NULL;
if (isrc) {
« no previous file with comments | « no previous file | src/core/SkCanvas.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698