Home
last modified time | relevance | path

Searched refs:axisCount (Results 1 – 23 of 23) sorted by relevance

/external/harfbuzz_ng/src/
Dhb-ot-var-fvar-table.hh110 instanceSize >= axisCount * 4 + 4 && in sanitize()
115 unsigned int get_axis_count () const { return axisCount; } in get_axis_count()
154 unsigned int count = axisCount; in get_axes_deprecated()
166 return axisCount; in get_axes_deprecated()
177 unsigned int count = axisCount; in get_axis_infos()
189 return axisCount; in get_axis_infos()
270 if (instanceSize >= axisCount * 4 + 6) in get_instance_postscript_name_id()
271 return StructAfter<NameID> (instance->get_coordinates (axisCount)); in get_instance_postscript_name_id()
289 hb_array_t<const HBFixed> instanceCoords = instance->get_coordinates (axisCount) in get_instance_coords()
294 return axisCount; in get_instance_coords()
[all …]
Dhb-ot-var-avar-table.hh119 unsigned int count = axisCount; in sanitize()
132 unsigned int count = hb_min (coords_length, axisCount); in map_coords()
144 unsigned int count = hb_min (coords_length, axisCount); in unmap_coords()
158 HBUINT16 axisCount; /* The number of variation axes in the font. This member
Dhb-ot-var-gvar-table.hh389 c->check_array (&(this+sharedTuples), axisCount * sharedTupleCount) && in sanitize_shallow()
410 out->axisCount = axisCount; in subset()
435 unsigned int shared_tuple_size = F2DOT14::static_size * axisCount * sharedTupleCount; in subset()
515 (gvar_table->axisCount != axis_count))) in init()
518 unsigned int num_shared_coord = gvar_table->sharedTupleCount * gvar_table->axisCount; in init()
566 if (unlikely (coord_count != gvar_table->axisCount)) return false; in apply_deltas_to_points()
574 gvar_table->axisCount, in apply_deltas_to_points()
686 unsigned int get_axis_count () const { return gvar_table->axisCount; } in get_axis_count()
699 HBUINT16 axisCount; member
Dhb-ot-layout-common.hh1879 const VarRegionAxis *axes = axesZ.arrayZ + (region_index * axisCount); in evaluate()
1882 unsigned int count = axisCount; in evaluate()
1898 axesZ.sanitize (c, (unsigned int) axisCount * (unsigned int) regionCount)); in sanitize()
1906 axisCount = src->axisCount; in serialize()
1910 …memcpy (&axesZ[axisCount * r], &src->axesZ[axisCount * region_map.backward (r)], VarRegionAxis::st… in serialize()
1915 …unsigned int get_size () const { return min_size + VarRegionAxis::static_size * axisCount * region… in get_size()
1919 HBUINT16 axisCount; member
Dhb-ot-stat-table.hh170 HBUINT16 axisCount; /* The total number of axes contributing to member
/external/skqp/src/core/
DSkFontDescriptor.cpp67 size_t axisCount = 0; in Deserialize() local
81 if (!stream->readPackedUInt(&axisCount)) { return false; } in Deserialize()
82 axis.reset(axisCount); in Deserialize()
83 for (size_t i = 0; i < axisCount; ++i) { in Deserialize()
88 if (!stream->readPackedUInt(&axisCount)) { return false; } in Deserialize()
89 axis.reset(axisCount); in Deserialize()
90 for (size_t i = 0; i < axisCount; ++i) { in Deserialize()
114 SkMemoryStream::Make(std::move(data)), index, axis, axisCount); in Deserialize()
DSkFontDescriptor.h19 SkFontData(std::unique_ptr<SkStreamAsset> stream, int index, const SkFixed axis[],int axisCount) in SkFontData() argument
20 : fStream(std::move(stream)), fIndex(index), fAxisCount(axisCount), fAxis(axisCount) in SkFontData()
22 for (int i = 0; i < axisCount; ++i) { in SkFontData()
/external/skqp/include/core/
DSkFontArguments.h43 SkFontArguments& setAxes(const Axis* axes, int axisCount) { in setAxes()
46 fVariationDesignPosition.coordinateCount = axisCount; in setAxes()
67 const Axis* getAxes(int* axisCount) const { in getAxes()
68 *axisCount = fVariationDesignPosition.coordinateCount; in getAxes()
/external/skia/src/core/
DSkFontDescriptor.h21 SkFontData(std::unique_ptr<SkStreamAsset> stream, int index, const SkFixed* axis, int axisCount) in SkFontData() argument
22 : fStream(std::move(stream)), fIndex(index), fAxisCount(axisCount), fAxis(axisCount) in SkFontData()
24 for (int i = 0; i < axisCount; ++i) { in SkFontData()
/external/skia/src/ports/
DSkTypeface_mac_ct.cpp786 CFIndex axisCount = CFArrayGetCount(ctAxes.get()); in onGetVariationDesignPosition() local
787 if (!coordinates || coordinateCount < axisCount) { in onGetVariationDesignPosition()
788 return axisCount; in onGetVariationDesignPosition()
797 for (int i = 0; i < axisCount; ++i) { in onGetVariationDesignPosition()
825 return axisCount; in onGetVariationDesignPosition()
1119 CFIndex axisCount = CFArrayGetCount(ctAxes.get()); in SkCTVariationFromSkFontArguments() local
1127 CFDictionaryCreateMutable(kCFAllocatorDefault, axisCount, in SkCTVariationFromSkFontArguments()
1132 for (int i = 0; i < axisCount; ++i) { in SkCTVariationFromSkFontArguments()
1269 CFIndex axisCount = CFArrayGetCount(ctAxes.get()); in onGetVariationDesignParameters() local
1271 if (!parameters || parameterCount < axisCount) { in onGetVariationDesignParameters()
[all …]
DSkFontMgr_mac_ct.cpp213 CFIndex axisCount = CFArrayGetCount(ctAxes.get()); in ctvariation_from_skfontdata() local
214 if (0 == axisCount || axisCount != fontData->getAxisCount()) { in ctvariation_from_skfontdata()
219 CFDictionaryCreateMutable(kCFAllocatorDefault, axisCount, in ctvariation_from_skfontdata()
DSkFontHost_FreeType.cpp821 int axisCount = axisDefinitions.count(); in cloneFontData() local
823 SkAutoSTMalloc<4, SkFontArguments::VariationPosition::Coordinate> currentPosition(axisCount); in cloneFontData()
824 int currentAxisCount = GetVariationDesignPosition(fta, currentPosition, axisCount); in cloneFontData()
827 SkAutoSTMalloc<4, SkFixed> axisValues(axisCount); in cloneFontData()
829 currentAxisCount == axisCount ? currentPosition.get() : nullptr); in cloneFontData()
832 return std::make_unique<SkFontData>(std::move(stream), ttcIndex, axisValues.get(), axisCount); in cloneFontData()
/external/freetype/src/truetype/
Dttgxvar.c341 FT_Long axisCount; in ft_var_load_avar() local
362 axisCount = FT_GET_LONG(); in ft_var_load_avar()
372 if ( axisCount != (FT_Long)blend->mmvar->num_axis ) in ft_var_load_avar()
379 if ( FT_NEW_ARRAY( blend->avar_segment, axisCount ) ) in ft_var_load_avar()
383 for ( i = 0; i < axisCount; i++, segment++ ) in ft_var_load_avar()
482 if ( FT_READ_USHORT( itemStore->axisCount ) || in ft_var_load_item_variation_store()
486 if ( itemStore->axisCount != (FT_Long)blend->mmvar->num_axis ) in ft_var_load_item_variation_store()
505 itemStore->axisCount ) ) in ft_var_load_item_variation_store()
510 for ( j = 0; j < itemStore->axisCount; j++ ) in ft_var_load_item_variation_store()
897 for ( j = 0; j < itemStore->axisCount; j++, axis++ ) in ft_var_get_item_delta()
[all …]
Dttgxvar.h100 FT_UShort axisCount; member
/external/skqp/src/sfnt/
DSkOTTable_fvar.h27 SK_OT_USHORT axisCount; member
/external/skia/src/sfnt/
DSkOTTable_fvar.h27 SK_OT_USHORT axisCount; member
/external/skqp/src/ports/
DSkFontHost_mac.cpp2013 CFIndex axisCount = CFArrayGetCount(ctAxes); in ct_variation_from_cg_variation() local
2014 for (CFIndex i = 0; i < axisCount; ++i) { in ct_variation_from_cg_variation()
2054 CFIndex axisCount = CFArrayGetCount(ctAxes.get()); in onGetVariationDesignPosition() local
2055 if (!coordinates || coordinateCount < axisCount) { in onGetVariationDesignPosition()
2056 return axisCount; in onGetVariationDesignPosition()
2080 for (int i = 0; i < axisCount; ++i) { in onGetVariationDesignPosition()
2121 return axisCount; in onGetVariationDesignPosition()
2636 CFIndex axisCount = CFArrayGetCount(ctAxes.get()); in copy_axes() local
2641 CFDictionaryCreateMutable(kCFAllocatorDefault, axisCount, in copy_axes()
2645 for (int i = 0; i < axisCount; ++i) { in copy_axes()
[all …]
/external/fonttools/Lib/fontTools/ttLib/tables/
DTupleVariation.py444 def getTupleSize_(flags, axisCount): argument
447 size += axisCount * 2
449 size += axisCount * 4
D_g_v_a_r.py96 assert len(axisTags) == self.axisCount
/external/freetype/include/freetype/internal/
Dcfftypes.h148 FT_UShort axisCount; member
/external/freetype/src/cff/
Dcffload.c1183 FT_READ_USHORT( vstore->axisCount ) || in cff_vstore_load()
1195 if ( FT_NEW_ARRAY( region->axisList, vstore->axisCount ) ) in cff_vstore_load()
1198 for ( j = 0; j < vstore->axisCount; j++ ) in cff_vstore_load()
1421 if ( lenNDV != 0 && lenNDV != vs->axisCount ) in cff_blend_build_vector()
/external/fonttools/
DNEWS.rst488 - [otBase/otTables] Enforce that VarStore.RegionAxisCount == fvar.axisCount, even
/external/freetype/
DChangeLog.282713 * src/truetype/ttgxvar.h (GX_MVarTable): `axisCount' has been