JNGL
Easy to use cross-platform 2D game library
Loading...
Searching...
No Matches
Public Member Functions | List of all members
Zoom Class Reference

Scales the ModelView matrix. More...

#include <jngl/effects.hpp>

Public Member Functions

 Zoom (std::function< float(float)>)
 f(t)
 
Action step () override
 
void beginDraw () const override
 
void endDraw () const override
 

Additional Inherited Members

- Public Types inherited from Effect
enum class  Action : uint8_t { NONE , REMOVE_EFFECT , REMOVE_WIDGET }
 

Detailed Description

Scales the ModelView matrix.

Definition at line 29 of file effects.hpp.

Inheritance diagram for Zoom:
[legend]
Collaboration diagram for Zoom:
[legend]

Member Function Documentation

◆ step()

Action step ( )
overridevirtual

Implements Effect.

◆ beginDraw()

void beginDraw ( ) const
overridevirtual

Implements Effect.

◆ endDraw()

void endDraw ( ) const
overridevirtual

Implements Effect.


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