Searched refs:FontArguments (Results 1 - 16 of 16) sorted by relevance
/foundation/graphic/graphic_2d/rosen/test/2d_graphics/fuzztest/text/fontarguments_fuzzer/ |
H A D | fontarguments_fuzzer.cpp | 39 FontArguments fontArguments; in FontArgumentsFuzzTest001() 58 FontArguments fontArguments; in FontArgumentsFuzzTest002() 61 FontArguments::VariationPosition::Coordinate coordinate { axis, coValue }; in FontArgumentsFuzzTest002() 63 FontArguments::VariationPosition position { &coordinate, coordinateCount }; in FontArgumentsFuzzTest002() 80 FontArguments fontArguments; in FontArgumentsFuzzTest003() 83 FontArguments::Palette::Override overrides { index, color }; in FontArgumentsFuzzTest003() 86 FontArguments::Palette palette { paletteIndex, &overrides, overrideCount }; in FontArgumentsFuzzTest003()
|
/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/include/text/ |
H A D | font_arguments.h | 25 struct FontArguments { struct 52 FontArguments(): fontCollectionIndex_(0), variationDesignPosition_{nullptr, 0}, palette_{0, nullptr, 0} in FontArguments() function 61 FontArguments& SetCollectionIndex(int fontCollectionIndex) in SetCollectionIndex() 72 FontArguments& SetVariationDesignPosition(VariationPosition position) in SetVariationDesignPosition() 89 FontArguments& SetPalette(Palette palette) in SetPalette()
|
H A D | typeface.h | 39 static std::shared_ptr<Typeface> MakeFromFile(const char path[], const FontArguments& fontArguments); 93 std::shared_ptr<Typeface> MakeClone(const FontArguments&) const;
|
/foundation/graphic/graphic_2d/rosen/test/2d_graphics/fuzztest/draw/typeface_fuzzer/ |
H A D | typeface_fuzzer.cpp | 120 FontArguments arg; in TypefaceFuzzTest004() 124 FontArguments::VariationPosition::Coordinate* coordinates = new in TypefaceFuzzTest004() 125 FontArguments::VariationPosition::Coordinate[coordinateCount]; in TypefaceFuzzTest004() 129 FontArguments::VariationPosition variationPosition = { 0 }; in TypefaceFuzzTest004() 134 FontArguments::Palette::Override* overrides = new FontArguments::Palette::Override[overrideCount]; in TypefaceFuzzTest004() 138 FontArguments::Palette palette = {index, overrides, overrideCount}; in TypefaceFuzzTest004()
|
/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/drawing_ndk/src/ |
H A D | drawing_typeface.cpp | 72 static void ConvertToDrawingFontArguments(const FontArgumentsHelper& fontArgumentsHelper, FontArguments& fontArguments) in ConvertToDrawingFontArguments() 75 fontArguments.SetVariationDesignPosition({reinterpret_cast<const FontArguments::VariationPosition::Coordinate*>( in ConvertToDrawingFontArguments() 140 FontArguments fontArguments; in OH_Drawing_TypefaceCreateFromFileWithArguments() 153 FontArguments fontArguments; in OH_Drawing_TypefaceCreateFromCurrent()
|
/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/src/drawing/engine_adapter/skia_adapter/ |
H A D | skia_typeface.h | 51 std::shared_ptr<Typeface> MakeClone(const FontArguments& args) const override; 57 static std::shared_ptr<Typeface> MakeFromFile(const char path[], const FontArguments& fontArguments);
|
H A D | skia_typeface.cpp | 122 std::shared_ptr<Typeface> SkiaTypeface::MakeClone(const FontArguments& args) const in MakeClone() 182 std::shared_ptr<Typeface> SkiaTypeface::MakeFromFile(const char path[], const FontArguments& fontArguments) in MakeFromFile()
|
H A D | skia_static_factory.h | 47 static std::shared_ptr<Typeface> MakeFromFile(const char path[], const FontArguments& fontArguments);
|
H A D | skia_convert_utils.h | 149 static void DrawingFontArgumentsCastToSkFontArguments(const FontArguments& fontArgs, SkFontArguments& skFontArgs) in DrawingFontArgumentsCastToSkFontArguments()
|
H A D | skia_static_factory.cpp | 61 std::shared_ptr<Typeface> SkiaStaticFactory::MakeFromFile(const char path[], const FontArguments& fontArguments) in MakeFromFile()
|
/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/src/drawing/engine_adapter/impl_interface/ |
H A D | typeface_impl.h | 42 virtual std::shared_ptr<Typeface> MakeClone(const FontArguments& args) const = 0;
|
/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/src/drawing/text/ |
H A D | typeface.cpp | 36 std::shared_ptr<Typeface> Typeface::MakeFromFile(const char path[], const FontArguments& fontArguments) in MakeFromFile() 117 std::shared_ptr<Typeface> Typeface::MakeClone(const FontArguments& args) const in MakeClone()
|
/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/src/drawing/engine_adapter/ |
H A D | static_factory.h | 47 static std::shared_ptr<Typeface> MakeFromFile(const char path[], const FontArguments& fontArguments);
|
H A D | static_factory.cpp | 82 std::shared_ptr<Typeface> StaticFactory::MakeFromFile(const char path[], const FontArguments& fontArguments) in MakeFromFile()
|
/foundation/graphic/graphic_2d/rosen/test/2d_graphics/unittest/text/ |
H A D | typeface_test.cpp | 121 FontArguments arg; in HWTEST_F()
|
/foundation/graphic/graphic_2d/rosen/test/2d_graphics/unittest/skia_adapter/ |
H A D | skia_typeface_test.cpp | 311 FontArguments skArgs; in HWTEST_F()
|
Completed in 7 milliseconds