Jamba C++ API
5.1.1
|
#include <DrawContext.h>
Inherited by RelativeDrawContext.
Public Member Functions | |
RelativePoint | clampAbsolutePoint (AbsolutePoint const &iPoint) const |
Convert the absolute point to a relative point while making sure it is clamped (constrained) within this relative view. More... | |
RelativePoint | fromAbsolutePoint (AbsolutePoint const &iPoint) const |
RelativeCoord | fromAbsoluteX (AbsoluteCoord x) const |
RelativeCoord | fromAbsoluteY (AbsoluteCoord y) const |
CCoord | getHeight () const |
Range | getHorizontalRange () const |
Range | getVerticalRange () const |
RelativeRect | getViewSize () const |
CCoord | getWidth () const |
RelativeView (CView const *iView) | |
RelativeView (AbsoluteRect const &iRect) | |
AbsolutePoint | toAbsolutePoint (RelativePoint const &iPoint) const |
AbsolutePoint | toAbsolutePoint (RelativeCoord x, RelativeCoord y) const |
AbsoluteRect | toAbsoluteRect (RelativeRect const &iRect) const |
AbsoluteCoord | toAbsoluteX (RelativeCoord x) const |
AbsoluteCoord | toAbsoluteY (RelativeCoord y) const |
Protected Attributes | |
AbsoluteRect const & | fRect |
|
inlineexplicit |
|
inlineexplicit |
|
inline |
Convert the absolute point to a relative point while making sure it is clamped (constrained) within this relative view.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
protected |