Krita Source Code Documentation
Loading...
Searching...
No Matches
KisTofuGlyph.cpp File Reference
#include "KisTofuGlyph.h"
#include <QPainterPath>
#include <QPolygon>
#include <QTransform>
#include <QVector>

Go to the source code of this file.

Namespaces

namespace  KisTofuGlyph
 Tasty tofu for Kiki.
 

Functions

static void KisTofuGlyph::addHexChar (QPainterPath &p, unsigned value, int row, int col)
 Adds a hex char at the specified row/column to the QPainterPath.
 
QPainterPath KisTofuGlyph::create (char32_t codepoint, double height)
 Creates a tofu missing glyph indicator representing the provided Unicode codepoint.
 
static QPainterPath KisTofuGlyph::getHexChar (unsigned value)
 
static QPainterPath KisTofuGlyph::hexChar0 ()
 
static QPainterPath KisTofuGlyph::hexChar1 ()
 
static QPainterPath KisTofuGlyph::hexChar2 ()
 
static QPainterPath KisTofuGlyph::hexChar3 ()
 
static QPainterPath KisTofuGlyph::hexChar4 ()
 
static QPainterPath KisTofuGlyph::hexChar5 ()
 
static QPainterPath KisTofuGlyph::hexChar6 ()
 
static QPainterPath KisTofuGlyph::hexChar7 ()
 
static QPainterPath KisTofuGlyph::hexChar8 ()
 
static QPainterPath KisTofuGlyph::hexChar9 ()
 
static QPainterPath KisTofuGlyph::hexCharA ()
 
static QPainterPath KisTofuGlyph::hexCharB ()
 
static QPainterPath KisTofuGlyph::hexCharC ()
 
static QPainterPath KisTofuGlyph::hexCharD ()
 
static QPainterPath KisTofuGlyph::hexCharE ()
 
static QPainterPath KisTofuGlyph::hexCharF ()
 
static QPolygon KisTofuGlyph::lowerHole ()
 
static QPainterPath KisTofuGlyph::makeFrame (const int width)
 Creates the frame of a tofu glyph.
 
static QPolygon KisTofuGlyph::upperHole ()
 
static constexpr unsigned KisTofuGlyph::valueAt (const char32_t codepoint, const unsigned place)
 Gets the hex digit at a place.