RhythmGame 1.4.3
Loading...
Searching...
No Matches
Public Member Functions | Static Public Member Functions | List of all members
resource_managers::Lr2FontImageProvider Class Reference

#include <Lr2FontImageProvider.h>

Inheritance diagram for resource_managers::Lr2FontImageProvider:
Inheritance graph
[legend]
Collaboration diagram for resource_managers::Lr2FontImageProvider:
Collaboration graph
[legend]

Public Member Functions

 Lr2FontImageProvider ()
 
QImage requestImage (const QString &id, QSize *size, const QSize &requestedSize) override
 

Static Public Member Functions

static Lr2RenderedFontText renderedText (const QString &fontPath, const QString &text)
 
static QImage textImage (const QString &fontPath, const QString &text)
 
static QImage scaledTextImage (const QString &fontPath, const QString &text, const QSize &targetSize, bool smooth=false)
 

Constructor & Destructor Documentation

◆ Lr2FontImageProvider()

resource_managers::Lr2FontImageProvider::Lr2FontImageProvider ( )

Member Function Documentation

◆ renderedText()

Lr2RenderedFontText resource_managers::Lr2FontImageProvider::renderedText ( const QString &  fontPath,
const QString &  text 
)
static

◆ requestImage()

QImage resource_managers::Lr2FontImageProvider::requestImage ( const QString &  id,
QSize *  size,
const QSize &  requestedSize 
)
override

◆ scaledTextImage()

QImage resource_managers::Lr2FontImageProvider::scaledTextImage ( const QString &  fontPath,
const QString &  text,
const QSize &  targetSize,
bool  smooth = false 
)
static

◆ textImage()

QImage resource_managers::Lr2FontImageProvider::textImage ( const QString &  fontPath,
const QString &  text 
)
static

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