Lines Matching defs:widths
846 float widths[50] = {0.f};
847 OH_Drawing_FontGetWidths(font, glyphs, glyphsCount, widths);
848 EXPECT_GT(widths[0], 0.f);
868 float widths[50] = {0.f};
871 OH_Drawing_FontGetWidths(nullptr, glyphs, glyphsCount, widths);
875 OH_Drawing_FontGetWidths(font, nullptr, glyphsCount, widths);
879 OH_Drawing_FontGetWidths(font, glyphs, 0, widths);
906 float widths[50] = {0.f};
910 OH_Drawing_FontGetWidths(font, glyphs, glyphsCount, widths);
911 EXPECT_GT(widths[0], 0.f);
930 float widths[50] = {0.f};
937 OH_Drawing_FontGetWidths(font, glyphs, -1, widths);
939 // 4. Set widths parameter to -1 for OH_Drawing_FontGetWidths interface
943 OH_Drawing_FontGetWidths(font, glyphs, 2.0f, widths);
961 float widths[50] = {0.f};
966 OH_Drawing_FontGetWidths(font, glyphs2, glyphsCount, widths);
969 // 4. Call OH_Drawing_FontGetWidths interface with maximum value for widths parameter