Atlas Game Manager
A game manager for f95 and dlsite written in c++
Loading...
Searching...
No Matches
atlas::images::async Namespace Reference

Namespaces

namespace  internal
 

Functions

QFuture< std::filesystem::path > importImageFromURL (const QString url, const RecordID record_id)
 
QFuture< std::filesystem::path > importImage (const std::filesystem::path &path, const RecordID game_id)
 Stores the image located at path in the data folder.
 
QFuture< std::filesystem::path > importPixmap (const QPixmap pixmap, const RecordID game_id)
 
QFuture< QPixmap > loadScaledPixmap (const QSize target_size, const SCALE_TYPE scale_type, const std::filesystem::path &path)
 
QFuture< QPixmap > loadPixmap (const std::filesystem::path &path)
 
QFuture< QPixmap > thumbnail (const std::filesystem::path &path)
 
QFuture< QPixmap > scaledThumbnail (const QSize size, const SCALE_TYPE scale_type, const std::filesystem::path &path)
 

Function Documentation

◆ importImage()

QFuture< std::filesystem::path > atlas::images::async::importImage ( const std::filesystem::path & path,
const RecordID game_id )
nodiscard

Stores the image located at path in the data folder.

◆ importImageFromURL()

QFuture< std::filesystem::path > atlas::images::async::importImageFromURL ( const QString url,
const RecordID record_id )
nodiscard

◆ importPixmap()

QFuture< std::filesystem::path > atlas::images::async::importPixmap ( const QPixmap pixmap,
const RecordID game_id )
nodiscard

◆ loadPixmap()

QFuture< QPixmap > atlas::images::async::loadPixmap ( const std::filesystem::path & path)
nodiscard

◆ loadScaledPixmap()

QFuture< QPixmap > atlas::images::async::loadScaledPixmap ( const QSize target_size,
const SCALE_TYPE scale_type,
const std::filesystem::path & path )
nodiscard

◆ scaledThumbnail()

QFuture< QPixmap > atlas::images::async::scaledThumbnail ( const QSize size,
const SCALE_TYPE scale_type,
const std::filesystem::path & path )

◆ thumbnail()

QFuture< QPixmap > atlas::images::async::thumbnail ( const std::filesystem::path & path)