JUCE v8.0.9
JUCE API
 
Loading...
Searching...
No Matches
juce::detail::ShapedGlyph Struct Reference

#include <juce_SimpleShapedText.h>

Collaboration diagram for juce::detail::ShapedGlyph:

Public Member Functions

 ShapedGlyph (uint32_t glyphIdIn, int64 clusterIn, bool unsafeToBreakIn, bool whitespaceIn, bool newlineIn, int8_t distanceFromLigatureIn, Point< float > advanceIn, Point< float > offsetIn)
 
int8_t getDistanceFromLigature () const
 
int8_t getNumTrailingLigaturePlaceholders () const
 
bool isLigature () const
 
bool isNewline () const
 
bool isNonLigature () const
 
bool isPlaceholderForLigature () const
 
bool isUnsafeToBreak () const
 
bool isWhitespace () const
 

Public Attributes

Point< floatadvance
 
int64 cluster
 
uint32_t glyphId
 
Point< floatoffset
 

Private Attributes

int8_t distanceFromLigature
 
int8_t newline
 
int8_t unsafeToBreak
 
int8_t whitespace
 

Constructor & Destructor Documentation

◆ ShapedGlyph()

juce::detail::ShapedGlyph::ShapedGlyph ( uint32_t  glyphIdIn,
int64  clusterIn,
bool  unsafeToBreakIn,
bool  whitespaceIn,
bool  newlineIn,
int8_t  distanceFromLigatureIn,
Point< float advanceIn,
Point< float offsetIn 
)
inline

Member Function Documentation

◆ getDistanceFromLigature()

int8_t juce::detail::ShapedGlyph::getDistanceFromLigature ( ) const
inline

References distanceFromLigature.

◆ getNumTrailingLigaturePlaceholders()

int8_t juce::detail::ShapedGlyph::getNumTrailingLigaturePlaceholders ( ) const
inline

References distanceFromLigature.

◆ isLigature()

bool juce::detail::ShapedGlyph::isLigature ( ) const
inline

References distanceFromLigature.

◆ isNewline()

bool juce::detail::ShapedGlyph::isNewline ( ) const
inline

References newline.

◆ isNonLigature()

bool juce::detail::ShapedGlyph::isNonLigature ( ) const
inline

References distanceFromLigature.

◆ isPlaceholderForLigature()

bool juce::detail::ShapedGlyph::isPlaceholderForLigature ( ) const
inline

References distanceFromLigature.

◆ isUnsafeToBreak()

bool juce::detail::ShapedGlyph::isUnsafeToBreak ( ) const
inline

References unsafeToBreak.

◆ isWhitespace()

bool juce::detail::ShapedGlyph::isWhitespace ( ) const
inline

References whitespace.

Member Data Documentation

◆ advance

Point<float> juce::detail::ShapedGlyph::advance

◆ cluster

int64 juce::detail::ShapedGlyph::cluster

◆ distanceFromLigature

int8_t juce::detail::ShapedGlyph::distanceFromLigature
private

◆ glyphId

uint32_t juce::detail::ShapedGlyph::glyphId

◆ newline

int8_t juce::detail::ShapedGlyph::newline
private

Referenced by isNewline().

◆ offset

Point<float> juce::detail::ShapedGlyph::offset

◆ unsafeToBreak

int8_t juce::detail::ShapedGlyph::unsafeToBreak
private

Referenced by isUnsafeToBreak().

◆ whitespace

int8_t juce::detail::ShapedGlyph::whitespace
private

Referenced by isWhitespace().


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