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

#include <LengthBox.h>

Inheritance diagram for WebCore::LengthBox:
WebCore::BoxExtent< Length > WebCore::BoxExtent< Length >

Public Member Functions

 LengthBox ()
 
 LengthBox (LengthType type)
 
 LengthBox (int v)
 
 LengthBox (int top, int right, int bottom, int left)
 
 LengthBox (Length &&top, Length &&right, Length &&bottom, Length &&left)
 
bool isZero () const
 
 LengthBox ()
 
 LengthBox (LengthType type)
 
 LengthBox (int v)
 
 LengthBox (int top, int right, int bottom, int left)
 
 LengthBox (Length &&top, Length &&right, Length &&bottom, Length &&left)
 
bool isZero () const
 
- Public Member Functions inherited from WebCore::BoxExtent< Length >
 BoxExtent ()
 
 BoxExtent (const Length &top, const Length &right, const Length &bottom, const Length &left)
 
 BoxExtent (Length &&top, Length &&right, Length &&bottom, Length &&left)
 
 BoxExtent ()
 
 BoxExtent (const Length &top, const Length &right, const Length &bottom, const Length &left)
 
 BoxExtent (Length &&top, Length &&right, Length &&bottom, Length &&left)
 
Lengthat (PhysicalBoxSide side)
 
const Lengthat (PhysicalBoxSide side) const
 
Lengthat (PhysicalBoxSide side)
 
const Lengthat (PhysicalBoxSide side) const
 
Lengthtop ()
 
const Lengthtop () const
 
Lengthtop ()
 
const Lengthtop () const
 
Lengthright ()
 
const Lengthright () const
 
Lengthright ()
 
const Lengthright () const
 
Lengthbottom ()
 
const Lengthbottom () const
 
Lengthbottom ()
 
const Lengthbottom () const
 
Lengthleft ()
 
const Lengthleft () const
 
Lengthleft ()
 
const Lengthleft () const
 
void setAt (PhysicalBoxSide side, const Length &v)
 
void setAt (PhysicalBoxSide side, const Length &v)
 
void setTop (const Length &top)
 
void setTop (const Length &top)
 
void setRight (const Length &right)
 
void setRight (const Length &right)
 
void setBottom (const Length &bottom)
 
void setBottom (const Length &bottom)
 
void setLeft (const Length &left)
 
void setLeft (const Length &left)
 
Lengthbefore (WritingMode writingMode)
 
const Lengthbefore (WritingMode writingMode) const
 
Lengthbefore (WritingMode writingMode)
 
const Lengthbefore (WritingMode writingMode) const
 
Lengthafter (WritingMode writingMode)
 
const Lengthafter (WritingMode writingMode) const
 
Lengthafter (WritingMode writingMode)
 
const Lengthafter (WritingMode writingMode) const
 
Lengthstart (WritingMode writingMode, TextDirection direction=LTR)
 
const Lengthstart (WritingMode writingMode, TextDirection direction=LTR) const
 
Lengthstart (WritingMode writingMode, TextDirection direction=LTR)
 
const Lengthstart (WritingMode writingMode, TextDirection direction=LTR) const
 
Lengthend (WritingMode writingMode, TextDirection direction=LTR)
 
const Lengthend (WritingMode writingMode, TextDirection direction=LTR) const
 
Lengthend (WritingMode writingMode, TextDirection direction=LTR)
 
const Lengthend (WritingMode writingMode, TextDirection direction=LTR) const
 
void setBefore (const Length &before, WritingMode writingMode)
 
void setBefore (const Length &before, WritingMode writingMode)
 
void setAfter (const Length &after, WritingMode writingMode)
 
void setAfter (const Length &after, WritingMode writingMode)
 
void setStart (const Length &start, WritingMode writingMode, TextDirection direction=LTR)
 
void setStart (const Length &start, WritingMode writingMode, TextDirection direction=LTR)
 
void setEnd (const Length &end, WritingMode writingMode, TextDirection direction=LTR)
 
void setEnd (const Length &end, WritingMode writingMode, TextDirection direction=LTR)
 
bool operator== (const BoxExtent &other) const
 
bool operator== (const BoxExtent &other) const
 
bool operator!= (const BoxExtent &other) const
 
bool operator!= (const BoxExtent &other) const
 

Additional Inherited Members

- Protected Attributes inherited from WebCore::BoxExtent< Length >
std::array< Length, 4 > m_sides
 

Constructor & Destructor Documentation

◆ LengthBox() [1/10]

WebCore::LengthBox::LengthBox ( )
inline

◆ LengthBox() [2/10]

WebCore::LengthBox::LengthBox ( LengthType  type)
inlineexplicit

◆ LengthBox() [3/10]

WebCore::LengthBox::LengthBox ( int  v)
inlineexplicit

◆ LengthBox() [4/10]

WebCore::LengthBox::LengthBox ( int  top,
int  right,
int  bottom,
int  left 
)
inline

◆ LengthBox() [5/10]

WebCore::LengthBox::LengthBox ( Length &&  top,
Length &&  right,
Length &&  bottom,
Length &&  left 
)
inline

◆ LengthBox() [6/10]

WebCore::LengthBox::LengthBox ( )
inline

◆ LengthBox() [7/10]

WebCore::LengthBox::LengthBox ( LengthType  type)
inlineexplicit

◆ LengthBox() [8/10]

WebCore::LengthBox::LengthBox ( int  v)
inlineexplicit

◆ LengthBox() [9/10]

WebCore::LengthBox::LengthBox ( int  top,
int  right,
int  bottom,
int  left 
)
inline

◆ LengthBox() [10/10]

WebCore::LengthBox::LengthBox ( Length &&  top,
Length &&  right,
Length &&  bottom,
Length &&  left 
)
inline

Member Function Documentation

◆ isZero() [1/2]

bool WebCore::LengthBox::isZero ( ) const
inline

◆ isZero() [2/2]

bool WebCore::LengthBox::isZero ( ) const
inline

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