JUCE v8.0.9
JUCE API
 
Loading...
Searching...
No Matches
juce::AggregateFontCollection Class Reference

#include <juce_DirectX_windows.h>

Collaboration diagram for juce::AggregateFontCollection:

Classes

struct  MapResult
 

Public Member Functions

 AggregateFontCollection (ComSmartPtr< IDWriteFontCollection > baseCollection)
 
void addCollection (ComSmartPtr< IDWriteFontCollection > collection)
 
StringArray findAllTypefaceNames ()
 
StringArray findAllTypefaceStyles (const String &family)
 
ComSmartPtr< IDWriteFont > findFontForFace (IDWriteFontFace *face)
 
ComSmartPtr< IDWriteFontFamily > getFamilyByName (const wchar_t *name)
 
MapResult mapCharacters (IDWriteFontFallback *fallback, IDWriteTextAnalysisSource *analysisSource, UINT32 textPosition, UINT32 textLength, wchar_t const *baseFamilyName, DWRITE_FONT_WEIGHT baseWeight, DWRITE_FONT_STYLE baseStyle, DWRITE_FONT_STRETCH baseStretch) noexcept
 
void removeCollection (ComSmartPtr< IDWriteFontCollection > collection)
 

Static Public Member Functions

static std::vector< ComSmartPtr< IDWriteFont > > getAllFontsInFamily (IDWriteFontFamily *fontFamily)
 

Private Attributes

std::vector< ComSmartPtr< IDWriteFontCollection > > collections
 
std::mutex mutex
 

Constructor & Destructor Documentation

◆ AggregateFontCollection()

juce::AggregateFontCollection::AggregateFontCollection ( ComSmartPtr< IDWriteFontCollection >  baseCollection)
explicit

Member Function Documentation

◆ addCollection()

void juce::AggregateFontCollection::addCollection ( ComSmartPtr< IDWriteFontCollection >  collection)

◆ findAllTypefaceNames()

StringArray juce::AggregateFontCollection::findAllTypefaceNames ( )

◆ findAllTypefaceStyles()

StringArray juce::AggregateFontCollection::findAllTypefaceStyles ( const String family)

◆ findFontForFace()

ComSmartPtr< IDWriteFont > juce::AggregateFontCollection::findFontForFace ( IDWriteFontFace *  face)

◆ getAllFontsInFamily()

static std::vector< ComSmartPtr< IDWriteFont > > juce::AggregateFontCollection::getAllFontsInFamily ( IDWriteFontFamily *  fontFamily)
static

◆ getFamilyByName()

ComSmartPtr< IDWriteFontFamily > juce::AggregateFontCollection::getFamilyByName ( const wchar_t *  name)

◆ mapCharacters()

MapResult juce::AggregateFontCollection::mapCharacters ( IDWriteFontFallback *  fallback,
IDWriteTextAnalysisSource *  analysisSource,
UINT32  textPosition,
UINT32  textLength,
wchar_t const *  baseFamilyName,
DWRITE_FONT_WEIGHT  baseWeight,
DWRITE_FONT_STYLE  baseStyle,
DWRITE_FONT_STRETCH  baseStretch 
)
noexcept

◆ removeCollection()

void juce::AggregateFontCollection::removeCollection ( ComSmartPtr< IDWriteFontCollection >  collection)

Member Data Documentation

◆ collections

std::vector<ComSmartPtr<IDWriteFontCollection> > juce::AggregateFontCollection::collections
private

◆ mutex

std::mutex juce::AggregateFontCollection::mutex
private

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