Krita Source Code Documentation
Loading...
Searching...
No Matches
KoSvgText::TextTransformInfo Struct Reference

#include <KoSvgText.h>

+ Inheritance diagram for KoSvgText::TextTransformInfo:

Public Member Functions

bool operator== (const TextTransformInfo &rhs) const
 
 TextTransformInfo ()=default
 

Public Attributes

TextTransform capitals = TextTransformNone
 Text transform upper/lower/capitalize.
 
bool fullSizeKana = false
 
bool fullWidth = false
 

Detailed Description

"This property transforms text for styling purposes. It has no effect on the underlying content, and must not affect the content of a plain text copy & paste operation." – CSS-Text-3

Definition at line 635 of file KoSvgText.h.

Constructor & Destructor Documentation

◆ TextTransformInfo()

KoSvgText::TextTransformInfo::TextTransformInfo ( )
default

Member Function Documentation

◆ operator==()

bool KoSvgText::TextTransformInfo::operator== ( const TextTransformInfo & rhs) const
inline

Definition at line 642 of file KoSvgText.h.

643 {
644 return (capitals == rhs.capitals) && (fullWidth == rhs.fullWidth) && (fullSizeKana == rhs.fullSizeKana);
645 }
TextTransform capitals
Text transform upper/lower/capitalize.
Definition KoSvgText.h:637

References capitals, fullSizeKana, and fullWidth.

Member Data Documentation

◆ capitals

TextTransform KoSvgText::TextTransformInfo::capitals = TextTransformNone

Text transform upper/lower/capitalize.

Definition at line 637 of file KoSvgText.h.

◆ fullSizeKana

bool KoSvgText::TextTransformInfo::fullSizeKana = false

Convert Japanese Katakana and Hiragana to their 'fullsize' equivalents. 'at-risk'

Definition at line 640 of file KoSvgText.h.

◆ fullWidth

bool KoSvgText::TextTransformInfo::fullWidth = false

Convert proportional or half-width text to full-width text. 'at-risk'

Definition at line 638 of file KoSvgText.h.


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