ShishGL  1.0
A simple modular cross-platform graphics library
Sh::Frame Struct Reference

#include <Frame.hpp>

Collaboration diagram for Sh::Frame:

Public Member Functions

void fit_into (const Frame &other)
 
Vector2< double > remap (const Vector2< double > &point) const
 
bool contains (const Vector2< double > &point) const
 

Public Attributes

Vector2< double > pos
 
Vector2< double > size
 

Member Function Documentation

◆ contains()

bool Sh::Frame::contains ( const Vector2< double > &  point) const
inline

◆ fit_into()

void Frame::fit_into ( const Frame other)

◆ remap()

Vector2< double > Frame::remap ( const Vector2< double > &  point) const

Member Data Documentation

◆ pos

Vector2<double> Sh::Frame::pos

◆ size

Vector2<double> Sh::Frame::size

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