LMMS
Loading...
Searching...
No Matches
juce::Font::SharedFontInternal Class Reference
Inheritance diagram for juce::Font::SharedFontInternal:
juce::ReferenceCountedObject

Public Member Functions

 SharedFontInternal () noexcept
 SharedFontInternal (int styleFlags, float fontHeight) noexcept
 SharedFontInternal (const String &name, int styleFlags, float fontHeight) noexcept
 SharedFontInternal (const String &name, const String &style, float fontHeight) noexcept
 SharedFontInternal (const Typeface::Ptr &face) noexcept
 SharedFontInternal (const SharedFontInternal &other) noexcept
auto tie () const
bool operator== (const SharedFontInternal &other) const noexcept
bool operator< (const SharedFontInternal &other) const noexcept
Typeface::Ptr getTypefacePtr (const Font &f)
void checkTypefaceSuitability (const Font &f)
float getAscent (const Font &f)
String getTypefaceName () const
String getTypefaceStyle () const
float getHeight () const
float getHorizontalScale () const
float getKerning () const
bool getUnderline () const
void setTypeface (Typeface::Ptr x)
void setTypefaceName (String x)
void setTypefaceStyle (String x)
void setHeight (float x)
void setHorizontalScale (float x)
void setKerning (float x)
void setAscent (float x)
void setUnderline (bool x)
Public Member Functions inherited from juce::ReferenceCountedObject
void incReferenceCount () noexcept
void decReferenceCount () noexcept
bool decReferenceCountWithoutDeleting () noexcept
int getReferenceCount () const noexcept

Private Attributes

Typeface::Ptr typeface
String typefaceName
String typefaceStyle
float height = 0.0f
float horizontalScale = 1.0f
float kerning = 0.0f
float ascent = 0.0f
bool underline = false
CriticalSection mutex

Additional Inherited Members

Protected Member Functions inherited from juce::ReferenceCountedObject
 ReferenceCountedObject ()=default
 ReferenceCountedObject (const ReferenceCountedObject &) noexcept
 ReferenceCountedObject (ReferenceCountedObject &&) noexcept
ReferenceCountedObjectoperator= (const ReferenceCountedObject &) noexcept
ReferenceCountedObjectoperator= (ReferenceCountedObject &&) noexcept
virtual ~ReferenceCountedObject ()
void resetReferenceCount () noexcept

Constructor & Destructor Documentation

◆ SharedFontInternal() [1/6]

juce::Font::SharedFontInternal::SharedFontInternal ( )
inlinenoexcept

◆ SharedFontInternal() [2/6]

juce::Font::SharedFontInternal::SharedFontInternal ( int styleFlags,
float fontHeight )
inlinenoexcept

◆ SharedFontInternal() [3/6]

juce::Font::SharedFontInternal::SharedFontInternal ( const String & name,
int styleFlags,
float fontHeight )
inlinenoexcept

◆ SharedFontInternal() [4/6]

juce::Font::SharedFontInternal::SharedFontInternal ( const String & name,
const String & style,
float fontHeight )
inlinenoexcept

◆ SharedFontInternal() [5/6]

juce::Font::SharedFontInternal::SharedFontInternal ( const Typeface::Ptr & face)
inlineexplicitnoexcept

◆ SharedFontInternal() [6/6]

juce::Font::SharedFontInternal::SharedFontInternal ( const SharedFontInternal & other)
inlinenoexcept

Member Function Documentation

◆ checkTypefaceSuitability()

void juce::Font::SharedFontInternal::checkTypefaceSuitability ( const Font & f)
inline

◆ getAscent()

float juce::Font::SharedFontInternal::getAscent ( const Font & f)
inline

◆ getHeight()

float juce::Font::SharedFontInternal::getHeight ( ) const
inline

◆ getHorizontalScale()

float juce::Font::SharedFontInternal::getHorizontalScale ( ) const
inline

◆ getKerning()

float juce::Font::SharedFontInternal::getKerning ( ) const
inline

◆ getTypefaceName()

String juce::Font::SharedFontInternal::getTypefaceName ( ) const
inline

◆ getTypefacePtr()

Typeface::Ptr juce::Font::SharedFontInternal::getTypefacePtr ( const Font & f)
inline

◆ getTypefaceStyle()

String juce::Font::SharedFontInternal::getTypefaceStyle ( ) const
inline

◆ getUnderline()

bool juce::Font::SharedFontInternal::getUnderline ( ) const
inline

◆ operator<()

bool juce::Font::SharedFontInternal::operator< ( const SharedFontInternal & other) const
inlinenoexcept

◆ operator==()

bool juce::Font::SharedFontInternal::operator== ( const SharedFontInternal & other) const
inlinenoexcept

◆ setAscent()

void juce::Font::SharedFontInternal::setAscent ( float x)
inline

◆ setHeight()

void juce::Font::SharedFontInternal::setHeight ( float x)
inline

◆ setHorizontalScale()

void juce::Font::SharedFontInternal::setHorizontalScale ( float x)
inline

◆ setKerning()

void juce::Font::SharedFontInternal::setKerning ( float x)
inline

◆ setTypeface()

void juce::Font::SharedFontInternal::setTypeface ( Typeface::Ptr x)
inline

◆ setTypefaceName()

void juce::Font::SharedFontInternal::setTypefaceName ( String x)
inline

◆ setTypefaceStyle()

void juce::Font::SharedFontInternal::setTypefaceStyle ( String x)
inline

◆ setUnderline()

void juce::Font::SharedFontInternal::setUnderline ( bool x)
inline

◆ tie()

auto juce::Font::SharedFontInternal::tie ( ) const
inline

Member Data Documentation

◆ ascent

float juce::Font::SharedFontInternal::ascent = 0.0f
private

◆ height

float juce::Font::SharedFontInternal::height = 0.0f
private

◆ horizontalScale

float juce::Font::SharedFontInternal::horizontalScale = 1.0f
private

◆ kerning

float juce::Font::SharedFontInternal::kerning = 0.0f
private

◆ mutex

CriticalSection juce::Font::SharedFontInternal::mutex
private

◆ typeface

Typeface::Ptr juce::Font::SharedFontInternal::typeface
private

◆ typefaceName

String juce::Font::SharedFontInternal::typefaceName
private

◆ typefaceStyle

String juce::Font::SharedFontInternal::typefaceStyle
private

◆ underline

bool juce::Font::SharedFontInternal::underline = false
private

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