Quellcodebibliothek Statistik Leitseite products/Sources/formale Sprachen/C/Firefox/gfx/skia/skia/src/sfnt/   (Browser von der Mozilla Stiftung Version 136.0.1©)  Datei vom 10.2.2025 mit Größe 1 kB image not shown  

Quelle  SkOTTable_fvar.h   Sprache: C

 
/*
 * Copyright 2017 Google Inc.
 *
 * Use of this source code is governed by a BSD-style license that can be
 * found in the LICENSE file.
 */


#ifndef SkOTTable_fvar_DEFINED
#define SkOTTable_fvar_DEFINED

#include "src/base/SkEndian.h"
#include "src/sfnt/SkOTTableTypes.h"

#pragma pack(push, 1)

struct SkOTTableFontVariations {
    static const SK_OT_CHAR TAG0 = 'f';
    static const SK_OT_CHAR TAG1 = 'v';
    static const SK_OT_CHAR TAG2 = 'a';
    static const SK_OT_CHAR TAG3 = 'r';
    static const SK_OT_ULONG TAG = SkOTTableTAG<SkOTTableFontVariations>::value;

    SK_OT_USHORT majorVersion;
    SK_OT_USHORT minorVersion;
    SK_OT_USHORT offsetToAxesArray;
    SK_OT_USHORT reserved;
    SK_OT_USHORT axisCount;
    SK_OT_USHORT axisSize; // Must be 0x0014 in v1.0
    SK_OT_USHORT instanceCount;
    SK_OT_USHORT instanceSize; // Must be axisCount * sizeof(Fixed) + (4 | 6)

    struct VariationAxisRecord {
        SK_OT_ULONG axisTag;
        SK_OT_Fixed minValue;
        SK_OT_Fixed defaultValue;
        SK_OT_Fixed maxValue;
        SK_OT_USHORT flags; // Must be 0
        SK_OT_USHORT axisNameID;
    }; // axes[axisCount];

    template <size_t AxisCount> struct InstanceRecord {
        SK_OT_USHORT subfamilyNameID;
        SK_OT_USHORT flags; // Must be 0
        SK_OT_Fixed coordinates[AxisCount];
        SK_OT_USHORT postScriptNameID;
    }; // instances[instanceCount];
};

#pragma pack(pop)


#include <stddef.h>
static_assert(offsetof(SkOTTableFontVariations, instanceSize) == 14, "SkOTTableFontVariations_instanceSize_not_at_14");
static_assert(sizeof(SkOTTableFontVariations) == 16, "sizeof_SkOTTableFontVariations_not_16");

#endif

Messung V0.5
C=88 H=100 G=94

¤ Dauer der Verarbeitung: 0.3 Sekunden  ¤

*© Formatika GbR, Deutschland






Wurzel

Suchen

Beweissystem der NASA

Beweissystem Isabelle

NIST Cobol Testsuite

Cephes Mathematical Library

Wiener Entwicklungsmethode

Haftungshinweis

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.