Lines Matching full:graphicscontext
444 (WebCore::GraphicsContext::endTransparencyLayer):
1298 (WebCore::GraphicsContext::createImageBuffer): return 0 if malloc fails
1961 when set in the GraphicsContext. Remove setLineWidth since it is
1968 * platform/graphics/GraphicsContext.cpp:
1969 (WebCore::GraphicsContext::setPlatformStrokeThickness):
1970 (WebCore::GraphicsContext::setPlatformStrokeStyle):
1971 * platform/graphics/GraphicsContext.h:
1973 (WebCore::GraphicsContext::drawLine):
1974 (WebCore::GraphicsContext::drawEllipse):
1975 (WebCore::GraphicsContext::strokeArc):
1976 (WebCore::GraphicsContext::drawConvexPolygon):
1977 (WebCore::GraphicsContext::setPlatformStrokeThickness):
2003 Fix leak of CGContextRef from GraphicsContext::createImageBuffer.
2006 (WebCore::GraphicsContext::createImageBuffer): Release newly-created CGContextRef after passing it to GraphicsContext.
2400 Fix Qt/Linux build. Missing GraphicsContext.h include.
2412 Bring back masking, by adding off-screen rendering functionality in GraphicsContext.
2413 Add new "static GraphicsContext* createImageContext(const IntSize& size, bool grayScale)"
2421 handle (ie. CGImageRef for CG platform) plus the GraphicsContext pointer, obtained
2422 via GraphicsContext::createImageBuffer. Offer a generic logic for rendering subtrees
2445 * platform/graphics/GraphicsContext.h:
2450 (WebCore::GraphicsContext::createImageBuffer):
2459 (WebCore::GraphicsContext::createImageBuffer):
2490 constructing a GraphicsContextCG. Because Safari actually draws text in the bookmarks bar using GraphicsContext
2500 (WebCore::GraphicsContext::GraphicsContext):
2511 Adapt to the changes in GraphicsContext
2519 * platform/graphics/GraphicsContext.cpp:
2520 (WebCore::GraphicsContext::setStrokeThickness):
2521 (WebCore::GraphicsContext::strokeThickness):
2522 (WebCore::GraphicsContext::setPlatformStrokeThickness):
2523 * platform/graphics/GraphicsContext.h:
2525 (WebCore::GraphicsContext::drawEllipse):
2526 (WebCore::GraphicsContext::strokeArc):
2528 (WebCore::GraphicsContext::strokeArc):
2529 (WebCore::GraphicsContext::setPlatformStrokeThickness):
2544 * platform/graphics/GraphicsContext.h:
2546 (WebCore::GraphicsContext::strokeArc):
2548 (WebCore::GraphicsContext::strokeArc):
2683 * platform/graphics/GraphicsContext.cpp:
2685 (WebCore::GraphicsContext::setStrokeThickness):
2686 (WebCore::GraphicsContext::setStrokeStyle):
2687 (WebCore::GraphicsContext::setStrokeColor):
2688 (WebCore::GraphicsContext::strokeThickness):
2689 (WebCore::GraphicsContext::strokeStyle):
2690 (WebCore::GraphicsContext::strokeColor):
2691 (WebCore::GraphicsContext::setPlatformStrokeStyle):
2692 (WebCore::GraphicsContext::setPlatformStrokeThickness):
2693 * platform/graphics/GraphicsContext.h:
2696 (WebCore::GraphicsContext::drawRect):
2697 (WebCore::GraphicsContext::drawLine):
2698 (WebCore::GraphicsContext::drawEllipse):
2699 (WebCore::GraphicsContext::drawArc):
2700 (WebCore::GraphicsContext::drawConvexPolygon):
2701 (WebCore::GraphicsContext::drawLineForText):
2702 (WebCore::GraphicsContext::setPlatformStrokeColor):
2705 (WebCore::GraphicsContext::setPlatformStrokeColor):
2706 (WebCore::GraphicsContext::setPlatformStrokeStyle):
2707 (WebCore::GraphicsContext::setPlatformStrokeThickness):
2833 (3) Added a new API to GraphicsContext to set the text drawing mode to any combination of fill/stroke/clip.
2844 * platform/graphics/GraphicsContext.cpp:
2846 (WebCore::GraphicsContext::textDrawingMode):
2847 (WebCore::GraphicsContext::setTextDrawingMode):
2848 (WebCore::GraphicsContext::setPlatformTextDrawingMode):
2849 (WebCore::GraphicsContext::setPlatformPen):
2850 * platform/graphics/GraphicsContext.h:
2852 (WebCore::GraphicsContext::fillRect):
2853 (WebCore::GraphicsContext::setPlatformTextDrawingMode):
2854 (WebCore::GraphicsContext::setPlatformFillColor):
3010 color "[nsColor(graphicsContext->pen().color()) set];", and current code only
6110 * platform/graphics/GraphicsContext.h:
7643 * platform/graphics/GraphicsContext.h:
8111 WebCore (stuff like GraphicsContext changes etc.). It shares
8116 This layer was just obsolete, given the powerful GraphicsContext API we have
8220 * platform/graphics/GraphicsContext.h:
8279 (WebCore::GraphicsContext::beginPath):
8280 (WebCore::GraphicsContext::addPath):
8281 (WebCore::GraphicsContext::setFillRule):
8282 (WebCore::GraphicsContext::currentPath):
8283 (WebCore::GraphicsContext::strokeRect):
10584 (WebCore::GraphicsContext::addRoundedRectClip):
10585 (WebCore::GraphicsContext::setShadow):
10586 (WebCore::GraphicsContext::clearShadow):
10587 (WebCore::GraphicsContext::beginTransparencyLayer):
10588 (WebCore::GraphicsContext::endTransparencyLayer):
10589 (WebCore::GraphicsContext::clearRect):
10590 (WebCore::GraphicsContext::strokeRect):
10591 (WebCore::GraphicsContext::setLineWidth):
10592 (WebCore::GraphicsContext::setLineCap):
10593 (WebCore::GraphicsContext::setLineJoin):
10594 (WebCore::GraphicsContext::setMiterLimit):
10595 (WebCore::GraphicsContext::setAlpha):
10596 (WebCore::GraphicsContext::setCompositeOperation):
10597 (WebCore::GraphicsContext::clip):
10598 (WebCore::GraphicsContext::rotate):
10599 (WebCore::GraphicsContext::scale):
14475 Moved GraphicsContext and GraphicsTypes to their respective filters
14523 (WebCore::GraphicsContext::drawLineForMisspellingOrBadGrammar):
14810 * platform/graphics/GraphicsContext.cpp:
14811 (WebCore::GraphicsContext::setFont):
14812 (WebCore::GraphicsContext::setPen):
14813 (WebCore::GraphicsContext::setFillColor):
14814 (WebCore::GraphicsContext::setPlatformPen):
14815 (WebCore::GraphicsContext::setPlatformFillColor):
14816 (WebCore::GraphicsContext::setPlatformFont):
14817 * platform/graphics/GraphicsContext.h:
14825 (WebCore::GraphicsContext::addRoundedRectClip):
14826 (WebCore::GraphicsContext::setPlatformFont):
14827 (WebCore::GraphicsContext::setPlatformPen):
14828 (WebCore::GraphicsContext::setPlatformFillColor):
16026 * platform/GraphicsContext.cpp: Removed.
16027 * platform/GraphicsContext.h: Removed.
16030 * platform/graphics/GraphicsContext.cpp:
16033 (WebCore::GraphicsContext::createGraphicsContextPrivate):
16034 (WebCore::GraphicsContext::destroyGraphicsContextPrivate):
16035 (WebCore::GraphicsContext::save):
16036 (WebCore::GraphicsContext::restore):
16037 (WebCore::GraphicsContext::font):
16038 (WebCore::GraphicsContext::setFont):
16039 (WebCore::GraphicsContext::pen):
16040 (WebCore::GraphicsContext::setPen):
16041 (WebCore::GraphicsContext::setFillColor):
16042 (WebCore::GraphicsContext::fillColor):
16043 (WebCore::GraphicsContext::updatingControlTints):
16044 (WebCore::GraphicsContext::setUpdatingControlTints):
16045 (WebCore::GraphicsContext::setPaintingDisabled):
16046 (WebCore::GraphicsContext::paintingDisabled):
16047 (WebCore::GraphicsContext::drawImage):
16048 (WebCore::GraphicsContext::drawText):
16049 (WebCore::GraphicsContext::drawHighlightForText):
16050 (WebCore::GraphicsContext::initFocusRing):
16051 (WebCore::GraphicsContext::clearFocusRing):
16052 (WebCore::GraphicsContext::focusRingBoundingRect):
16053 (WebCore::GraphicsContext::addFocusRingRect):
16054 (WebCore::GraphicsContext::focusRingWidth):
16055 (WebCore::GraphicsContext::focusRingOffset):
16056 (WebCore::GraphicsContext::focusRingRects):
16057 (WebCore::GraphicsContext::drawTiledImage):
16058 * platform/graphics/GraphicsContext.h:
16390 * platform/GraphicsContext.cpp: Added.
16393 (WebCore::GraphicsContext::createGraphicsContextPrivate):
16394 (WebCore::GraphicsContext::destroyGraphicsContextPrivate):
16395 (WebCore::GraphicsContext::save):
16396 (WebCore::GraphicsContext::restore):
16397 (WebCore::GraphicsContext::font):
16398 (WebCore::GraphicsContext::setFont):
16399 (WebCore::GraphicsContext::pen):
16400 (WebCore::GraphicsContext::setPen):
16401 (WebCore::GraphicsContext::setFillColor):
16402 (WebCore::GraphicsContext::fillColor):
16403 (WebCore::GraphicsContext::updatingControlTints):
16404 (WebCore::GraphicsContext::setUpdatingControlTints):
16405 (WebCore::GraphicsContext::setPaintingDisabled):
16406 (WebCore::GraphicsContext::paintingDisabled):
16407 (WebCore::GraphicsContext::drawImage):
16408 (WebCore::GraphicsContext::drawText):
16409 (WebCore::GraphicsContext::drawHighlightForText):
16410 (WebCore::GraphicsContext::initFocusRing):
16411 (WebCore::GraphicsContext::clearFocusRing):
16412 (WebCore::GraphicsContext::focusRingBoundingRect):
16413 (WebCore::GraphicsContext::addFocusRingRect):
16414 (WebCore::GraphicsContext::focusRingWidth):
16415 (WebCore::GraphicsContext::focusRingOffset):
16416 (WebCore::GraphicsContext::focusRingRects):
16417 (WebCore::GraphicsContext::drawTiledImage):
16418 * platform/GraphicsContext.h: Added.
16429 * platform/graphics/GraphicsContext.cpp:
16430 * platform/graphics/GraphicsContext.h:
18381 (WebCore::GraphicsContext::drawLineForMisspellingOrBadGrammar):
18527 * platform/GraphicsContext.h:
18532 (WebCore::GraphicsContext::drawLineForMisspellingOrBadGrammar):
22182 (WebCore::GraphicsContext::getWindowsContext):
22183 (WebCore::GraphicsContext::releaseWindowsContext):
22513 (WebCore::GraphicsContext::setURLForRect):
22607 * platform/GraphicsContext.cpp:
22608 (WebCore::GraphicsContext::focusRingBoundingRect):
22609 * platform/GraphicsContext.h:
22611 (WebCore::GraphicsContext::setURLForRect):
22613 (WebCore::GraphicsContext::setURLForRect): Implement method to add
22706 * platform/GraphicsContext.h:
22708 (WebCore::GraphicsContext::beginTransparencyLayer):
22709 (WebCore::GraphicsContext::endTransparencyLayer):
24446 (WebCore::GraphicsContext::drawConvexPolygon):
25189 * platform/GraphicsContext.h:
25191 (WebCore::GraphicsContext::clip):
25193 (WebCore::GraphicsContext::savePlatformState):
25194 (WebCore::GraphicsContext::restorePlatformState):
25195 (WebCore::GraphicsContext::clip):
25196 (WebCore::GraphicsContext::addRoundedRectClip):
25197 (WebCore::GraphicsContext::addInnerRoundedRectClip):
25198 (WebCore::GraphicsContext::scale):
25199 (WebCore::GraphicsContext::rotate):
25200 (WebCore::GraphicsContext::translate):
25201 (WebCore::GraphicsContext::concatCTM):
25211 (WebCore::GraphicsContext::clip):
25212 (WebCore::GraphicsContext::addInnerRoundedRectClip):
25213 (WebCore::GraphicsContext::addRoundedRectClip):
25938 (GraphicsContext::clip):
27822 (WebCore::GraphicsContext::getWindowsContext):
27823 (WebCore::GraphicsContext::releaseWindowsContext):
28160 (WebCore::GraphicsContext::translate): Make it actually translate, not scale! :-)
28161 (WebCore::GraphicsContext::origin):
28182 Build fix for Xcode 2.3. Convert GraphicsContext::translate() to
28186 * platform/GraphicsContext.h:
28188 (WebCore::GraphicsContext::translate):
28190 (WebCore::GraphicsContext::translate):
28293 (WebCore::GraphicsContext::translate):
28317 GraphicsContext.h:
28321 (WebCore::GraphicsContext::translate):
28322 (WebCore::GraphicsContext::origin):
28344 (GraphicsContext::clip):
28368 Add utility functions to get and release HDC from GraphicsContext.
28370 * platform/GraphicsContext.h: Add utilities to get and release HDC.
28409 (WebCore::GraphicsContext::concatCTM):
31614 Add an "isPrinting" flag to many of the text drawing functions in order to avoid the need for a GraphicsContext::isPrinting() function.
31631 * platform/GraphicsContext.cpp:
31632 (WebCore::GraphicsContext::drawText):
31633 * platform/GraphicsContext.h:
31642 (WebCore::GraphicsContext::drawLineForMisspelling):
32396 * platform/GraphicsContext.h: Removed unneeded include of Font.h. Changed drawText
32399 * platform/GraphicsContext.cpp: (WebCore::GraphicsContext::drawText): Added overload.
32815 * platform/GraphicsContext.h: Ditto.
32817 * platform/GraphicsContext.cpp: Removed unneeded include of "DeprecatedString.h".
34891 (WebCore::GraphicsContext::fillRect):
35274 (WebCore::GraphicsContext::drawConvexPolygon):
35951 (WebCore::GraphicsContext::drawConvexPolygon):
36048 (WebCore::GraphicsContext::drawConvexPolygon):
36106 * platform/GraphicsContext.h: Added argument for antialiasing.
36107 * platform/cg/GraphicsContextCG.cpp: (WebCore::GraphicsContext::drawConvexPolygon): ditto.
36108 * platform/cairo/GraphicsContextCairo.cpp: (WebCore::GraphicsContext::drawConvexPolygon): ditto.
36749 (WebCore::GraphicsContext::GraphicsContext):
36750 (WebCore::GraphicsContext::drawConvexPolygon):
36751 (WebCore::GraphicsContext::setFocusRingClip):
36752 (WebCore::GraphicsContext::clip):
37008 * platform/GraphicsContext.h:
37025 (WebCore::GraphicsContext::GraphicsContext):
37026 (WebCore::GraphicsContext::~GraphicsContext):
37027 (WebCore::GraphicsContext::setFocusRingClip):
37028 (WebCore::GraphicsContext::clearFocusRingClip):
37029 (WebCore::GraphicsContext::platformContext):
37030 (WebCore::GraphicsContext::drawRect):
37031 (WebCore::GraphicsContext::drawLine):
37104 (WebCore::GraphicsContext::GraphicsContext):
37105 (WebCore::GraphicsContext::~GraphicsContext):
37106 (WebCore::GraphicsContext::platformContext):
37107 (WebCore::GraphicsContext::savePlatformState):
37108 (WebCore::GraphicsContext::restorePlatformState):
37109 (WebCore::GraphicsContext::drawRect):
37111 (WebCore::GraphicsContext::drawLine):
37112 (WebCore::GraphicsContext::drawEllipse):
37113 (WebCore::GraphicsContext::drawArc):
37114 (WebCore::GraphicsContext::drawConvexPolygon):
37115 (WebCore::GraphicsContext::fillRect):
37116 (WebCore::GraphicsContext::addClip):
37117 (WebCore::GraphicsContext::drawFocusRing):
37118 (WebCore::GraphicsContext::setFocusRingClip):
37119 (WebCore::GraphicsContext::clearFocusRingClip):
37120 (WebCore::GraphicsContext::drawLineForText):
37121 (WebCore::GraphicsContext::drawLineForMisspelling):
37122 (WebCore::GraphicsContext::roundToDevicePixels):
37123 (WebCore::GraphicsContext::setShadow):
37124 (WebCore::GraphicsContext::clearShadow):
37125 (WebCore::GraphicsContext::beginTransparencyLayer):
37126 (WebCore::GraphicsContext::endTransparencyLayer):
37127 (WebCore::GraphicsContext::clearRect):
37128 (WebCore::GraphicsContext::strokeRect):
37129 (WebCore::GraphicsContext::setLineWidth):
37130 (WebCore::GraphicsContext::setLineCap):
37131 (WebCore::GraphicsContext::setLineJoin):
37132 (WebCore::GraphicsContext::setMiterLimit):
37133 (WebCore::GraphicsContext::setAlpha):
37134 (WebCore::GraphicsContext::setCompositeOperation):
37135 (WebCore::GraphicsContext::clip):
37136 (WebCore::GraphicsContext::translate):
37137 (WebCore::GraphicsContext::rotate):
37138 (WebCore::GraphicsContext::scale):
37139 (WebCore::GraphicsContext::addInnerRoundedRectClip):
37140 (WebCore::GraphicsContext::addRoundedRectClip):
37141 (WebCore::GraphicsContext::createRenderingDeviceContext):
38256 * platform/GraphicsContext.h:
38960 * platform/GraphicsContext.h: Added concatCTM
38962 (WebCore::GraphicsContext::concatCTM): Added.
39514 * platform/GraphicsContext.h:
39858 * platform/GraphicsContext.h:
39885 (WebCore::GraphicsContext::drawFocusRing):
42508 (WebCore::GraphicsContext::roundToDevicePixels):
44103 * platform/GraphicsContext.h:
46141 * platform/GraphicsContext.cpp:
46142 (WebCore::GraphicsContext::drawTiledImage):
46143 * platform/GraphicsContext.h: drawTiledImage() now takes a
47463 (WebCore::GraphicsContext::drawLineForMisspelling): We need to call
48031 (WebCore::GraphicsContext::roundToDevicePixels): Instead of transforming rect to device space
48399 (WebCore::GraphicsContext::drawLineForMisspelling):
49500 (GraphicsContext::scale):
49525 * platform/GraphicsContext.h:
49536 (WebCore::GraphicsContext::GraphicsContext):
49537 (WebCore::GraphicsContext::roundToDevicePixels):
49633 the selection state from the GraphicsContext and move it to the RenderTheme.
49657 * platform/GraphicsContext.cpp:
49659 * platform/GraphicsContext.h:
49662 (GraphicsContext::endTransparencyLayer):
49728 (GraphicsContext::addRoundedRectClip):
49729 (GraphicsContext::addInnerRoundedRectClip):
50304 * platform/GraphicsContext.h:
50306 (WebCore::GraphicsContext::roundToDevicePixels): Takes care of
50308 (WebCore::GraphicsContext::drawLineForText):
51327 * platform/GraphicsContext.h:
51329 (WebCore::GraphicsContext::drawArc): drawArc() has different
51332 (WebCore::GraphicsContext::addRoundedRectClip): Just a stub.
51334 (WebCore::GraphicsContext::addInnerRoundedRectClip): Just a stub.
51337 (WebCore::GraphicsContext::drawArc): drawArc() now handles drawing
51341 (WebCore::GraphicsContext::addInnerRoundedRectClip): Adds a clip to
55522 * platform/GraphicsContext.cpp:
55523 (WebCore::GraphicsContext::drawText):
55524 (WebCore::GraphicsContext::drawHighlightForText):
55525 * platform/GraphicsContext.h:
55570 * platform/GraphicsContext.cpp:
55571 * platform/GraphicsContext.h:
55573 (WebCore::GraphicsContext::drawLineForMisspelling):
55577 (WebCore::GraphicsContext::drawLineForMisspelling):
55591 * platform/GraphicsContext.cpp:
55592 GraphicsContext.h:
55594 (WebCore::GraphicsContext::drawLineForText):
55596 (WebCore::GraphicsContext::drawLineForText):
55673 implemented by the GraphicsContext. The platform-specific implementations
55681 Font to return a FloatRect so that the GraphicsContext can do an accurate
55684 * platform/GraphicsContext.cpp:
55685 (WebCore::GraphicsContext::drawHighlightForText):
55690 * platform/GraphicsContext.h:
55692 (WebCore::GraphicsContext::fillRect):
55694 (WebCore::GraphicsContext::fillRect):
55709 so that the GraphicsContext can do a precise fill.
55804 make it the new API for Font and GraphicsContext when drawing/measuring
55829 * platform/GraphicsContext.cpp:
55830 (WebCore::GraphicsContext::drawText):
55831 (WebCore::GraphicsContext::drawHighlightForText):
55832 * platform/GraphicsContext.h: