|
| WEBCORE_EXPORT | GraphicsContext (PlatformGraphicsContext *) |
| |
| | GraphicsContext ()=default |
| |
| WEBCORE_EXPORT | ~GraphicsContext () |
| |
| | GraphicsContext (NonPaintingReasons) |
| |
| WEBCORE_EXPORT PlatformGraphicsContext * | platformContext () const |
| |
| bool | paintingDisabled () const |
| |
| bool | updatingControlTints () const |
| |
| void | setDisplayListRecorder (DisplayList::Recorder *recorder) |
| |
| bool | isRecording () const |
| |
| void | setStrokeThickness (float) |
| |
| float | strokeThickness () const |
| |
| void | setStrokeStyle (StrokeStyle) |
| |
| StrokeStyle | strokeStyle () const |
| |
| WEBCORE_EXPORT void | setStrokeColor (const Color &) |
| |
| const Color & | strokeColor () const |
| |
| void | setStrokePattern (Ref< Pattern > &&) |
| |
| Pattern * | strokePattern () const |
| |
| void | setStrokeGradient (Ref< Gradient > &&) |
| |
| Gradient * | strokeGradient () const |
| |
| void | setFillRule (WindRule) |
| |
| WindRule | fillRule () const |
| |
| WEBCORE_EXPORT void | setFillColor (const Color &) |
| |
| const Color & | fillColor () const |
| |
| void | setFillPattern (Ref< Pattern > &&) |
| |
| Pattern * | fillPattern () const |
| |
| WEBCORE_EXPORT void | setFillGradient (Ref< Gradient > &&) |
| |
| Gradient * | fillGradient () const |
| |
| void | setShadowsIgnoreTransforms (bool) |
| |
| bool | shadowsIgnoreTransforms () const |
| |
| WEBCORE_EXPORT void | setShouldAntialias (bool) |
| |
| bool | shouldAntialias () const |
| |
| WEBCORE_EXPORT void | setShouldSmoothFonts (bool) |
| |
| bool | shouldSmoothFonts () const |
| |
| void | setShouldSubpixelQuantizeFonts (bool) |
| |
| bool | shouldSubpixelQuantizeFonts () const |
| |
| const GraphicsContextState & | state () const |
| |
| bool | isAcceleratedContext () const |
| |
| RenderingMode | renderingMode () const |
| |
| WEBCORE_EXPORT void | save () |
| |
| WEBCORE_EXPORT void | restore () |
| |
| void | drawRect (const FloatRect &, float borderThickness=1) |
| |
| void | drawLine (const FloatPoint &, const FloatPoint &) |
| |
| void | drawEllipse (const FloatRect &) |
| |
| void | drawRaisedEllipse (const FloatRect &, const Color &ellipseColor, const Color &shadowColor) |
| |
| WEBCORE_EXPORT void | fillPath (const Path &) |
| |
| void | strokePath (const Path &) |
| |
| void | fillEllipse (const FloatRect &) |
| |
| void | strokeEllipse (const FloatRect &) |
| |
| WEBCORE_EXPORT void | fillRect (const FloatRect &) |
| |
| WEBCORE_EXPORT void | fillRect (const FloatRect &, const Color &) |
| |
| void | fillRect (const FloatRect &, Gradient &) |
| |
| void | fillRect (const FloatRect &, const Color &, CompositeOperator, BlendMode=BlendModeNormal) |
| |
| void | fillRoundedRect (const FloatRoundedRect &, const Color &, BlendMode=BlendModeNormal) |
| |
| void | fillRectWithRoundedHole (const FloatRect &, const FloatRoundedRect &roundedHoleRect, const Color &) |
| |
| WEBCORE_EXPORT void | clearRect (const FloatRect &) |
| |
| WEBCORE_EXPORT void | strokeRect (const FloatRect &, float lineWidth) |
| |
| WEBCORE_EXPORT void | drawImage (Image &, const FloatPoint &destination, const ImagePaintingOptions &=ImagePaintingOptions()) |
| |
| WEBCORE_EXPORT void | drawImage (Image &, const FloatRect &destination, const ImagePaintingOptions &=ImagePaintingOptions()) |
| |
| void | drawImage (Image &, const FloatRect &destination, const FloatRect &source, const ImagePaintingOptions &=ImagePaintingOptions()) |
| |
| void | drawTiledImage (Image &, const FloatRect &destination, const FloatPoint &source, const FloatSize &tileSize, const FloatSize &spacing, const ImagePaintingOptions &=ImagePaintingOptions()) |
| |
| void | drawTiledImage (Image &, const FloatRect &destination, const FloatRect &source, const FloatSize &tileScaleFactor, Image::TileRule, Image::TileRule, const ImagePaintingOptions &=ImagePaintingOptions()) |
| |
| WEBCORE_EXPORT void | drawImageBuffer (ImageBuffer &, const FloatPoint &destination, const ImagePaintingOptions &=ImagePaintingOptions()) |
| |
| void | drawImageBuffer (ImageBuffer &, const FloatRect &destination, const ImagePaintingOptions &=ImagePaintingOptions()) |
| |
| void | drawImageBuffer (ImageBuffer &, const FloatRect &destination, const FloatRect &source, const ImagePaintingOptions &=ImagePaintingOptions()) |
| |
| void | drawPattern (Image &, const FloatRect &destRect, const FloatRect &srcRect, const AffineTransform &, const FloatPoint &phase, const FloatSize &spacing, CompositeOperator, BlendMode=BlendModeNormal) |
| |
| WEBCORE_EXPORT void | drawConsumingImageBuffer (std::unique_ptr< ImageBuffer >, const FloatPoint &destination, const ImagePaintingOptions &=ImagePaintingOptions()) |
| |
| void | drawConsumingImageBuffer (std::unique_ptr< ImageBuffer >, const FloatRect &destination, const ImagePaintingOptions &=ImagePaintingOptions()) |
| |
| void | drawConsumingImageBuffer (std::unique_ptr< ImageBuffer >, const FloatRect &destination, const FloatRect &source, const ImagePaintingOptions &=ImagePaintingOptions()) |
| |
| WEBCORE_EXPORT void | setImageInterpolationQuality (InterpolationQuality) |
| |
| InterpolationQuality | imageInterpolationQuality () const |
| |
| WEBCORE_EXPORT void | clip (const FloatRect &) |
| |
| void | clipRoundedRect (const FloatRoundedRect &) |
| |
| void | clipOut (const FloatRect &) |
| |
| void | clipOutRoundedRect (const FloatRoundedRect &) |
| |
| void | clipPath (const Path &, WindRule=RULE_EVENODD) |
| |
| void | clipToImageBuffer (ImageBuffer &, const FloatRect &) |
| |
| IntRect | clipBounds () const |
| |
| void | setTextDrawingMode (TextDrawingModeFlags) |
| |
| TextDrawingModeFlags | textDrawingMode () const |
| |
| float | drawText (const FontCascade &, const TextRun &, const FloatPoint &, unsigned from=0, std::optional< unsigned > to=std::nullopt) |
| |
| void | drawGlyphs (const FontCascade &, const Font &, const GlyphBuffer &, unsigned from, unsigned numGlyphs, const FloatPoint &) |
| |
| void | drawEmphasisMarks (const FontCascade &, const TextRun &, const AtomicString &mark, const FloatPoint &, unsigned from=0, std::optional< unsigned > to=std::nullopt) |
| |
| void | drawBidiText (const FontCascade &, const TextRun &, const FloatPoint &, FontCascade::CustomFontNotReadyAction=FontCascade::DoNotPaintIfFontNotReady) |
| |
| void | applyState (const GraphicsContextState &) |
| |
| FloatRect | roundToDevicePixels (const FloatRect &, RoundingMode=RoundAllSides) |
| |
| FloatRect | computeUnderlineBoundsForText (const FloatPoint &, float width, bool printing) |
| |
| WEBCORE_EXPORT void | drawLineForText (const FloatPoint &, float width, bool printing, bool doubleLines=false, StrokeStyle=SolidStroke) |
| |
| void | drawLinesForText (const FloatPoint &, const DashArray &widths, bool printing, bool doubleLines=false, StrokeStyle=SolidStroke) |
| |
| void | drawLineForDocumentMarker (const FloatPoint &, float width, DocumentMarkerLineStyle) |
| |
| WEBCORE_EXPORT void | beginTransparencyLayer (float opacity) |
| |
| WEBCORE_EXPORT void | endTransparencyLayer () |
| |
| bool | isInTransparencyLayer () const |
| |
| WEBCORE_EXPORT void | setShadow (const FloatSize &, float blur, const Color &) |
| |
| void | setLegacyShadow (const FloatSize &, float blur, const Color &) |
| |
| WEBCORE_EXPORT void | clearShadow () |
| |
| bool | getShadow (FloatSize &, float &, Color &) const |
| |
| bool | hasVisibleShadow () const |
| |
| bool | hasShadow () const |
| |
| bool | hasBlurredShadow () const |
| |
| void | drawFocusRing (const Vector< FloatRect > &, float width, float offset, const Color &) |
| |
| void | drawFocusRing (const Path &, float width, float offset, const Color &) |
| |
| void | setLineCap (LineCap) |
| |
| void | setLineDash (const DashArray &, float dashOffset) |
| |
| void | setLineJoin (LineJoin) |
| |
| void | setMiterLimit (float) |
| |
| void | setAlpha (float) |
| |
| float | alpha () const |
| |
| WEBCORE_EXPORT void | setCompositeOperation (CompositeOperator, BlendMode=BlendModeNormal) |
| |
| CompositeOperator | compositeOperation () const |
| |
| BlendMode | blendModeOperation () const |
| |
| void | setDrawLuminanceMask (bool) |
| |
| bool | drawLuminanceMask () const |
| |
| void | canvasClip (const Path &, WindRule=RULE_EVENODD) |
| |
| void | clipOut (const Path &) |
| |
| void | scale (float s) |
| |
| WEBCORE_EXPORT void | scale (const FloatSize &) |
| |
| void | rotate (float angleInRadians) |
| |
| void | translate (const FloatSize &size) |
| |
| WEBCORE_EXPORT void | translate (float x, float y) |
| |
| void | setURLForRect (const URL &, const FloatRect &) |
| |
| void | setDestinationForRect (const String &name, const FloatRect &) |
| |
| void | addDestinationAtPoint (const String &name, const FloatPoint &) |
| |
| void | concatCTM (const AffineTransform &) |
| |
| void | setCTM (const AffineTransform &) |
| |
| AffineTransform | getCTM (IncludeDeviceScale includeScale=PossiblyIncludeDeviceScale) const |
| |
| WEBCORE_EXPORT void | applyDeviceScaleFactor (float) |
| |
| void | platformApplyDeviceScaleFactor (float) |
| |
| FloatSize | scaleFactor () const |
| |
| bool | supportsInternalLinks () const |
| |
| WEBCORE_EXPORT | GraphicsContext (PlatformGraphicsContext *) |
| |
| | GraphicsContext ()=default |
| |
| WEBCORE_EXPORT | ~GraphicsContext () |
| |
| | GraphicsContext (NonPaintingReasons) |
| |
| WEBCORE_EXPORT PlatformGraphicsContext * | platformContext () const |
| |
| bool | paintingDisabled () const |
| |
| bool | updatingControlTints () const |
| |
| void | setDisplayListRecorder (DisplayList::Recorder *recorder) |
| |
| bool | isRecording () const |
| |
| void | setStrokeThickness (float) |
| |
| float | strokeThickness () const |
| |
| void | setStrokeStyle (StrokeStyle) |
| |
| StrokeStyle | strokeStyle () const |
| |
| WEBCORE_EXPORT void | setStrokeColor (const Color &) |
| |
| const Color & | strokeColor () const |
| |
| void | setStrokePattern (Ref< Pattern > &&) |
| |
| Pattern * | strokePattern () const |
| |
| void | setStrokeGradient (Ref< Gradient > &&) |
| |
| Gradient * | strokeGradient () const |
| |
| void | setFillRule (WindRule) |
| |
| WindRule | fillRule () const |
| |
| WEBCORE_EXPORT void | setFillColor (const Color &) |
| |
| const Color & | fillColor () const |
| |
| void | setFillPattern (Ref< Pattern > &&) |
| |
| Pattern * | fillPattern () const |
| |
| WEBCORE_EXPORT void | setFillGradient (Ref< Gradient > &&) |
| |
| Gradient * | fillGradient () const |
| |
| void | setShadowsIgnoreTransforms (bool) |
| |
| bool | shadowsIgnoreTransforms () const |
| |
| WEBCORE_EXPORT void | setShouldAntialias (bool) |
| |
| bool | shouldAntialias () const |
| |
| WEBCORE_EXPORT void | setShouldSmoothFonts (bool) |
| |
| bool | shouldSmoothFonts () const |
| |
| void | setShouldSubpixelQuantizeFonts (bool) |
| |
| bool | shouldSubpixelQuantizeFonts () const |
| |
| const GraphicsContextState & | state () const |
| |
| bool | isAcceleratedContext () const |
| |
| RenderingMode | renderingMode () const |
| |
| WEBCORE_EXPORT void | save () |
| |
| WEBCORE_EXPORT void | restore () |
| |
| void | drawRect (const FloatRect &, float borderThickness=1) |
| |
| void | drawLine (const FloatPoint &, const FloatPoint &) |
| |
| void | drawEllipse (const FloatRect &) |
| |
| void | drawRaisedEllipse (const FloatRect &, const Color &ellipseColor, const Color &shadowColor) |
| |
| WEBCORE_EXPORT void | fillPath (const Path &) |
| |
| void | strokePath (const Path &) |
| |
| void | fillEllipse (const FloatRect &) |
| |
| void | strokeEllipse (const FloatRect &) |
| |
| WEBCORE_EXPORT void | fillRect (const FloatRect &) |
| |
| WEBCORE_EXPORT void | fillRect (const FloatRect &, const Color &) |
| |
| void | fillRect (const FloatRect &, Gradient &) |
| |
| void | fillRect (const FloatRect &, const Color &, CompositeOperator, BlendMode=BlendModeNormal) |
| |
| void | fillRoundedRect (const FloatRoundedRect &, const Color &, BlendMode=BlendModeNormal) |
| |
| void | fillRectWithRoundedHole (const FloatRect &, const FloatRoundedRect &roundedHoleRect, const Color &) |
| |
| WEBCORE_EXPORT void | clearRect (const FloatRect &) |
| |
| WEBCORE_EXPORT void | strokeRect (const FloatRect &, float lineWidth) |
| |
| WEBCORE_EXPORT void | drawImage (Image &, const FloatPoint &destination, const ImagePaintingOptions &=ImagePaintingOptions()) |
| |
| WEBCORE_EXPORT void | drawImage (Image &, const FloatRect &destination, const ImagePaintingOptions &=ImagePaintingOptions()) |
| |
| void | drawImage (Image &, const FloatRect &destination, const FloatRect &source, const ImagePaintingOptions &=ImagePaintingOptions()) |
| |
| void | drawTiledImage (Image &, const FloatRect &destination, const FloatPoint &source, const FloatSize &tileSize, const FloatSize &spacing, const ImagePaintingOptions &=ImagePaintingOptions()) |
| |
| void | drawTiledImage (Image &, const FloatRect &destination, const FloatRect &source, const FloatSize &tileScaleFactor, Image::TileRule, Image::TileRule, const ImagePaintingOptions &=ImagePaintingOptions()) |
| |
| WEBCORE_EXPORT void | drawImageBuffer (ImageBuffer &, const FloatPoint &destination, const ImagePaintingOptions &=ImagePaintingOptions()) |
| |
| void | drawImageBuffer (ImageBuffer &, const FloatRect &destination, const ImagePaintingOptions &=ImagePaintingOptions()) |
| |
| void | drawImageBuffer (ImageBuffer &, const FloatRect &destination, const FloatRect &source, const ImagePaintingOptions &=ImagePaintingOptions()) |
| |
| void | drawPattern (Image &, const FloatRect &destRect, const FloatRect &srcRect, const AffineTransform &, const FloatPoint &phase, const FloatSize &spacing, CompositeOperator, BlendMode=BlendModeNormal) |
| |
| WEBCORE_EXPORT void | drawConsumingImageBuffer (std::unique_ptr< ImageBuffer >, const FloatPoint &destination, const ImagePaintingOptions &=ImagePaintingOptions()) |
| |
| void | drawConsumingImageBuffer (std::unique_ptr< ImageBuffer >, const FloatRect &destination, const ImagePaintingOptions &=ImagePaintingOptions()) |
| |
| void | drawConsumingImageBuffer (std::unique_ptr< ImageBuffer >, const FloatRect &destination, const FloatRect &source, const ImagePaintingOptions &=ImagePaintingOptions()) |
| |
| WEBCORE_EXPORT void | setImageInterpolationQuality (InterpolationQuality) |
| |
| InterpolationQuality | imageInterpolationQuality () const |
| |
| WEBCORE_EXPORT void | clip (const FloatRect &) |
| |
| void | clipRoundedRect (const FloatRoundedRect &) |
| |
| void | clipOut (const FloatRect &) |
| |
| void | clipOutRoundedRect (const FloatRoundedRect &) |
| |
| void | clipPath (const Path &, WindRule=RULE_EVENODD) |
| |
| void | clipToImageBuffer (ImageBuffer &, const FloatRect &) |
| |
| IntRect | clipBounds () const |
| |
| void | setTextDrawingMode (TextDrawingModeFlags) |
| |
| TextDrawingModeFlags | textDrawingMode () const |
| |
| float | drawText (const FontCascade &, const TextRun &, const FloatPoint &, unsigned from=0, std::optional< unsigned > to=std::nullopt) |
| |
| void | drawGlyphs (const FontCascade &, const Font &, const GlyphBuffer &, unsigned from, unsigned numGlyphs, const FloatPoint &) |
| |
| void | drawEmphasisMarks (const FontCascade &, const TextRun &, const AtomicString &mark, const FloatPoint &, unsigned from=0, std::optional< unsigned > to=std::nullopt) |
| |
| void | drawBidiText (const FontCascade &, const TextRun &, const FloatPoint &, FontCascade::CustomFontNotReadyAction=FontCascade::DoNotPaintIfFontNotReady) |
| |
| void | applyState (const GraphicsContextState &) |
| |
| FloatRect | roundToDevicePixels (const FloatRect &, RoundingMode=RoundAllSides) |
| |
| FloatRect | computeUnderlineBoundsForText (const FloatPoint &, float width, bool printing) |
| |
| WEBCORE_EXPORT void | drawLineForText (const FloatPoint &, float width, bool printing, bool doubleLines=false, StrokeStyle=SolidStroke) |
| |
| void | drawLinesForText (const FloatPoint &, const DashArray &widths, bool printing, bool doubleLines=false, StrokeStyle=SolidStroke) |
| |
| void | drawLineForDocumentMarker (const FloatPoint &, float width, DocumentMarkerLineStyle) |
| |
| WEBCORE_EXPORT void | beginTransparencyLayer (float opacity) |
| |
| WEBCORE_EXPORT void | endTransparencyLayer () |
| |
| bool | isInTransparencyLayer () const |
| |
| WEBCORE_EXPORT void | setShadow (const FloatSize &, float blur, const Color &) |
| |
| void | setLegacyShadow (const FloatSize &, float blur, const Color &) |
| |
| WEBCORE_EXPORT void | clearShadow () |
| |
| bool | getShadow (FloatSize &, float &, Color &) const |
| |
| bool | hasVisibleShadow () const |
| |
| bool | hasShadow () const |
| |
| bool | hasBlurredShadow () const |
| |
| void | drawFocusRing (const Vector< FloatRect > &, float width, float offset, const Color &) |
| |
| void | drawFocusRing (const Path &, float width, float offset, const Color &) |
| |
| void | setLineCap (LineCap) |
| |
| void | setLineDash (const DashArray &, float dashOffset) |
| |
| void | setLineJoin (LineJoin) |
| |
| void | setMiterLimit (float) |
| |
| void | setAlpha (float) |
| |
| float | alpha () const |
| |
| WEBCORE_EXPORT void | setCompositeOperation (CompositeOperator, BlendMode=BlendModeNormal) |
| |
| CompositeOperator | compositeOperation () const |
| |
| BlendMode | blendModeOperation () const |
| |
| void | setDrawLuminanceMask (bool) |
| |
| bool | drawLuminanceMask () const |
| |
| void | canvasClip (const Path &, WindRule=RULE_EVENODD) |
| |
| void | clipOut (const Path &) |
| |
| void | scale (float s) |
| |
| WEBCORE_EXPORT void | scale (const FloatSize &) |
| |
| void | rotate (float angleInRadians) |
| |
| void | translate (const FloatSize &size) |
| |
| WEBCORE_EXPORT void | translate (float x, float y) |
| |
| void | setURLForRect (const URL &, const FloatRect &) |
| |
| void | setDestinationForRect (const String &name, const FloatRect &) |
| |
| void | addDestinationAtPoint (const String &name, const FloatPoint &) |
| |
| void | concatCTM (const AffineTransform &) |
| |
| void | setCTM (const AffineTransform &) |
| |
| AffineTransform | getCTM (IncludeDeviceScale includeScale=PossiblyIncludeDeviceScale) const |
| |
| WEBCORE_EXPORT void | applyDeviceScaleFactor (float) |
| |
| void | platformApplyDeviceScaleFactor (float) |
| |
| FloatSize | scaleFactor () const |
| |
| bool | supportsInternalLinks () const |
| |