Simple GUI Library
image.cpp File Reference
#include "sml/graphics_wrapper/renderer.h"
#include "media/image.h"
Include dependency graph for image.cpp:

Go to the source code of this file.

Functions

void Sgl::renderImage (const Image *image, const Sml::Rectangle< int32_t > &targetRegion)
 
void Sgl::renderImage (const Image *image, const Sml::Rectangle< int32_t > &targetRegion, int32_t scaledWidth, int32_t scaledHeight)
 

Detailed Description

Author
Nikita Mochalov (github.com/tralf-strues)
Date
2021-11-07

Definition in file image.cpp.

Function Documentation

◆ renderImage() [1/2]

void Sgl::renderImage ( const Image image,
const Sml::Rectangle< int32_t > &  targetRegion 
)

Definition at line 30 of file image.cpp.

◆ renderImage() [2/2]

void Sgl::renderImage ( const Image image,
const Sml::Rectangle< int32_t > &  targetRegion,
int32_t  scaledWidth,
int32_t  scaledHeight 
)

Definition at line 38 of file image.cpp.