Home
last modified time | relevance | path

Searched refs:fontAxisCount (Results 1 – 2 of 2) sorted by relevance

/third_party/skia/src/ports/
DSkTypeface_win_dw.cpp174 UINT32 fontAxisCount = fontFace5->GetFontAxisValueCount(); in onGetVariationDesignPosition() local
178 for (UINT32 i = 0; i < fontAxisCount; ++i) { in onGetVariationDesignPosition()
188 SkAutoSTMalloc<8, DWRITE_FONT_AXIS_VALUE> fontAxisValue(fontAxisCount); in onGetVariationDesignPosition()
189 HR_GENERAL(fontFace5->GetFontAxisValues(fontAxisValue.get(), fontAxisCount), nullptr, -1); in onGetVariationDesignPosition()
191 for (UINT32 axisIndex = 0; axisIndex < fontAxisCount; ++axisIndex) { in onGetVariationDesignPosition()
223 UINT32 fontAxisCount = fontFace5->GetFontAxisValueCount(); in onGetVariationDesignParameters() local
227 for (UINT32 i = 0; i < fontAxisCount; ++i) { in onGetVariationDesignParameters()
237 SkAutoSTMalloc<8, DWRITE_FONT_AXIS_RANGE> fontAxisRange(fontAxisCount); in onGetVariationDesignParameters()
238 HR_GENERAL(fontResource->GetFontAxisRanges(fontAxisRange.get(), fontAxisCount), nullptr, -1); in onGetVariationDesignParameters()
239 SkAutoSTMalloc<8, DWRITE_FONT_AXIS_VALUE> fontAxisDefaultValue(fontAxisCount); in onGetVariationDesignParameters()
[all …]
DSkFontMgr_win_dw.cpp1037 UINT32 fontAxisCount = fontFace5->GetFontAxisValueCount(); in apply_fontargument_variation() local
1039 SkAutoSTMalloc<8, DWRITE_FONT_AXIS_VALUE> variation(fontAxisCount); in apply_fontargument_variation()
1042 HR(fontResource->GetDefaultFontAxisValues(variation, fontAxisCount)); in apply_fontargument_variation()
1044 for (UINT32 fontAxisIndex = 0; fontAxisIndex < fontAxisCount; ++fontAxisIndex) { in apply_fontargument_variation()
1059 variation.get(), fontAxisCount, in apply_fontargument_variation()