The StrokeFont class.
More...
#include <strokefont.h>
Inherits QObject.
|
| StrokeFont (const FilePath &fontFilePath, const QByteArray &content) noexcept |
|
| StrokeFont (const StrokeFont &other)=delete |
|
| ~StrokeFont () noexcept |
|
Ratio | getLetterSpacing () const noexcept |
|
Ratio | getLineSpacing () const noexcept |
|
QVector< Path > | stroke (const QString &text, const PositiveLength &height, const Length &letterSpacing, const Length &lineSpacing, const Alignment &align, Point &bottomLeft, Point &topRight) const noexcept |
|
QVector< QPair< QVector< Path >, Length > > | strokeLines (const QString &text, const PositiveLength &height, const Length &letterSpacing, Length &width) const noexcept |
|
QVector< Path > | strokeLine (const QString &text, const PositiveLength &height, const Length &letterSpacing, Length &width) const noexcept |
|
QVector< Path > | strokeGlyph (const QChar &glyph, const PositiveLength &height, Length &spacing) const noexcept |
|
StrokeFont & | operator= (const StrokeFont &rhs)=delete |
|
◆ StrokeFont() [1/2]
◆ StrokeFont() [2/2]
◆ ~StrokeFont()
◆ getLetterSpacing()
Ratio getLetterSpacing |
( |
| ) |
const |
|
noexcept |
◆ getLineSpacing()
Ratio getLineSpacing |
( |
| ) |
const |
|
noexcept |
◆ stroke()
◆ strokeLines()
◆ strokeLine()
◆ strokeGlyph()
◆ operator=()
◆ fontLoaded()
◆ accessor()
const fb::GlyphListAccessor & accessor |
( |
| ) |
const |
|
privatenoexcept |
◆ polylines2paths()
QVector< Path > polylines2paths |
( |
const QVector< fontobene::Polyline > & |
polylines, |
|
|
const PositiveLength & |
height |
|
) |
| |
|
staticprivatenoexcept |
◆ polyline2path()
◆ convertVertex()
◆ convertLength()
◆ computeBoundingRect()
void computeBoundingRect |
( |
const QVector< Path > & |
paths, |
|
|
Point & |
bottomLeft, |
|
|
Point & |
topRight |
|
) |
| |
|
staticprivatenoexcept |
◆ mFilePath
◆ mFuture
QFuture<std::shared_ptr<fontobene::Font> > mFuture |
|
private |
◆ mWatcher
QFutureWatcher<std::shared_ptr<fontobene::Font> > mWatcher |
|
private |
◆ mFont
std::shared_ptr<fontobene::Font> mFont |
|
mutableprivate |
◆ mGlyphListCache
QScopedPointer<fontobene::GlyphListCache> mGlyphListCache |
|
mutableprivate |
◆ mGlyphListAccessor
QScopedPointer<fontobene::GlyphListAccessor> mGlyphListAccessor |
|
mutableprivate |
The documentation for this class was generated from the following files: