CorsixTH engine (the C++ part)
Open source implementation of Theme Hospital
Loading...
Searching...
No Matches
Public Member Functions | List of all members
render_target::scoped_target_texture Class Referencefinal

#include <th_gfx_sdl.h>

Inheritance diagram for render_target::scoped_target_texture:
render_target::scoped_buffer

Public Member Functions

 scoped_target_texture (render_target *pTarget, int iX, int iY, int iWidth, int iHeight, bool bScale)
 
 scoped_target_texture (scoped_target_texture &)=delete
 
scoped_target_textureoperator= (scoped_target_texture &)=delete
 
 ~scoped_target_texture () override
 
void offset (SDL_FRect &targetRect) const
 
double scale_factor () const
 
bool is_target () const
 
- Public Member Functions inherited from render_target::scoped_buffer
virtual ~scoped_buffer ()=default
 

Constructor & Destructor Documentation

◆ scoped_target_texture() [1/2]

render_target::scoped_target_texture::scoped_target_texture ( render_target pTarget,
int  iX,
int  iY,
int  iWidth,
int  iHeight,
bool  bScale 
)

◆ scoped_target_texture() [2/2]

render_target::scoped_target_texture::scoped_target_texture ( scoped_target_texture )
delete

◆ ~scoped_target_texture()

render_target::scoped_target_texture::~scoped_target_texture ( )
override

Member Function Documentation

◆ is_target()

bool render_target::scoped_target_texture::is_target ( ) const

◆ offset()

void render_target::scoped_target_texture::offset ( SDL_FRect targetRect) const

◆ operator=()

scoped_target_texture & render_target::scoped_target_texture::operator= ( scoped_target_texture )
delete

◆ scale_factor()

double render_target::scoped_target_texture::scale_factor ( ) const

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