Nix (Dev) 3.5.10
dev - 3.5.10 - 1af9301
Loading...
Searching...
No Matches
iv::mimics::retro Namespace Reference

Classes

class  AbstractRetroMimicElement
 
class  AuxiliaryText_1_0
 
class  ChannelText_1_0
 
class  Digital_1_0
 
class  DynamicText_1_0
 
class  Migrations
 

Typedefs

typedef std::string stringMimicElementType
 

Functions

static iv::types::Size calculateTextSizeThatFitsInBox (const iv::types::width width, const iv::types::height height, const std::string &text, IGraphics *graphics)
 
static iv::types::Size calculateTextSize (const std::vector< std::string > &texts, const iv::types::width width, const iv::types::height height)
 
static iv::types::Size calculateTextSizeThatFitsInBox (const iv::types::width width, const iv::types::height height, const std::string &text, IGraphics *graphics)
 
static iv::types::Size calculateTextSize (const std::vector< std::string > &texts, const iv::types::width width, const iv::types::height height)
 
bool isRetroElement (const std::string &elementType, const iv::types::mimicElementVersion &version)
 Checks if the given element type and version correspond to a retro element.
 
iv::types::mimicElementVersion getCurrentElementVersion (const std::string &elementType)
 Retrieves the current version of the specified element type.
 

Typedef Documentation

◆ stringMimicElementType

Function Documentation

◆ calculateTextSize() [1/2]

static iv::types::Size iv::mimics::retro::calculateTextSize ( const std::vector< std::string > & texts,
const iv::types::width width,
const iv::types::height height )
static

◆ calculateTextSize() [2/2]

static iv::types::Size iv::mimics::retro::calculateTextSize ( const std::vector< std::string > & texts,
const iv::types::width width,
const iv::types::height height )
static

◆ calculateTextSizeThatFitsInBox() [1/2]

static iv::types::Size iv::mimics::retro::calculateTextSizeThatFitsInBox ( const iv::types::width width,
const iv::types::height height,
const std::string & text,
IGraphics * graphics )
static

◆ calculateTextSizeThatFitsInBox() [2/2]

static iv::types::Size iv::mimics::retro::calculateTextSizeThatFitsInBox ( const iv::types::width width,
const iv::types::height height,
const std::string & text,
IGraphics * graphics )
static

◆ getCurrentElementVersion()

iv::types::mimicElementVersion iv::mimics::retro::getCurrentElementVersion ( const std::string & elementType)

Retrieves the current version of the specified element type.

Parameters
elementTypeThe type of the element as a string.
Returns
The current version of the element type.

◆ isRetroElement()

bool iv::mimics::retro::isRetroElement ( const std::string & elementType,
const iv::types::mimicElementVersion & version )

Checks if the given element type and version correspond to a retro element.

Parameters
elementTypeThe type of the element as a string.
versionThe version of the element as a mimicElementVersion.
Returns
True if the element is a retro element, false otherwise.