MCPcopy Create free account
hub / github.com/RomanKubiak/ctrlr / getLength

Function getLength

JUCE/modules/juce_graphics/fonts/juce_AttributedString.cpp:31–34  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

29namespace
30{
31 int getLength (const Array<AttributedString::Attribute>& atts) noexcept
32 {
33 return atts.size() != 0 ? atts.getReference (atts.size() - 1).range.getEnd() : 0;
34 }
35
36 void splitAttributeRanges (Array<AttributedString::Attribute>& atts, int position)
37 {

Callers 15

ustring.cppFile · 0.85
scanFloatMethod · 0.85
scanIntMethod · 0.85
getPointAlongLineMethod · 0.85
withShortenedStartMethod · 0.85
withShortenedEndMethod · 0.85
splitAttributeRangesFunction · 0.85
appendRangeFunction · 0.85
setTextMethod · 0.85
appendMethod · 0.85
setColourMethod · 0.85
setFontMethod · 0.85

Calls 3

getReferenceMethod · 0.80
sizeMethod · 0.45
getEndMethod · 0.45

Tested by

no test coverage detected