Shaka Player Embedded
Public Member Functions | Public Attributes | List of all members
shaka::ShakaRect< T > Struct Template Reference

#include <utils.h>

Public Member Functions

bool operator== (const ShakaRect &other) const
 
bool operator!= (const ShakaRect &other) const
 

Public Attributes

x
 
y
 
w
 
h
 

Detailed Description

template<typename T>
struct shaka::ShakaRect< T >

A simple struct representing a rectangle, with integer precision. Units are in pixels.

Definition at line 68 of file utils.h.

Member Function Documentation

§ operator!=()

template<typename T>
bool shaka::ShakaRect< T >::operator!= ( const ShakaRect< T > &  other) const
inline

Definition at line 77 of file utils.h.

§ operator==()

template<typename T>
bool shaka::ShakaRect< T >::operator== ( const ShakaRect< T > &  other) const
inline

Definition at line 74 of file utils.h.

Member Data Documentation

§ h

template<typename T>
T shaka::ShakaRect< T >::h

Definition at line 72 of file utils.h.

§ w

template<typename T>
T shaka::ShakaRect< T >::w

Definition at line 71 of file utils.h.

§ x

template<typename T>
T shaka::ShakaRect< T >::x

Definition at line 69 of file utils.h.

§ y

template<typename T>
T shaka::ShakaRect< T >::y

Definition at line 70 of file utils.h.


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