MCPcopy Create free account
hub / github.com/Snapchat/Valdi / character

Method character

snap_drawing/src/snap_drawing/cpp/Text/TextShaper.hpp:28–30  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

26
27public:
28 constexpr Character character() const {
29 return characterAndFlags & kCharacterMask;
30 }
31
32 constexpr void setCharacter(Character character, bool unsafeToBreak) {
33 characterAndFlags = (character & kCharacterMask) | (unsafeToBreak ? kUnsafeToBreakMask : 0);

Callers 3

toUTF8Function · 0.80
lineBreakFunction · 0.80
breakDownSegmentByWordsFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected