class FontCharMap; namespace vcl::font { class PhysicalFontFace; }
typedef tools::SvRef<FontCharMap> FontCharMapRef;
class VCL_DLLPUBLIC FontMetric : public vcl::Font
{ public: explicit FontMetric();
FontMetric( const FontMetric& ); // TODO make this explicit
SAL_DLLPRIVATE FontMetric(vcl::font::PhysicalFontFace const& rFace);
~FontMetric() override;
// Compute value usable as hash.
size_t GetHashValueIgnoreColor() const;
private:
SAL_DLLPRIVATE bool EqualNoBase( const FontMetric& ) const;
SAL_DLLPRIVATE size_t GetHashValueNoBase() const;
sal_Int32 mnAscent; // Ascent
sal_Int32 mnDescent; // Descent
sal_Int32 mnIntLeading; // Internal Leading
sal_Int32 mnExtLeading; // External Leading
sal_Int32 mnLineHeight; // Ascent+Descent+EmphasisMark
sal_Int32 mnSlant; // Slant
sal_Int32 mnBulletOffset; // Offset for non-printing character
sal_Int32 mnHangingBaseline; // Offset from Romn baseline to hanging baseline. double mdEmSize; // Size of an 'em' unit double mdHorCJKAdvanceSize; // Size of an 'ic' unit in horizontal layout double mdVertCJKAdvanceSize; // Size of an 'ic' unit in vertical layout
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.