Searched defs:resourceMode (Results 1 - 6 of 6) sorted by relevance

/external/chromium_org/third_party/WebKit/Source/core/rendering/svg/
H A DRenderSVGResourceSolidColor.cpp43 bool RenderSVGResourceSolidColor::applyResource(RenderObject* object, RenderStyle* style, GraphicsContext*& context, unsigned short resourceMode) argument
49 ASSERT(resourceMode != ApplyToDefaultMode);
57 if (resourceMode & ApplyToFillMode) {
66 if (resourceMode & ApplyToTextMode)
68 } else if (resourceMode & ApplyToStrokeMode) {
77 if (resourceMode & ApplyToTextMode)
84 void RenderSVGResourceSolidColor::postApplyResource(RenderObject*, GraphicsContext*& context, unsigned short resourceMode, const Path* path, const RenderSVGShape* shape) argument
87 ASSERT(resourceMode != ApplyToDefaultMode);
89 if (resourceMode & ApplyToFillMode) {
95 if (resourceMode
[all...]
H A DRenderSVGResourceGradient.cpp53 bool RenderSVGResourceGradient::applyResource(RenderObject* object, RenderStyle* style, GraphicsContext*& context, unsigned short resourceMode) argument
58 ASSERT(resourceMode != ApplyToDefaultMode);
88 bool isPaintingText = resourceMode & ApplyToTextMode;
121 context->setTextDrawingMode(resourceMode & ApplyToFillMode ? TextModeFill : TextModeStroke);
126 if (resourceMode & ApplyToFillMode) {
130 } else if (resourceMode & ApplyToStrokeMode) {
141 void RenderSVGResourceGradient::postApplyResource(RenderObject*, GraphicsContext*& context, unsigned short resourceMode, const Path* path, const RenderSVGShape* shape) argument
144 ASSERT(resourceMode != ApplyToDefaultMode);
146 if (resourceMode & ApplyToFillMode) {
152 if (resourceMode
[all...]
H A DRenderSVGResourceMasker.cpp59 GraphicsContext*& context, unsigned short resourceMode)
64 ASSERT_UNUSED(resourceMode, resourceMode == ApplyToDefaultMode);
80 unsigned short resourceMode, const Path*, const RenderSVGShape*)
85 ASSERT_UNUSED(resourceMode, resourceMode == ApplyToDefaultMode);
58 applyResource(RenderObject* object, RenderStyle*, GraphicsContext*& context, unsigned short resourceMode) argument
79 postApplyResource(RenderObject* object, GraphicsContext*& context, unsigned short resourceMode, const Path*, const RenderSVGShape*) argument
H A DRenderSVGResourcePattern.cpp54 PatternData* RenderSVGResourcePattern::buildPattern(RenderObject* object, unsigned short resourceMode) argument
121 if (resourceMode & ApplyToTextMode) {
134 bool RenderSVGResourcePattern::applyResource(RenderObject* object, RenderStyle* style, GraphicsContext*& context, unsigned short resourceMode) argument
139 ASSERT(resourceMode != ApplyToDefaultMode);
149 PatternData* patternData = buildPattern(object, resourceMode);
159 if (resourceMode & ApplyToFillMode) {
163 } else if (resourceMode & ApplyToStrokeMode) {
171 if (resourceMode & ApplyToTextMode) {
172 if (resourceMode & ApplyToFillMode)
174 else if (resourceMode
181 postApplyResource(RenderObject*, GraphicsContext*& context, unsigned short resourceMode, const Path* path, const RenderSVGShape* shape) argument
[all...]
H A DRenderSVGResourceFilter.cpp146 bool RenderSVGResourceFilter::applyResource(RenderObject* object, RenderStyle*, GraphicsContext*& context, unsigned short resourceMode) argument
150 ASSERT_UNUSED(resourceMode, resourceMode == ApplyToDefaultMode);
265 void RenderSVGResourceFilter::postApplyResource(RenderObject* object, GraphicsContext*& context, unsigned short resourceMode, const Path*, const RenderSVGShape*) argument
269 ASSERT_UNUSED(resourceMode, resourceMode == ApplyToDefaultMode);
H A DSVGTextRunRenderingContext.cpp123 RenderSVGResourceMode resourceMode = context->textDrawingMode() == TextModeStroke ? ApplyToStrokeMode : ApplyToFillMode; local
157 if (activePaintingResource->applyResource(parentRenderObject, parentRenderObjectStyle, context, resourceMode)) {
161 activePaintingResource->postApplyResource(parentRenderObject, context, resourceMode, &glyphPath, 0);

Completed in 164 milliseconds