Back to index

lightning-sunbird  0.9+nobinonly
Public Member Functions | Public Attributes
nsLineLayout::PerFrameData Struct Reference

#include <nsLineLayout.h>

Collaboration diagram for nsLineLayout::PerFrameData:
Collaboration graph
[legend]

List of all members.

Public Member Functions

void SetFlag (PRUint32 aFlag, PRBool aValue)
PRBool GetFlag (PRUint32 aFlag) const
PerFrameDataLast ()

Public Attributes

PerFrameDatamNext
PerFrameDatamPrev
PerSpanDatamSpan
nsIFramemFrame
nsCSSFrameType mFrameType
nscoord mAscent
nscoord mDescent
nsRect mBounds
nscoord mMaxElementWidth
nsRect mCombinedArea
nsMargin mMargin
nsMargin mBorderPadding
nsMargin mOffsets
PRInt32 mJustificationNumSpaces
PRInt32 mJustificationNumLetters
PRUint8 mVerticalAlign
PRPackedBool mFlags

Detailed Description

Definition at line 345 of file nsLineLayout.h.


Member Function Documentation

Definition at line 400 of file nsLineLayout.h.

    {
      NS_ASSERTION(aFlag<=PFD_LASTFLAG, "bad flag");
      PRBool result = (mFlags & aFlag);
      if (result) return PR_TRUE;
      return PR_FALSE;
    }

Here is the caller graph for this function:

Definition at line 409 of file nsLineLayout.h.

                         {
      PerFrameData* pfd = this;
      while (pfd->mNext) {
        pfd = pfd->mNext;
      }
      return pfd;
    }

Here is the caller graph for this function:

void nsLineLayout::PerFrameData::SetFlag ( PRUint32  aFlag,
PRBool  aValue 
) [inline]

Definition at line 388 of file nsLineLayout.h.

    {
      NS_ASSERTION(aFlag<=PFD_LASTFLAG, "bad flag");
      NS_ASSERTION(aValue==PR_FALSE || aValue==PR_TRUE, "bad value");
      if (aValue) { // set flag
        mFlags |= aFlag;
      }
      else {        // unset flag
        mFlags &= ~aFlag;
      }
    }

Here is the caller graph for this function:


Member Data Documentation

Definition at line 358 of file nsLineLayout.h.

Definition at line 365 of file nsLineLayout.h.

Definition at line 359 of file nsLineLayout.h.

Definition at line 361 of file nsLineLayout.h.

Definition at line 358 of file nsLineLayout.h.

Definition at line 386 of file nsLineLayout.h.

Definition at line 354 of file nsLineLayout.h.

Definition at line 355 of file nsLineLayout.h.

Definition at line 370 of file nsLineLayout.h.

Definition at line 369 of file nsLineLayout.h.

Definition at line 364 of file nsLineLayout.h.

Definition at line 360 of file nsLineLayout.h.

Definition at line 347 of file nsLineLayout.h.

Definition at line 366 of file nsLineLayout.h.

Definition at line 348 of file nsLineLayout.h.

Definition at line 351 of file nsLineLayout.h.

Definition at line 373 of file nsLineLayout.h.


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