ShishGL  1.0
A simple modular cross-platform graphics library
Sh::RectangleShape Class Reference

#include <RectangleShape.hpp>

Inheritance diagram for Sh::RectangleShape:
Collaboration diagram for Sh::RectangleShape:

Public Member Functions

void draw (const Frame &viewport) const override
 
bool contains (const Frame &viewport, const Vector2< double > &point) const override
 
- Public Member Functions inherited from Sh::Shape2D
virtual ~Shape2D ()=default
 

Member Function Documentation

◆ contains()

bool RectangleShape::contains ( const Frame viewport,
const Vector2< double > &  point 
) const
overridevirtual

Implements Sh::Shape2D.

◆ draw()

void RectangleShape::draw ( const Frame viewport) const
overridevirtual

Implements Sh::Shape2D.


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