Classes | Public Member Functions | Public Attributes

mozilla::FrameLayerBuilder::Clip Struct Reference

Clip represents the intersection of an optional rectangle with a list of rounded rectangles. More...

#include <FrameLayerBuilder.h>

Collaboration diagram for mozilla::FrameLayerBuilder::Clip:

List of all members.

Classes

struct  RoundedRect

Public Member Functions

 Clip ()
 Clip (const Clip &aOther, nsDisplayItem *aClipItem)
void ApplyTo (gfxContext *aContext, nsPresContext *aPresContext)
nsRect ApproximateIntersect (const nsRect &aRect) const
bool IsRectClippedByRoundedCorner (const nsRect &aRect) const
nsRect NonRoundedIntersection () const
void RemoveRoundedCorners ()
bool operator== (const Clip &aOther) const
bool operator!= (const Clip &aOther) const

Public Attributes

nsRect mClipRect
nsTArray< RoundedRectmRoundedClipRects
PRPackedBool mHaveClipRect

Detailed Description

Clip represents the intersection of an optional rectangle with a list of rounded rectangles.


Constructor & Destructor Documentation

mozilla::FrameLayerBuilder::Clip::Clip (  )  [inline]
mozilla::FrameLayerBuilder::Clip::Clip ( const Clip aOther,
nsDisplayItem aClipItem 
)

Member Function Documentation

void mozilla::FrameLayerBuilder::Clip::ApplyTo ( gfxContext aContext,
nsPresContext aPresContext 
)
nsRect mozilla::FrameLayerBuilder::Clip::ApproximateIntersect ( const nsRect aRect  )  const
bool mozilla::FrameLayerBuilder::Clip::IsRectClippedByRoundedCorner ( const nsRect aRect  )  const
nsRect mozilla::FrameLayerBuilder::Clip::NonRoundedIntersection (  )  const
bool mozilla::FrameLayerBuilder::Clip::operator!= ( const Clip aOther  )  const [inline]
bool mozilla::FrameLayerBuilder::Clip::operator== ( const Clip aOther  )  const [inline]
void mozilla::FrameLayerBuilder::Clip::RemoveRoundedCorners (  ) 

Member Data Documentation


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