LLScreenClipRect Class Reference

#include <llui.h>

Inheritance diagram for LLScreenClipRect:

Inheritance graph
[legend]
Collaboration diagram for LLScreenClipRect:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 LLScreenClipRect (const LLRect &rect, BOOL enabled=TRUE)
virtual ~LLScreenClipRect ()

Static Private Member Functions

static void pushClipRect (const LLRect &rect)
static void popClipRect ()
static void updateScissorRegion ()

Private Attributes

LLGLState mScissorState
BOOL mEnabled

Static Private Attributes

static std::stack< LLRectsClipRectStack


Detailed Description

Definition at line 387 of file llui.h.


Constructor & Destructor Documentation

LLScreenClipRect::LLScreenClipRect ( const LLRect rect,
BOOL  enabled = TRUE 
)

Definition at line 1757 of file llui.cpp.

References mEnabled, mScissorState, pushClipRect(), sClipRectStack, LLGLState::setEnabled(), and updateScissorRegion().

Here is the call graph for this function:

LLScreenClipRect::~LLScreenClipRect (  )  [virtual]

Definition at line 1767 of file llui.cpp.

References mEnabled, popClipRect(), and updateScissorRegion().

Here is the call graph for this function:


Member Function Documentation

void LLScreenClipRect::pushClipRect ( const LLRect rect  )  [static, private]

Definition at line 1777 of file llui.cpp.

References LLRectBase< Type >::intersectWith(), and sClipRectStack.

Referenced by LLScreenClipRect().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLScreenClipRect::popClipRect (  )  [static, private]

Definition at line 1789 of file llui.cpp.

References sClipRectStack.

Referenced by ~LLScreenClipRect().

Here is the caller graph for this function:

void LLScreenClipRect::updateScissorRegion (  )  [static, private]

Definition at line 1795 of file llui.cpp.

References LLRectBase< Type >::getHeight(), LLRectBase< Type >::getWidth(), llceil(), llfloor(), llmax(), LLRectBase< Type >::mBottom, LLRectBase< Type >::mLeft, LLVector2::mV, S32, sClipRectStack, LLUI::sGLScaleFactor, stop_glerror, VX, and VY.

Referenced by LLScreenClipRect(), and ~LLScreenClipRect().

Here is the call graph for this function:

Here is the caller graph for this function:


Member Data Documentation

Definition at line 399 of file llui.h.

Referenced by LLScreenClipRect().

Definition at line 400 of file llui.h.

Referenced by LLScreenClipRect(), and ~LLScreenClipRect().

std::stack< LLRect > LLScreenClipRect::sClipRectStack [static, private]

Definition at line 402 of file llui.h.

Referenced by LLScreenClipRect(), popClipRect(), pushClipRect(), and updateScissorRegion().


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

Generated on Fri May 16 09:01:43 2008 for SecondLife by  doxygen 1.5.5