Home
last modified time | relevance | path

Searched refs:getAxisCount (Results 1 – 4 of 4) sorted by relevance

/external/skia/src/core/
DSkFontDescriptor.cpp131 if (fFontData->getAxisCount()) { in serialize()
132 write_uint(stream, fFontData->getAxisCount(), kFontAxes); in serialize()
133 for (int i = 0; i < fFontData->getAxisCount(); ++i) { in serialize()
DSkFontDescriptor.h41 int getAxisCount() const { return fAxisCount; } in getAxisCount() function
/external/skia/src/ports/
DSkFontHost_FreeType.cpp304 if (static_cast<FT_UInt>(data.getAxisCount()) != variations->num_axis) { in ft_face_setup_axes()
306 rec->fFace->family_name, variations->num_axis, data.getAxisCount())); in ft_face_setup_axes()
311 SkAutoSTMalloc<4, FT_Fixed> coords(data.getAxisCount()); in ft_face_setup_axes()
312 for (int i = 0; i < data.getAxisCount(); ++i) { in ft_face_setup_axes()
315 if (FT_Set_Var_Design_Coordinates(rec->fFace.get(), data.getAxisCount(), coords.get())) { in ft_face_setup_axes()
321 rec->fAxesCount = data.getAxisCount(); in ft_face_setup_axes()
DSkFontHost_mac.cpp2546 if (0 == axisCount || axisCount != fontData->getAxisCount()) { in copy_axes()
2555 for (int i = 0; i < fontData->getAxisCount(); ++i) { in copy_axes()