Back to index

lightning-sunbird  0.9+nobinonly
Public Member Functions | Public Attributes
nsTextDimensions Struct Reference

#include <nsIRenderingContext.h>

List of all members.

Public Member Functions

 nsTextDimensions ()
void Clear ()
void Combine (const nsTextDimensions &aOther)

Public Attributes

nscoord ascent
nscoord descent
nscoord width

Detailed Description

Definition at line 980 of file nsIRenderingContext.h.


Constructor & Destructor Documentation

Definition at line 991 of file nsIRenderingContext.h.

  {
    Clear();
  }

Here is the call graph for this function:


Member Function Documentation

Definition at line 998 of file nsIRenderingContext.h.

          {
    ascent = descent = width = 0;
  }

Here is the caller graph for this function:

Definition at line 1004 of file nsIRenderingContext.h.

                                          {
    if (ascent < aOther.ascent) ascent = aOther.ascent;
    if (descent < aOther.descent) descent = aOther.descent;   
    width += aOther.width;
  }

Here is the caller graph for this function:


Member Data Documentation

Definition at line 982 of file nsIRenderingContext.h.

Definition at line 985 of file nsIRenderingContext.h.

Definition at line 988 of file nsIRenderingContext.h.


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