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

Side by Side Diff: Source/platform/graphics/GraphicsTypes.h

Issue 658603002: 2D canvas: fix shadow rendering with compositing modes that require temp layers (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: comment 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 | Annotate | Revision Log
« no previous file with comments | « Source/platform/graphics/GraphicsContext.cpp ('k') | no next file » | 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 * Copyright (C) 2004, 2005, 2006 Apple Computer, Inc. All rights reserved. 2 * Copyright (C) 2004, 2005, 2006 Apple Computer, Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 1. Redistributions of source code must retain the above copyright 7 * 1. Redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer. 8 * notice, this list of conditions and the following disclaimer.
9 * 2. Redistributions in binary form must reproduce the above copyright 9 * 2. Redistributions in binary form must reproduce the above copyright
10 * notice, this list of conditions and the following disclaimer in the 10 * notice, this list of conditions and the following disclaimer in the
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
65 CompositeDestinationOver, 65 CompositeDestinationOver,
66 CompositeDestinationIn, 66 CompositeDestinationIn,
67 CompositeDestinationOut, 67 CompositeDestinationOut,
68 CompositeDestinationAtop, 68 CompositeDestinationAtop,
69 CompositeXOR, 69 CompositeXOR,
70 CompositePlusDarker, 70 CompositePlusDarker,
71 CompositePlusLighter, 71 CompositePlusLighter,
72 CompositeDifference 72 CompositeDifference
73 }; 73 };
74 74
75 enum ShadowMode {
76 DrawShadowAndForeground,
77 DrawShadowOnly,
78 };
79
75 enum GradientSpreadMethod { 80 enum GradientSpreadMethod {
76 SpreadMethodPad, 81 SpreadMethodPad,
77 SpreadMethodReflect, 82 SpreadMethodReflect,
78 SpreadMethodRepeat 83 SpreadMethodRepeat
79 }; 84 };
80 85
81 enum LineCap { 86 enum LineCap {
82 ButtCap = SkPaint::kButt_Cap, 87 ButtCap = SkPaint::kButt_Cap,
83 RoundCap = SkPaint::kRound_Cap, 88 RoundCap = SkPaint::kRound_Cap,
84 SquareCap = SkPaint::kSquare_Cap 89 SquareCap = SkPaint::kSquare_Cap
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
125 130
126 PLATFORM_EXPORT String textAlignName(TextAlign); 131 PLATFORM_EXPORT String textAlignName(TextAlign);
127 PLATFORM_EXPORT bool parseTextAlign(const String&, TextAlign&); 132 PLATFORM_EXPORT bool parseTextAlign(const String&, TextAlign&);
128 133
129 PLATFORM_EXPORT String textBaselineName(TextBaseline); 134 PLATFORM_EXPORT String textBaselineName(TextBaseline);
130 PLATFORM_EXPORT bool parseTextBaseline(const String&, TextBaseline&); 135 PLATFORM_EXPORT bool parseTextBaseline(const String&, TextBaseline&);
131 136
132 } // namespace blink 137 } // namespace blink
133 138
134 #endif 139 #endif
OLDNEW
« no previous file with comments | « Source/platform/graphics/GraphicsContext.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698