15 #include <vsg/core/Array.h>
34 input.read(
"uvrect", uvrect);
35 input.read(
"width", width);
36 input.read(
"height", height);
37 input.read(
"horiBearingX", horiBearingX);
38 input.read(
"horiBearingY", horiBearingY);
39 input.read(
"horiAdvance", horiAdvance);
40 input.read(
"vertBearingX", vertBearingX);
41 input.read(
"vertBearingY", vertBearingY);
42 input.read(
"vertAdvance", vertAdvance);
47 output.
write(
"uvrect", uvrect);
48 output.
write(
"width", width);
49 output.
write(
"height", height);
50 output.
write(
"horiBearingX", horiBearingX);
51 output.
write(
"horiBearingY", horiBearingY);
52 output.
write(
"horiAdvance", horiAdvance);
53 output.
write(
"vertBearingX", vertBearingX);
54 output.
write(
"vertBearingY", vertBearingY);
55 output.
write(
"vertAdvance", vertAdvance);
60 constexpr
bool has_read_write<GlyphMetrics>() {
return true; }
62 VSG_array(GlyphMetricsArray, GlyphMetrics);
virtual void write(size_t num, const int8_t *value)=0
write contiguous array of value(s)
naming and meaning taken from FT_Glyph_Metrics, with dimensions normalized to fontHeight
Definition: GlyphMetrics.h:21