Flutter Engine
The Flutter Engine
|
#include <SDFTControl.h>
Public Member Functions | |
SDFTControl (bool ableToUseSDFT, bool useSDFTForSmallText, bool useSDFTForPerspectiveText, SkScalar min, SkScalar max) | |
std::tuple< SkFont, SkScalar, SDFTMatrixRange > | getSDFFont (const SkFont &font, const SkMatrix &viewMatrix, const SkPoint &textLocation) const |
bool | isSDFT (SkScalar approximateDeviceTextSize, const SkPaint &paint, const SkMatrix &matrix) const |
SkScalar | maxSize () const |
bool | isDirect (SkScalar approximateDeviceTextSize, const SkPaint &paint, const SkMatrix &matrix) const |
Definition at line 41 of file SDFTControl.h.
sktext::gpu::SDFTControl::SDFTControl | ( | bool | ableToUseSDFT, |
bool | useSDFTForSmallText, | ||
bool | useSDFTForPerspectiveText, | ||
SkScalar | min, | ||
SkScalar | max | ||
) |
Definition at line 44 of file SDFTControl.cpp.
std::tuple< SkFont, SkScalar, SDFTMatrixRange > sktext::gpu::SDFTControl::getSDFFont | ( | const SkFont & | font, |
const SkMatrix & | viewMatrix, | ||
const SkPoint & | textLocation | ||
) | const |
Definition at line 83 of file SDFTControl.cpp.
bool sktext::gpu::SDFTControl::isDirect | ( | SkScalar | approximateDeviceTextSize, |
const SkPaint & | paint, | ||
const SkMatrix & | matrix | ||
) | const |
Definition at line 55 of file SDFTControl.cpp.
bool sktext::gpu::SDFTControl::isSDFT | ( | SkScalar | approximateDeviceTextSize, |
const SkPaint & | paint, | ||
const SkMatrix & | matrix | ||
) | const |
Definition at line 69 of file SDFTControl.cpp.
|
inline |
Definition at line 54 of file SDFTControl.h.