Home | History | Annotate | Download | only in WebCore

Lines Matching full:graphicscontext

259               this transformation matrix to the GraphicsContext CTM, resulting in a source of numerical imprecision.
265 To remove the scale from the current GraphicsContext CTM, "context->scale(FloatSize(1 / scalingFactor, ...)" is used. As AffineTransform stores
272 -> Add GraphicsContext::setCTM(const AffineTransform&) and implement it for all platforms (each explicitely exposes a 'setCTM' concept, except CG)
275 -> Instead of scaling the GraphicsContext before drawing text, grab the current CTM using context->getCTM(), scale it by '1 / scalingFactor'
277 After drawing, just switch back to the preserved original CTM, both operations need GraphicsContext::setCTM.
279 The use of GraphicsContext::setCTM() allows to switch between arbitary context transformations _without_ inducing accumulated rounding imprecision.
286 GraphicsContext.h: Add setCTM(const AffineTransform&) method.
288 (WebCore::GraphicsContext::setCTM): Implement setCTM.
292 (WebCore::GraphicsContext::setCTM): Ditto.
299 (WebCore::GraphicsContext::setCTM): Ditto.
301 (WebCore::GraphicsContext::setCTM): Ditto.
303 (WebCore::GraphicsContext::setCTM): Ditto.
305 (WebCore::GraphicsContext::setCTM): Ditto.
311 (WebCore::GraphicsContext::setCTM):
313 (WebCore::GraphicsContext::setCTM): Ditto.
1109 GraphicsContext, rather than asking about compositing layers.
1111 * platform/graphics/GraphicsContext.h:
1113 (WebCore::GraphicsContext::setIsCALayerContext):
1114 (WebCore::GraphicsContext::isCALayerContext):
1137 state down onto ScrollAnimatorMac, getting it from the GraphicsContext.
1744 GraphicsContext: Add clip(IntRect) overload for Qt
1748 Add a GraphicsContext::clip() overload to allow us to take
1751 * platform/graphics/GraphicsContext.cpp:
1752 (WebCore::GraphicsContext::clip):
1753 * platform/graphics/GraphicsContext.h:
1755 (WebCore::GraphicsContext::clip):
3980 ring to be 5px. This is propagated until GraphicsContext::drawFocusRing which uses
3987 (WebCore::GraphicsContext::drawFocusRing):
6163 * platform/graphics/GraphicsContext.cpp:
6164 (WebCore::GraphicsContext::drawImageBuffer):
10412 (WebCore::GraphicsContext::roundToDevicePixels):
10430 (WebCore::GraphicsContext::fillPath):
10431 (WebCore::GraphicsContext::strokePath):
10538 (WebCore::GraphicsContext::drawRect):
10539 (WebCore::GraphicsContext::drawEllipse):
10540 (WebCore::GraphicsContext::strokeArc):
10541 (WebCore::GraphicsContext::clip):
10542 (WebCore::GraphicsContext::clipOut):
10543 (WebCore::GraphicsContext::strokeRect):
11245 (WebCore::GraphicsContext::drawRect):
11246 (WebCore::GraphicsContext::fillPath):
11247 (WebCore::GraphicsContext::fillRect):
12084 content into the GraphicsContext, regardless of accelerated
12853 * platform/graphics/GraphicsContext.cpp: #ifdef out
12857 (WebCore::GraphicsContext::fillRectWithRoundedHole): If there's
12920 Add a new method to GraphicsContext to render a rect with a rounded hole,
12924 * platform/graphics/GraphicsContext.cpp:
12925 (WebCore::GraphicsContext::fillRectWithRoundedHole):
12926 * platform/graphics/GraphicsContext.h:
12983 * platform/graphics/GraphicsContext.cpp:
12984 (WebCore::GraphicsContext::setLegacyShadow): Set the m_state.shadowsUseLegacyRadius bit.
12986 * platform/graphics/GraphicsContext.h:
12995 (WebCore::GraphicsContext::fillRect): Use ShadowBlur if not canvas.
12996 (WebCore::GraphicsContext::fillRoundedRect): Ditto.
12997 (WebCore::GraphicsContext::setPlatformShadow): Comment.
13115 It depends on one new method, GraphicsContext::clipBounds(),
13122 * platform/graphics/GraphicsContext.cpp:
13123 (WebCore::GraphicsContext::clipBounds):
13124 * platform/graphics/GraphicsContext.h:
13147 (WebCore::GraphicsContext::clipBounds):
16499 [SKIA] Remove "current path" of GraphicsContext
16502 * platform/graphics/GraphicsContext.h:
16504 (WebCore::GraphicsContext::clipPath):
16505 (WebCore::GraphicsContext::fillPath):
16506 (WebCore::GraphicsContext::strokePath):
17181 GraphicsContext. Also, the CTM needs to be adjusted (translated).
17187 (WebCore::GraphicsContext::fillRect):
18396 (WebCore::GraphicsContext::rotate):
18615 (WebCore::GraphicsContext::rotate):
18845 (WebCore::GraphicsContext::rotate):
19146 (WebCore::GraphicsContext::drawText):
19328 (WebCore::GraphicsContext::drawText):
19485 [Qt] Always set composition mode through GraphicsContext
19488 GraphicsContext tracks the current composition mode so we should
19491 * platform/graphics/GraphicsContext.h:
19538 (WebCore::GraphicsContext::clearRect):
19539 (WebCore::GraphicsContext::setPlatformCompositeOperation):
21539 (WebCore::GraphicsContext::canvasClip):
21540 (WebCore::GraphicsContext::clipOut):
21541 (WebCore::GraphicsContext::clipPath):
21542 (WebCore::GraphicsContext::fillPath):
22092 [Qt] GraphicsContext::strokePath() paints solid shadows with incorrect alpha
22103 (WebCore::GraphicsContext::strokePath):
22531 (WebCore::GraphicsContext::canvasClip):
22532 (WebCore::GraphicsContext::clipOut):
22533 (WebCore::GraphicsContext::clipPath):
22534 (WebCore::GraphicsContext::fillPath):
22723 * platform/graphics/GraphicsContext.cpp:
22881 (WebCore::GraphicsContext::canvasClip):
22882 (WebCore::GraphicsContext::clipOut):
22883 (WebCore::GraphicsContext::clipPath):
22884 (WebCore::GraphicsContext::fillPath):
23632 return RoundedIntRect and GraphicsContext::addRoundedRectClip(), GraphicsContext::fillRoundedRect()
23642 * platform/graphics/GraphicsContext.cpp:
23643 (WebCore::GraphicsContext::addRoundedRectClip):
23644 (WebCore::GraphicsContext::clipOutRoundedRect):
23645 (WebCore::GraphicsContext::fillRoundedRect):
23646 * platform/graphics/GraphicsContext.h:
23722 return RoundedIntRect and GraphicsContext::addRoundedRectClip(), GraphicsContext::fillRoundedRect()
23732 * platform/graphics/GraphicsContext.cpp:
23733 (WebCore::GraphicsContext::addRoundedRectClip):
23734 (WebCore::GraphicsContext::clipOutRoundedRect):
23735 (WebCore::GraphicsContext::fillRoundedRect):
23736 * platform/graphics/GraphicsContext.h:
23993 (WebCore::GraphicsContext::fillPath):
24025 (WebCore::GraphicsContext::fillRect):
24180 * platform/graphics/GraphicsContext.cpp:
24181 (WebCore::GraphicsContext::addRoundedRectClip):
24182 (WebCore::GraphicsContext::clipOutRoundedRect):
24183 * platform/graphics/GraphicsContext.h:
24393 return RoundedIntRect and GraphicsContext::addRoundedRectClip(), GraphicsContext::fillRoundedRect()
24403 * platform/graphics/GraphicsContext.cpp:
24404 (WebCore::GraphicsContext::addRoundedRectClip):
24405 (WebCore::GraphicsContext::clipOutRoundedRect):
24406 (WebCore::GraphicsContext::fillRoundedRect):
24407 * platform/graphics/GraphicsContext.h:
24763 (WebCore::GraphicsContext::fillPath):
25295 (WebCore::GraphicsContext::fillPath):
25798 in GraphicsContext::fillPath(const Path& path). We need to draw the
25800 layer on the GraphicsContext.
25805 (WebCore::GraphicsContext::fillPath):
29317 (WebCore::GraphicsContext::fillPath):
29440 * platform/graphics/GraphicsContext.cpp:
29441 * platform/graphics/GraphicsContext.h:
29981 in GraphicsContext::fillPath(const Path& path). We need to draw the
29983 layer on the GraphicsContext.
29988 (WebCore::GraphicsContext::fillPath):
31492 [Qt] GraphicsContext::drawConvexPolygon() has unnecessary code for shadow
31501 (WebCore::GraphicsContext::drawConvexPolygon):
31924 [Qt][GTK] Use GraphicsContext::hasShadow() in port-specific code
31927 r75139 introduced GraphicsContext::hasShadow(). This can now simplify
31933 (WebCore::GraphicsContext::fillRect):
31934 (WebCore::GraphicsContext::fillRoundedRect):
31937 (WebCore::GraphicsContext::drawConvexPolygon):
31938 (WebCore::GraphicsContext::fillPath):
31939 (WebCore::GraphicsContext::strokePath):
31940 (WebCore::GraphicsContext::fillRect):
31941 (WebCore::GraphicsContext::fillRoundedRect):
31975 GraphicsContext::fillRect(const FloatRect&) is clipping to the rect.
31978 required), then render the layer to the GraphicsContext.
31991 (WebCore::GraphicsContext::fillRect):
33375 which does exactly the same as GraphicsContext::getCTM().
33402 (WebCore::GraphicsContext::fillPath):
33403 (WebCore::GraphicsContext::strokePath):
33404 (WebCore::GraphicsContext::fillRect):
33405 (WebCore::GraphicsContext::fillRoundedRect):
33638 (WebCore::GraphicsContext::fillRect): Use start/endRadius() rather than r0() and r1().
35682 (WebCore::GraphicsContext::releaseWindowsContext):
35683 (WebCore::GraphicsContext::drawWindowsBitmap):
35717 [Qt] GraphicsContext::getCTM() does not need to make a copy of QPainter::combinedTransform()
35721 in GraphicsContext::getCTM()
35724 (WebCore::GraphicsContext::getCTM):
36254 GraphicsContext: Don't pass StrokeStyle (enum) as const reference
36257 * platform/graphics/GraphicsContext.cpp:
36258 (WebCore::GraphicsContext::setStrokeStyle):
36259 (WebCore::GraphicsContext::setPlatformStrokeStyle):
36260 (WebCore::GraphicsContext::adjustLineToPixelBoundaries):
36261 * platform/graphics/GraphicsContext.h:
36263 (WebCore::GraphicsContext::setPlatformStrokeStyle):
36265 (WebCore::GraphicsContext::setPlatformStrokeStyle):
36267 (WebCore::GraphicsContext::setPlatformStrokeStyle):
36272 (WebCore::GraphicsContext::setPlatformStrokeStyle):
36274 (WebCore::GraphicsContext::setPlatformStrokeStyle):
37420 * platform/graphics/GraphicsContext.cpp:
37421 (WebCore::GraphicsContext::shadowsIgnoreTransforms):
37422 * platform/graphics/GraphicsContext.h:
38153 Include the shadow color space as part of the GraphicsContext state
38160 * platform/graphics/GraphicsContext.cpp:
38161 (WebCore::GraphicsContext::setShadow):
38162 (WebCore::GraphicsContext::clearShadow):
38163 (WebCore::GraphicsContext::getShadow):
38164 * platform/graphics/GraphicsContext.h:
38177 (WebCore::GraphicsContext::fillRoundedRect):
38178 (WebCore::GraphicsContext::drawText):
39438 (WebCore::GraphicsContext::fillPath):
39439 (WebCore::GraphicsContext::strokePath):
39440 (WebCore::GraphicsContext::fillRect):
39441 (WebCore::GraphicsContext::fillRoundedRect):
39442 (WebCore::GraphicsContext::setPlatformShadow):
39687 (WebCore::GraphicsContext::setImageInterpolationQuality):
39821 (WebCore::GraphicsContext::pushTransparencyLayerInternal):
39822 (WebCore::GraphicsContext::beginTransparencyLayer):
39877 * platform/graphics/GraphicsContext.h:
40009 [Qt] GraphicsContext should respect QWebView render hints
40012 GraphicsContext does not override SmoothPixmapTransform (see also
40330 * platform/graphics/GraphicsContext.cpp:
40331 (WebCore::GraphicsContext::drawEmphasisMarks): Added. Calls through to Font::drawEmphasisMarks().
40333 * platform/graphics/GraphicsContext.h:
40505 Go through GraphicsContext::setCompositeOperation() which does the check for us.
40593 Add methods to GraphicsContext to get and set font smoothing,
40606 * platform/graphics/GraphicsContext.cpp:
40607 (WebCore::GraphicsContext::setShouldSmoothFonts):
40608 (WebCore::GraphicsContext::shouldSmoothFonts):
40609 (WebCore::GraphicsContext::setPlatformShouldSmoothFonts):
40610 * platform/graphics/GraphicsContext.h:
40613 (WebCore::GraphicsContext::setPlatformShouldSmoothFonts):
41281 (WebCore::GraphicsContext::drawFocusRing):
41450 (WebCore::GraphicsContext::fillPath):
41451 (WebCore::GraphicsContext::strokePath):
41452 (WebCore::GraphicsContext::fillRect):
41453 (WebCore::GraphicsContext::fillRoundedRect):
41454 (WebCore::GraphicsContext::setPlatformShadow):
41656 (WebCore::GraphicsContext::fillPath):
41657 (WebCore::GraphicsContext::strokePath):
41658 (WebCore::GraphicsContext::fillRect):
41659 (WebCore::GraphicsContext::fillRoundedRect):
41660 (WebCore::GraphicsContext::setPlatformShadow):
41681 [Qt] Avoid GraphicsContext save/restore in Image::drawPattern()
41934 (WebCore::GraphicsContext::setPlatformShadow):
43886 Don't do GraphicsContext save/restore just to preserve the CompositeOperator
43889 Add GraphicsContext::compositeOperation() so we don't have to do a full
43892 GraphicsContext::setCompositeOperation() now stores the op in its state
43897 * platform/graphics/GraphicsContext.cpp:
43898 (WebCore::GraphicsContext::setCompositeOperation):
43899 (WebCore::GraphicsContext::compositeOperation):
43900 * platform/graphics/GraphicsContext.h:
43906 (WebCore::GraphicsContext::setPlatformCompositeOperation):
43908 (WebCore::GraphicsContext::setPlatformCompositeOperation):
43910 (WebCore::GraphicsContext::setPlatformCompositeOperation):
43912 (WebCore::GraphicsContext::setPlatformCompositeOperation):
43914 (WebCore::GraphicsContext::setPlatformCompositeOperation):
43916 (WebCore::GraphicsContext::setPlatformCompositeOperation):
43918 (WebCore::GraphicsContext::setPlatformCompositeOperation):
43922 (WebCore::GraphicsContext::setPlatformCompositeOperation):
43924 (WebCore::GraphicsContext::setPlatformCompositeOperation):
43934 GraphicsContext: Merge m_common and m_data
43937 Move data members from GraphicsContextPrivate into GraphicsContext. So GraphicsContextPlatform.h
43939 Add two methods to GraphicsContext: platformInit() and platformDestroy(), which
43940 make the constructor of GraphicsContext clearer.
43941 Besides add a getter to the private GraphicsContext::m_state member, because some inline
43947 * platform/graphics/GraphicsContext.cpp:
43948 (WebCore::GraphicsContext::GraphicsContext):
43949 (WebCore::GraphicsContext::~GraphicsContext):
43950 (WebCore::GraphicsContext::save):
43951 (WebCore::GraphicsContext::restore):
43952 (WebCore::GraphicsContext::setStrokeThickness):
43953 (WebCore::GraphicsContext::setStrokeStyle):
43954 (WebCore::GraphicsContext::setStrokeColor):
43955 (WebCore::GraphicsContext::setShadow):
43956 (WebCore::GraphicsContext::clearShadow):
43957 (WebCore::GraphicsContext::getShadow):
43958 (WebCore::GraphicsContext::strokeThickness):
43959 (WebCore::GraphicsContext::strokeStyle):
43960 (WebCore::GraphicsContext::strokeColor):
43961 (WebCore::GraphicsContext::strokeColorSpace):
43962 (WebCore::GraphicsContext::fillRule):
43963 (WebCore::GraphicsContext::setFillRule):
43964 (WebCore::GraphicsContext::setFillColor):
43965 (WebCore::GraphicsContext::fillColor):
43966 (WebCore::GraphicsContext::fillColorSpace):
43967 (WebCore::GraphicsContext::setShouldAntialias):
43968 (WebCore::GraphicsContext::shouldAntialias):
43969 (WebCore::GraphicsContext::state):
43970 (WebCore::GraphicsContext::setStrokePattern):
43971 (WebCore::GraphicsContext::setFillPattern):
43972 (WebCore::GraphicsContext::setStrokeGradient):
43973 (WebCore::GraphicsContext::setFillGradient):
43974 (WebCore::GraphicsContext::fillGradient):
43975 (WebCore::GraphicsContext::strokeGradient):
43976 (WebCore::GraphicsContext::fillPattern):
43977 (WebCore::GraphicsContext::strokePattern):
43978 (WebCore::GraphicsContext::setShadowsIgnoreTransforms):
43979 (WebCore::GraphicsContext::updatingControlTints):
43980 (WebCore::GraphicsContext::setUpdatingControlTints):
43981 (WebCore::GraphicsContext::setPaintingDisabled):
43982 (WebCore::GraphicsContext::paintingDisabled):
43983 (WebCore::GraphicsContext::textDrawingMode):
43984 (WebCore::GraphicsContext::setTextDrawingMode):
43985 * platform/graphics/GraphicsContext.h:
43994 (WebCore::GraphicsContext::platformInit):
43995 (WebCore::GraphicsContext::platformDestroy):
43996 (WebCore::GraphicsContext::fillPath):
43997 (WebCore::GraphicsContext::strokePath):
43998 (WebCore::GraphicsContext::fillRect):
43999 (WebCore::GraphicsContext::setPlatformShadow):
44000 (WebCore::GraphicsContext::strokeRect):
44001 (WebCore::GraphicsContext::setAlpha):
44002 (WebCore::GraphicsContext::getAlpha):
44004 (WebCore::GraphicsContext::platformInit):
44005 (WebCore::GraphicsContext::platformDestroy):
44006 (WebCore::GraphicsContext::applyStrokePattern):
44007 (WebCore::GraphicsContext::applyFillPattern):
44008 (WebCore::GraphicsContext::drawPath):
44009 (WebCore::GraphicsContext::fillPath):
44010 (WebCore::GraphicsContext::strokePath):
44011 (WebCore::GraphicsContext::fillRect):
44012 (WebCore::GraphicsContext::setPlatformShadow):
44013 (WebCore::GraphicsContext::strokeRect):
44015 (WebCore::GraphicsContext::platformInit):
44016 (WebCore::GraphicsContext::platformDestroy):
44018 (WebCore::GraphicsContext::platformInit):
44019 (WebCore::GraphicsContext::platformDestroy):
44020 (WebCore::GraphicsContext::fillPath):
44021 (WebCore::GraphicsContext::strokePath):
44022 (WebCore::GraphicsContext::clip):
44023 (WebCore::GraphicsContext::clipOut):
44024 (WebCore::GraphicsContext::addInnerRoundedRectClip):
44026 (WebCore::GraphicsContext::platformInit):
44027 (WebCore::GraphicsContext::platformDestroy):
44028 (WebCore::GraphicsContext::fillPath):
44029 (WebCore::GraphicsContext::strokePath):
44030 (WebCore::GraphicsContext::fillRect):
44031 (WebCore::GraphicsContext::setPlatformShadow):
44033 (WebCore::GraphicsContext::platformInit):
44034 (WebCore::GraphicsContext::platformDestroy):
44035 (WebCore::GraphicsContext::fillPath):
44036 (WebCore::GraphicsContext::setPlatformShadow):
44038 (WebCore::GraphicsContext::GraphicsContext):
44039 (WebCore::GraphicsContext::platformInit):
44041 (WebCore::GraphicsContext::GraphicsContext):
44042 (WebCore::GraphicsContext::platformInit):
44044 (WebCore::GraphicsContext::platformInit):
44045 (WebCore::GraphicsContext::platformDestroy):
44046 (WebCore::GraphicsContext::fillPath):
44047 (WebCore::GraphicsContext::fillRect):
44049 (WebCore::GraphicsContext::platformInit):
44050 (WebCore::GraphicsContext::platformDestroy):
46122 * platform/graphics/GraphicsContext.cpp:
46123 (WebCore::GraphicsContext::createGraphicsContextPrivate):
46124 (WebCore::GraphicsContext::destroyGraphicsContextPrivate):
46125 (WebCore::GraphicsContext::save):
46126 (WebCore::GraphicsContext::restore):
46127 (WebCore::GraphicsContext::setStrokeThickness):
46128 (WebCore::GraphicsContext::setStrokeStyle):
46129 (WebCore::GraphicsContext::setStrokeColor):
46130 (WebCore::GraphicsContext::setShadow):
46131 (WebCore::GraphicsContext::clearShadow):
46132 (WebCore::GraphicsContext::getShadow):
46133 (WebCore::GraphicsContext::strokeThickness):
46134 (WebCore::GraphicsContext::strokeStyle):
46135 (WebCore::GraphicsContext::strokeColor):
46136 (WebCore::GraphicsContext::strokeColorSpace):
46137 (WebCore::GraphicsContext::fillRule):
46138 (WebCore::GraphicsContext::setFillRule):
46139 (WebCore::GraphicsContext::setFillColor):
46140 (WebCore::GraphicsContext::fillColor):
46141 (WebCore::GraphicsContext::fillColorSpace):
46142 (WebCore::GraphicsContext::setShouldAntialias):
46143 (WebCore::GraphicsContext::shouldAntialias):
46144 (WebCore::GraphicsContext::setStrokePattern):
46145 (WebCore::GraphicsContext::setFillPattern):
46146 (WebCore::GraphicsContext::setStrokeGradient):
46147 (WebCore::GraphicsContext::setFillGradient):
46148 (WebCore::GraphicsContext::fillGradient):
46149 (WebCore::GraphicsContext::strokeGradient):
46150 (WebCore::GraphicsContext::fillPattern):
46151 (WebCore::GraphicsContext::strokePattern):
46152 (WebCore::GraphicsContext::setShadowsIgnoreTransforms):
46153 (WebCore::GraphicsContext::updatingControlTints):
46154 (WebCore::GraphicsContext::setUpdatingControlTints):
46155 (WebCore::GraphicsContext::setPaintingDisabled):
46156 (WebCore::GraphicsContext::paintingDisabled):
46157 (WebCore::GraphicsContext::textDrawingMode):
46158 (WebCore::GraphicsContext::setTextDrawingMode):
46159 * platform/graphics/GraphicsContext.h:
46169 (WebCore::GraphicsContext::GraphicsContext):
46170 (WebCore::GraphicsContext::~GraphicsContext):
46171 (WebCore::GraphicsContext::fillPath):
46172 (WebCore::GraphicsContext::strokePath):
46173 (WebCore::GraphicsContext::fillRect):
46174 (WebCore::GraphicsContext::setPlatformShadow):
46175 (WebCore::GraphicsContext::strokeRect):
46176 (WebCore::GraphicsContext::setAlpha):
46177 (WebCore::GraphicsContext::getAlpha):
46179 (WebCore::GraphicsContext::GraphicsContext):
46180 (WebCore::GraphicsContext::~GraphicsContext):
46181 (WebCore::GraphicsContext::applyStrokePattern):
46182 (WebCore::GraphicsContext::applyFillPattern):
46183 (WebCore::GraphicsContext::drawPath):
46184 (WebCore::GraphicsContext::fillPath):
46185 (WebCore::GraphicsContext::strokePath):
46186 (WebCore::GraphicsContext::fillRect):
46187 (WebCore::GraphicsContext::setPlatformShadow):
46188 (WebCore::GraphicsContext::strokeRect):
46190 (WebCore::GraphicsContext::GraphicsContext):
46191 (WebCore::GraphicsContext::~GraphicsContext):
46193 (WebCore::GraphicsContext::GraphicsContext):
46194 (WebCore::GraphicsContext::~GraphicsContext):
46195 (WebCore::GraphicsContext::fillPath):
46196 (WebCore::GraphicsContext::strokePath):
46197 (WebCore::GraphicsContext::clip):
46198 (WebCore::GraphicsContext::clipOut):
46199 (WebCore::GraphicsContext::addInnerRoundedRectClip):
46201 (WebCore::GraphicsContext::GraphicsContext):
46202 (WebCore::GraphicsContext::~GraphicsContext):
46203 (WebCore::GraphicsContext::fillPath):
46204 (WebCore::GraphicsContext::strokePath):
46205 (WebCore::GraphicsContext::fillRect):
46206 (WebCore::GraphicsContext::setPlatformShadow):
46208 (WebCore::GraphicsContext::GraphicsContext):
46209 (WebCore::GraphicsContext::~GraphicsContext):
46210 (WebCore::GraphicsContext::fillPath):
46211 (WebCore::GraphicsContext::setPlatformShadow):
46213 (WebCore::GraphicsContext::GraphicsContext):
46215 (WebCore::GraphicsContext::GraphicsContext):
46217 (WebCore::GraphicsContext::GraphicsContext):
46218 (WebCore::GraphicsContext::~GraphicsContext):
46219 (WebCore::GraphicsContext::fillPath):
46220 (WebCore::GraphicsContext::fillRect):
46222 (WebCore::GraphicsContext::GraphicsContext):
46223 (WebCore::GraphicsContext::~GraphicsContext):
46261 GraphicsContext: Merge m_common and m_data
46264 Move data members from GraphicsContextPrivate into GraphicsContext. So GraphicsContextPlatform.h
46266 GraphicsContext: platformInit() and platformDestroy(), which
46267 make the constructor of GraphicsContext clearer.
46268 Besides add a getter to the private GraphicsContext::m_state member, because some inline
46274 * platform/graphics/GraphicsContext.cpp:
46275 (WebCore::GraphicsContext::GraphicsContext):
46276 (WebCore::GraphicsContext::~GraphicsContext):
46277 (WebCore::GraphicsContext::save):
46278 (WebCore::GraphicsContext::restore):
46279 (WebCore::GraphicsContext::setStrokeThickness):
46280 (WebCore::GraphicsContext::setStrokeStyle):
46281 (WebCore::GraphicsContext::setStrokeColor):
46282 (WebCore::GraphicsContext::setShadow):
46283 (WebCore::GraphicsContext::clearShadow):
46284 (WebCore::GraphicsContext::getShadow):
46285 (WebCore::GraphicsContext::strokeThickness):
46286 (WebCore::GraphicsContext::strokeStyle):
46287 (WebCore::GraphicsContext::strokeColor):
46288 (WebCore::GraphicsContext::strokeColorSpace):
46289 (WebCore::GraphicsContext::fillRule):
46290 (WebCore::GraphicsContext::setFillRule):
46291 (WebCore::GraphicsContext::setFillColor):
46292 (WebCore::GraphicsContext::fillColor):
46293 (WebCore::GraphicsContext::fillColorSpace):
46294 (WebCore::GraphicsContext::setShouldAntialias):
46295 (WebCore::GraphicsContext::shouldAntialias):
46296 (WebCore::GraphicsContext::state):
46297 (WebCore::GraphicsContext::setStrokePattern):
46298 (WebCore::GraphicsContext::setFillPattern):
46299 (WebCore::GraphicsContext::setStrokeGradient):
46300 (WebCore::GraphicsContext::setFillGradient):
46301 (WebCore::GraphicsContext::fillGradient):
46302 (WebCore::GraphicsContext::strokeGradient):
46303 (WebCore::GraphicsContext::fillPattern):
46304 (WebCore::GraphicsContext::strokePattern):
46305 (WebCore::GraphicsContext::setShadowsIgnoreTransforms):
46306 (WebCore::GraphicsContext::updatingControlTints):
46307 (WebCore::GraphicsContext::setUpdatingControlTints):
46308 (WebCore::GraphicsContext::setPaintingDisabled):
46309 (WebCore::GraphicsContext::paintingDisabled):
46310 (WebCore::GraphicsContext::textDrawingMode):
46311 (WebCore::GraphicsContext::setTextDrawingMode):
46312 * platform/graphics/GraphicsContext.h:
46321 (WebCore::GraphicsContext::platformInit):
46322 (WebCore::GraphicsContext::platformDestroy):
46323 (WebCore::GraphicsContext::fillPath):
46324 (WebCore::GraphicsContext::strokePath):
46325 (WebCore::GraphicsContext::fillRect):
46326 (WebCore::GraphicsContext::setPlatformShadow):
46327 (WebCore::GraphicsContext::strokeRect):
46328 (WebCore::GraphicsContext::setAlpha):
46329 (WebCore::GraphicsContext::getAlpha):
46331 (WebCore::GraphicsContext::platformInit):
46332 (WebCore::GraphicsContext::platformDestroy):
46333 (WebCore::GraphicsContext::applyStrokePattern):
46334 (WebCore::GraphicsContext::applyFillPattern):
46335 (WebCore::GraphicsContext::drawPath):
46336 (WebCore::GraphicsContext::fillPath):
46337 (WebCore::GraphicsContext::strokePath):
46338 (WebCore::GraphicsContext::fillRect):
46339 (WebCore::GraphicsContext::setPlatformShadow):
46340 (WebCore::GraphicsContext::strokeRect):
46342 (WebCore::GraphicsContext::platformInit):
46343 (WebCore::GraphicsContext::platformDestroy):
46345 (WebCore::GraphicsContext::platformInit):
46346 (WebCore::GraphicsContext::platformDestroy):
46347 (WebCore::GraphicsContext::fillPath):
46348 (WebCore::GraphicsContext::strokePath):
46349 (WebCore::GraphicsContext::clip):
46350 (WebCore::GraphicsContext::clipOut):
46351 (WebCore::GraphicsContext::addInnerRoundedRectClip):
46353 (WebCore::GraphicsContext::platformInit):
46354 (WebCore::GraphicsContext::platformDestroy):
46355 (WebCore::GraphicsContext::fillPath):
46356 (WebCore::GraphicsContext::strokePath):
46357 (WebCore::GraphicsContext::fillRect):
46358 (WebCore::GraphicsContext::setPlatformShadow):
46360 (WebCore::GraphicsContext::platformInit):
46361 (WebCore::GraphicsContext::platformDestroy):
46362 (WebCore::GraphicsContext::fillPath):
46363 (WebCore::GraphicsContext::setPlatformShadow):
46365 (WebCore::GraphicsContext::platformInit):
46367 (WebCore::GraphicsContext::platformInit):
46369 (WebCore::GraphicsContext::platformInit):
46370 (WebCore::GraphicsContext::platformDestroy):
46371 (WebCore::GraphicsContext::fillPath):
46372 (WebCore::GraphicsContext::fillRect):
46374 (WebCore::GraphicsContext::platformInit):
46375 (WebCore::GraphicsContext::platformDestroy):
46408 Implement GraphicsContext::drawFocusRing(const Path&, ...) so as to support
46418 (WebCore::GraphicsContext::drawFocusRing): Moved code for determining focus ring- color,
46420 and focusRingStrokeStyle(), respectively. Implemented GraphicsContext::drawFocusRing(const Path&, ...).
47358 (WebCore::GraphicsContext::setAllowsFontSmoothing):
47823 * platform/graphics/GraphicsContext.h:
47825 (WebCore::GraphicsContext::setAllowsFontSmoothing):