Home
last modified time | relevance | path

Searched refs:fillColor (Results 1 – 25 of 44) sorted by relevance

12

/external/webkit/Source/WebCore/platform/graphics/win/
DFontCGWin.cpp133 Color fillColor = graphicsContext->fillColor(); in drawGDIGlyphs() local
138 if (!fillColor.alpha()) in drawGDIGlyphs()
141 drawIntoBitmap = fillColor.alpha() != 255 || graphicsContext->inTransparencyLayer(); in drawGDIGlyphs()
196 SetTextColor(hdc, RGB(fillColor.red(), fillColor.green(), fillColor.blue())); in drawGDIGlyphs()
289 UInt8 alpha = (255 - buffer[i + 1]) * fillColor.alpha() / 255; in drawGDIGlyphs()
290 buffer[i] = fillColor.blue(); in drawGDIGlyphs()
291 buffer[i + 1] = fillColor.green(); in drawGDIGlyphs()
292 buffer[i + 2] = fillColor.red(); in drawGDIGlyphs()
368 Color fillColor = graphicsContext->fillColor(); in drawGlyphs() local
369 …lor.red(), shadowColor.green(), shadowColor.blue(), shadowColor.alpha() * fillColor.alpha() / 255); in drawGlyphs()
[all …]
DGraphicsContextCairoWin.cpp85 setPlatformFillColor(fillColor(), fillColorSpace()); in platformInit()
/external/webkit/Source/WebCore/platform/graphics/android/context/
DPlatformGraphicsContext.cpp103 , fillColor(SK_ColorBLACK) in State()
122 , fillColor(other.fillColor) in State()
252 if (m_state->fillColor != c.rgb()) { in setFillColor()
253 m_state->fillColor = c.rgb(); in setFillColor()
262 if (fillShader && m_state->fillColor != Color::black) { in setFillShader()
263 m_state->fillColor = Color::black; in setFillShader()
418 paint->setColor(m_state->applyAlpha(m_state->fillColor)); in setupPaintFill()
DPlatformGraphicsContextSkia.cpp280 if (m_state->fillColor & 0xFF000000) { in drawConvexPolygon()
299 if (m_state->fillColor & 0xFF000000) { in drawEllipse()
462 if (m_state->fillColor & 0xFF000000) { in drawRect()
DGraphicsContextAndroid.cpp88 pgc->setFillColor(gc->state().fillColor); in syncPlatformContext()
147 return m_state.fillColor.rgb(); in willFill()
/external/chromium/chrome/browser/ui/cocoa/
Dprofile_menu_button.mm40 fillColor:(NSColor*)fillColor
215 fillColor:(NSColor*)fillColor
243 [fillColor set];
302 NSColor* fillColor = [NSColor colorWithCalibratedRed:122.0/255.0
308 fillColor:fillColor
/external/webkit/Source/WebCore/platform/wx/wxcode/mac/carbon/
Dnon-kerned-drawing.cpp51 graphicsContext->setFillColor(graphicsContext->fillColor(), ColorSpaceDeviceRGB); in drawTextWithSpacing()
62 graphicsContext->fillColor().getRGBA(red, green, blue, alpha); in drawTextWithSpacing()
/external/webkit/Source/WebCore/inspector/
DDOMNodeHighlighter.cpp60 void drawOutlinedQuad(GraphicsContext& context, const FloatQuad& quad, const Color& fillColor) in drawOutlinedQuad() argument
81 context.setFillColor(fillColor, ColorSpaceDeviceRGB); in drawOutlinedQuad()
85 …GraphicsContext& context, const FloatQuad& quad, const FloatQuad& clipQuad, const Color& fillColor) in drawOutlinedQuadWithClip() argument
90 drawOutlinedQuad(context, quad, fillColor); in drawOutlinedQuadWithClip()
/external/webkit/Source/WebCore/platform/graphics/openvg/
DPainterOpenVG.cpp116 Color fillColor; member
137 , fillColor(Color::black) in PlatformPainterState()
183 fillColor = other->fillColor; in copyPaintState()
201 setVGSolidColor(VG_FILL_PATH, fillColor); in applyState()
378 return (compositeOperation == CompositeSourceOver && !fillColor.alpha()); in fillDisabled()
641 Color PainterOpenVG::fillColor() const in fillColor() function in WebCore::PainterOpenVG
644 return m_state->fillColor; in fillColor()
652 m_state->fillColor = color; in setFillColor()
DGraphicsContextOpenVG.cpp168 Color oldColor = m_data->fillColor(); in fillRect()
181 Color oldColor = m_data->fillColor(); in fillRoundedRect()
DPainterOpenVG.h91 Color fillColor() const;
/external/webkit/Source/WebCore/rendering/
DEllipsisBox.cpp37 if (textColor != context->fillColor()) in paint()
59 if (textColor != context->fillColor()) in paint()
DInlineTextBox.cpp320 void updateGraphicsContext(GraphicsContext* context, const Color& fillColor, const Color& strokeCol… in updateGraphicsContext() argument
331 …if (mode & TextModeFill && (fillColor != context->fillColor() || colorSpace != context->fillColorS… in updateGraphicsContext()
332 context->setFillColor(fillColor, colorSpace); in updateGraphicsContext()
393 Color fillColor = context->fillColor(); in paintTextWithShadows() local
395 bool opaque = fillColor.alpha() == 255; in paintTextWithShadows()
404 context->setFillColor(fillColor, fillColorSpace); in paintTextWithShadows()
DInlineTextBox.h39 void updateGraphicsContext(GraphicsContext*, const Color& fillColor, const Color& strokeColor, floa…
/external/webkit/Source/WebCore/platform/graphics/cg/
DGraphicsContextCG.cpp121 setPlatformFillColor(fillColor(), fillColorSpace()); in platformInit()
169 Color oldFillColor = fillColor(); in drawRect()
486 bool shouldFill = state.fillPattern || state.fillColor.alpha(); in calculateDrawingMode()
721 Color oldFillColor = fillColor(); in fillRect()
753 Color oldFillColor = fillColor(); in fillRoundedRect()
804 Color oldFillColor = fillColor(); in fillRectWithRoundedHole()
1262 if (fillColor() != strokeColor()) in drawLineForText()
1265 if (fillColor() != strokeColor()) in drawLineForText()
1266 setCGFillColor(platformContext(), fillColor(), fillColorSpace()); in drawLineForText()
/external/webkit/Source/WebCore/platform/graphics/mac/
DFontMac.mm229 Color fillColor = context->fillColor();
230 …lor.red(), shadowColor.green(), shadowColor.blue(), shadowColor.alpha() * fillColor.alpha() / 255);
238 context->setFillColor(fillColor, fillColorSpace);
/external/webkit/Source/WebCore/platform/graphics/cairo/
DGraphicsContextCairo.cpp86 setSourceRGBAFromColor(cr, context->fillColor()); in setPlatformFill()
265 if (fillColor().alpha()) in drawRect()
266 fillRectSourceOver(cr, rect, fillColor()); in drawRect()
386 if (fillColor().alpha()) { in drawEllipse()
387 setSourceRGBAFromColor(cr, fillColor()); in drawEllipse()
499 if (fillColor().alpha()) { in drawConvexPolygon()
500 setSourceRGBAFromColor(cr, fillColor()); in drawConvexPolygon()
DFontCairo.cpp137 context->fillColor().getRGBA(red, green, blue, alpha); in drawGlyphs()
/external/webkit/Source/WebCore/platform/graphics/wince/
DGraphicsContextWinCE.cpp643 if (fillColor().alpha()) { in drawRect()
644 brush = createBrush(fillColor()); in drawRect()
702 …if (!m_data->m_opacity || paintingDisabled() || (!fillColor().alpha() && strokeStyle() == NoStroke… in drawEllipse()
718 if (fillColor().alpha()) { in drawEllipse()
719 brush = createBrush(fillColor()); in drawEllipse()
900 if (fillColor().alpha()) { in drawConvexPolygon()
901 brush = createBrush(fillColor()); in drawConvexPolygon()
1330 : fillColor(); in fillPath()
1502 fillRect(rect, fillColor(), ColorSpaceDeviceRGB); in fillRect()
1535 if (paintingDisabled() || !fillColor().alpha() || !m_data->m_opacity) in drawText()
[all …]
/external/webkit/Source/WebCore/platform/graphics/haiku/
DFontHaiku.cpp76 Color color = graphicsContext->fillColor(); in drawGlyphs()
/external/webkit/Source/WebCore/platform/graphics/
DGraphicsContext.h170 , fillColor(Color::black) in GraphicsContextState()
206 Color fillColor; member
253 Color fillColor() const;
DGraphicsContext.cpp214 m_state.fillColor = color; in setFillColor()
221 Color GraphicsContext::fillColor() const in fillColor() function in WebCore::GraphicsContext
223 return m_state.fillColor; in fillColor()
641 Color oldFillColor = fillColor(); in fillRectWithRoundedHole()
/external/webkit/Source/WebCore/platform/graphics/chromium/
DFontLinux.cpp125 paint.setColor(gc->fillColor().rgb()); in drawGlyphs()
202 setupForTextPainting(&fillPaint, gc->fillColor().rgb()); in drawComplexText()
/external/webkit/Source/WebCore/platform/graphics/wx/
DFontWx.cpp74 Color color = graphicsContext->fillColor(); in drawGlyphs()
/external/webkit/Tools/DumpRenderTree/chromium/
DWebThemeControlDRTWin.cpp119 void WebThemeControlDRTWin::box(const SkIRect& rect, SkColor fillColor) in box() argument
124 paint.setColor(fillColor); in box()

12