webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
Public Member Functions | Public Attributes | List of all members
WebCore::PaintInfo Struct Reference

#include <PaintInfo.h>

Public Member Functions

 PaintInfo (GraphicsContext &newContext, const LayoutRect &newRect, PaintPhase newPhase, PaintBehavior newPaintBehavior, RenderObject *newSubtreePaintRoot=nullptr, ListHashSet< RenderInline *> *newOutlineObjects=nullptr, OverlapTestRequestMap *overlapTestRequests=nullptr, const RenderLayerModelObject *newPaintContainer=nullptr)
 
GraphicsContextcontext () const
 
void setContext (GraphicsContext &context)
 
void updateSubtreePaintRootForChildren (const RenderObject *renderer)
 
bool shouldPaintWithinRoot (const RenderObject &renderer) const
 
bool forceTextColor () const
 
bool forceBlackText () const
 
bool forceWhiteText () const
 
Color forcedTextColor () const
 
bool skipRootBackground () const
 
bool paintRootBackgroundOnly () const
 
void applyTransform (const AffineTransform &localToAncestorTransform)
 
 PaintInfo (GraphicsContext &newContext, const LayoutRect &newRect, PaintPhase newPhase, PaintBehavior newPaintBehavior, RenderObject *newSubtreePaintRoot=nullptr, ListHashSet< RenderInline *> *newOutlineObjects=nullptr, OverlapTestRequestMap *overlapTestRequests=nullptr, const RenderLayerModelObject *newPaintContainer=nullptr)
 
GraphicsContextcontext () const
 
void setContext (GraphicsContext &context)
 
void updateSubtreePaintRootForChildren (const RenderObject *renderer)
 
bool shouldPaintWithinRoot (const RenderObject &renderer) const
 
bool forceTextColor () const
 
bool forceBlackText () const
 
bool forceWhiteText () const
 
Color forcedTextColor () const
 
bool skipRootBackground () const
 
bool paintRootBackgroundOnly () const
 
void applyTransform (const AffineTransform &localToAncestorTransform)
 

Public Attributes

LayoutRect rect
 
PaintPhase phase
 
PaintBehavior paintBehavior
 
RenderObjectsubtreePaintRoot
 
ListHashSet< RenderInline * > * outlineObjects
 
OverlapTestRequestMapoverlapTestRequests
 
const RenderLayerModelObjectpaintContainer
 

Constructor & Destructor Documentation

◆ PaintInfo() [1/2]

WebCore::PaintInfo::PaintInfo ( GraphicsContext newContext,
const LayoutRect newRect,
PaintPhase  newPhase,
PaintBehavior  newPaintBehavior,
RenderObject newSubtreePaintRoot = nullptr,
ListHashSet< RenderInline *> *  newOutlineObjects = nullptr,
OverlapTestRequestMap overlapTestRequests = nullptr,
const RenderLayerModelObject newPaintContainer = nullptr 
)
inline

◆ PaintInfo() [2/2]

WebCore::PaintInfo::PaintInfo ( GraphicsContext newContext,
const LayoutRect newRect,
PaintPhase  newPhase,
PaintBehavior  newPaintBehavior,
RenderObject newSubtreePaintRoot = nullptr,
ListHashSet< RenderInline *> *  newOutlineObjects = nullptr,
OverlapTestRequestMap overlapTestRequests = nullptr,
const RenderLayerModelObject newPaintContainer = nullptr 
)
inline

Member Function Documentation

◆ applyTransform() [1/2]

void WebCore::PaintInfo::applyTransform ( const AffineTransform localToAncestorTransform)
inline

◆ applyTransform() [2/2]

void WebCore::PaintInfo::applyTransform ( const AffineTransform localToAncestorTransform)
inline

◆ context() [1/2]

GraphicsContext& WebCore::PaintInfo::context ( ) const
inline

◆ context() [2/2]

GraphicsContext& WebCore::PaintInfo::context ( ) const
inline

◆ forceBlackText() [1/2]

bool WebCore::PaintInfo::forceBlackText ( ) const
inline

◆ forceBlackText() [2/2]

bool WebCore::PaintInfo::forceBlackText ( ) const
inline

◆ forcedTextColor() [1/2]

Color WebCore::PaintInfo::forcedTextColor ( ) const
inline

◆ forcedTextColor() [2/2]

Color WebCore::PaintInfo::forcedTextColor ( ) const
inline

◆ forceTextColor() [1/2]

bool WebCore::PaintInfo::forceTextColor ( ) const
inline

◆ forceTextColor() [2/2]

bool WebCore::PaintInfo::forceTextColor ( ) const
inline

◆ forceWhiteText() [1/2]

bool WebCore::PaintInfo::forceWhiteText ( ) const
inline

◆ forceWhiteText() [2/2]

bool WebCore::PaintInfo::forceWhiteText ( ) const
inline

◆ paintRootBackgroundOnly() [1/2]

bool WebCore::PaintInfo::paintRootBackgroundOnly ( ) const
inline

◆ paintRootBackgroundOnly() [2/2]

bool WebCore::PaintInfo::paintRootBackgroundOnly ( ) const
inline

◆ setContext() [1/2]

void WebCore::PaintInfo::setContext ( GraphicsContext context)
inline

◆ setContext() [2/2]

void WebCore::PaintInfo::setContext ( GraphicsContext context)
inline

◆ shouldPaintWithinRoot() [1/2]

bool WebCore::PaintInfo::shouldPaintWithinRoot ( const RenderObject renderer) const
inline

◆ shouldPaintWithinRoot() [2/2]

bool WebCore::PaintInfo::shouldPaintWithinRoot ( const RenderObject renderer) const
inline

◆ skipRootBackground() [1/2]

bool WebCore::PaintInfo::skipRootBackground ( ) const
inline

◆ skipRootBackground() [2/2]

bool WebCore::PaintInfo::skipRootBackground ( ) const
inline

◆ updateSubtreePaintRootForChildren() [1/2]

void WebCore::PaintInfo::updateSubtreePaintRootForChildren ( const RenderObject renderer)
inline

◆ updateSubtreePaintRootForChildren() [2/2]

void WebCore::PaintInfo::updateSubtreePaintRootForChildren ( const RenderObject renderer)
inline

Member Data Documentation

◆ outlineObjects

ListHashSet< RenderInline * > * WebCore::PaintInfo::outlineObjects

◆ overlapTestRequests

OverlapTestRequestMap * WebCore::PaintInfo::overlapTestRequests

◆ paintBehavior

PaintBehavior WebCore::PaintInfo::paintBehavior

◆ paintContainer

const RenderLayerModelObject * WebCore::PaintInfo::paintContainer

◆ phase

PaintPhase WebCore::PaintInfo::phase

◆ rect

LayoutRect WebCore::PaintInfo::rect

◆ subtreePaintRoot

RenderObject * WebCore::PaintInfo::subtreePaintRoot

The documentation for this struct was generated from the following file: