Back to index

lightning-sunbird  0.9+nobinonly
Defines | Functions
nsCellMap.cpp File Reference
#include "nsLayoutAtoms.h"
#include "nsVoidArray.h"
#include "nsCellMap.h"
#include "nsTableFrame.h"
#include "nsTableCellFrame.h"
#include "nsTableRowGroupFrame.h"

Go to the source code of this file.

Defines

#define MIN_NUM_COLS_FOR_ZERO_COLSPAN   2

Functions

void SetDamageArea (PRInt32 aXOrigin, PRInt32 aYOrigin, PRInt32 aWidth, PRInt32 aHeight, nsRect &aDamageArea)

Define Documentation

Definition at line 47 of file nsCellMap.cpp.


Function Documentation

void SetDamageArea ( PRInt32  aXOrigin,
PRInt32  aYOrigin,
PRInt32  aWidth,
PRInt32  aHeight,
nsRect aDamageArea 
)

Definition at line 726 of file nsCellMap.cpp.

{
  aDamageArea.x      = aXOrigin;
  aDamageArea.y      = aYOrigin;
  aDamageArea.width  = PR_MAX(1, aWidth);
  aDamageArea.height = PR_MAX(1, aHeight);
}

Here is the caller graph for this function: