Jamba  3.0.2
pongasoft::VST::GUI::RelativeView Class Reference

#include <DrawContext.h>

Inherited by pongasoft::VST::GUI::RelativeDrawContext.

Public Member Functions

RelativePoint clampAbsolutePoint (AbsolutePoint const &iPoint) const
 
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
 

Constructor & Destructor Documentation

◆ RelativeView() [1/2]

pongasoft::VST::GUI::RelativeView::RelativeView ( CView const *  iView)
inlineexplicit

◆ RelativeView() [2/2]

pongasoft::VST::GUI::RelativeView::RelativeView ( AbsoluteRect const &  iRect)
inlineexplicit

Member Function Documentation

◆ clampAbsolutePoint()

RelativePoint pongasoft::VST::GUI::RelativeView::clampAbsolutePoint ( AbsolutePoint const &  iPoint) const
inline

Convert the absolute point to a relative point while making sure it is clamped (constrained) within this relative view.

◆ fromAbsolutePoint()

RelativePoint pongasoft::VST::GUI::RelativeView::fromAbsolutePoint ( AbsolutePoint const &  iPoint) const
inline

◆ fromAbsoluteX()

RelativeCoord pongasoft::VST::GUI::RelativeView::fromAbsoluteX ( AbsoluteCoord  x) const
inline

◆ fromAbsoluteY()

RelativeCoord pongasoft::VST::GUI::RelativeView::fromAbsoluteY ( AbsoluteCoord  y) const
inline

◆ getHeight()

CCoord pongasoft::VST::GUI::RelativeView::getHeight ( ) const
inline

◆ getHorizontalRange()

Range pongasoft::VST::GUI::RelativeView::getHorizontalRange ( ) const
inline

◆ getVerticalRange()

Range pongasoft::VST::GUI::RelativeView::getVerticalRange ( ) const
inline

◆ getViewSize()

RelativeRect pongasoft::VST::GUI::RelativeView::getViewSize ( ) const
inline

◆ getWidth()

CCoord pongasoft::VST::GUI::RelativeView::getWidth ( ) const
inline

◆ toAbsolutePoint() [1/2]

AbsolutePoint pongasoft::VST::GUI::RelativeView::toAbsolutePoint ( RelativePoint const &  iPoint) const
inline

◆ toAbsolutePoint() [2/2]

AbsolutePoint pongasoft::VST::GUI::RelativeView::toAbsolutePoint ( RelativeCoord  x,
RelativeCoord  y 
) const
inline

◆ toAbsoluteRect()

AbsoluteRect pongasoft::VST::GUI::RelativeView::toAbsoluteRect ( RelativeRect const &  iRect) const
inline

◆ toAbsoluteX()

AbsoluteCoord pongasoft::VST::GUI::RelativeView::toAbsoluteX ( RelativeCoord  x) const
inline

◆ toAbsoluteY()

AbsoluteCoord pongasoft::VST::GUI::RelativeView::toAbsoluteY ( RelativeCoord  y) const
inline

Member Data Documentation

◆ fRect

AbsoluteRect const& pongasoft::VST::GUI::RelativeView::fRect
protected

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