Home
last modified time | relevance | path

Searched refs:coordinates (Results 1 - 15 of 15) sorted by relevance

/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/include/text/
H A Dfont_arguments.h31 const Coordinate* coordinates; member
74 variationDesignPosition_.coordinates = position.coordinates; in SetVariationDesignPosition()
/foundation/graphic/graphic_2d/rosen/test/2d_graphics/fuzztest/draw/typeface_fuzzer/
H A Dtypeface_fuzzer.cpp124 FontArguments::VariationPosition::Coordinate* coordinates = new in TypefaceFuzzTest004() local
127 coordinates[i] = {GetObject<uint32_t>(), GetObject<float>()}; in TypefaceFuzzTest004()
130 variationPosition.coordinates = coordinates; in TypefaceFuzzTest004()
141 if (coordinates != nullptr) { in TypefaceFuzzTest004()
142 delete [] coordinates; in TypefaceFuzzTest004()
143 coordinates = nullptr; in TypefaceFuzzTest004()
/foundation/graphic/graphic_2d/rosen/modules/render_service_base/include/render/
H A Drs_color_picker.h39 const std::shared_ptr<Drawing::Pixmap>& pixmap, double* coordinates, uint32_t &errorCode);
48 RSColorPicker(std::shared_ptr<Drawing::Pixmap> pixmap, double* coordinates);
H A Drs_color_extract.h74 RSColorExtract(std::shared_ptr<Drawing::Pixmap> pixmap, double* coordinates);
/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_base/fuzztest/rscolorpicker_fuzzer/
H A Drscolorpicker_fuzzer.cpp79 double coordinates[4]; // 4 is number of array members in DoCreateColorPicker() local
80 coordinates[0] = GetData<double>(); // 0 is index of left in DoCreateColorPicker()
81 coordinates[1] = GetData<double>(); // 1 is index of top in DoCreateColorPicker()
82 coordinates[2] = GetData<double>(); // 2 is index of right in DoCreateColorPicker()
83 coordinates[3] = GetData<double>(); // 3 is index of bottom in DoCreateColorPicker()
85 RSColorPicker::CreateColorPicker(pixmap, coordinates, werrorCodeidth); in DoCreateColorPicker()
/foundation/graphic/graphic_2d/rosen/modules/effect/color_picker/include/
H A Dcolor_picker.h45 ColorPicker(std::shared_ptr<Media::PixelMap> pixmap, double* coordinates);
51 double* coordinates, uint32_t &errorCode);
H A Dcolor_extract.h78 ColorExtract(std::shared_ptr<Media::PixelMap> pixmap, double* coordinates);
/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/render/
H A Drs_color_extract.cpp44 RSColorExtract::RSColorExtract(std::shared_ptr<Drawing::Pixmap> pixmap, double* coordinates) in RSColorExtract() argument
50 uint32_t left = static_cast<uint32_t>(pixmap->GetWidth() * coordinates[0]); // 0 is index of left in RSColorExtract()
51 uint32_t top = static_cast<uint32_t>(pixmap->GetHeight() * coordinates[1]); // 1 is index of top in RSColorExtract()
52 uint32_t right = static_cast<uint32_t>(pixmap->GetWidth() * coordinates[2]); // 2 is index of right in RSColorExtract()
53 uint32_t bottom = static_cast<uint32_t>(pixmap->GetHeight() * coordinates[3]); // 3 is index of bottom in RSColorExtract()
H A Drs_color_picker.cpp59 double* coordinates, uint32_t &errorCode) in CreateColorPicker()
67 RSColorPicker *colorPicker = new (std::nothrow) RSColorPicker(pixmap, coordinates); in CreateColorPicker()
80 std::shared_ptr<Drawing::Pixmap> pixmap, double* coordinates):RSColorExtract(pixmap, coordinates) {} in RSColorPicker()
58 CreateColorPicker(const std::shared_ptr<Drawing::Pixmap>& pixmap, double* coordinates, uint32_t &errorCode) CreateColorPicker() argument
79 RSColorPicker( std::shared_ptr<Drawing::Pixmap> pixmap, double* coordinates) RSColorPicker() argument
/foundation/graphic/graphic_2d/rosen/modules/effect/color_picker/src/
H A Dcolor_extract.cpp62 ColorExtract::ColorExtract(std::shared_ptr<Media::PixelMap> pixmap, double* coordinates) in ColorExtract() argument
73 uint32_t left = static_cast<uint32_t>(pixmap->GetWidth() * coordinates[0]); // 0 is index of left in ColorExtract()
74 uint32_t top = static_cast<uint32_t>(pixmap->GetHeight() * coordinates[1]); // 1 is index of top in ColorExtract()
75 uint32_t right = static_cast<uint32_t>(pixmap->GetWidth() * coordinates[2]); // 2 is index of right in ColorExtract()
76 uint32_t bottom = static_cast<uint32_t>(pixmap->GetHeight() * coordinates[3]); // 3 is index of bottom in ColorExtract()
H A Dcolor_picker.cpp85 double* coordinates, uint32_t &errorCode) in CreateColorPicker()
94 std::shared_ptr<ColorPicker> colorPicker = std::make_shared<ColorPicker>(scaledPixelMap, coordinates); in CreateColorPicker()
137 std::shared_ptr<Media::PixelMap> pixmap, double* coordinates):ColorExtract(pixmap, coordinates) {} in ColorPicker()
84 CreateColorPicker(const std::shared_ptr<Media::PixelMap>& pixmap, double* coordinates, uint32_t &errorCode) CreateColorPicker() argument
136 ColorPicker( std::shared_ptr<Media::PixelMap> pixmap, double* coordinates) ColorPicker() argument
/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_base/unittest/render/
H A Drs_color_picker_test.cpp72 double coordinates = 1.0; in HWTEST_F() local
73 EXPECT_EQ(picker->CreateColorPicker(pixmap, &coordinates, errorCode), nullptr); in HWTEST_F()
80 EXPECT_NE(picker2->CreateColorPicker(pixmap, &coordinates, errorCode), nullptr); in HWTEST_F()
H A Drs_color_extract_test.cpp59 double coordinates[4] = {1.f, 1.f, 1.f, 1.f}; in HWTEST_F() local
60 auto ohterColorExtract = std::make_shared<RSColorExtract>(pixelmap, coordinates); in HWTEST_F()
/foundation/graphic/graphic_2d/rosen/modules/2d_engine/rosen_text/skia_txt/impl/
H A Dparagraph_builder_impl.cpp72 std::vector<SkFontArguments::VariationPosition::Coordinate> coordinates; in MakeFontArguments() local
75 coordinates.push_back({ in MakeFontArguments()
81 SkFontArguments::VariationPosition position = { coordinates.data(), static_cast<int>(coordinates.size()) }; in MakeFontArguments()
/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/src/drawing/engine_adapter/skia_adapter/
H A Dskia_convert_utils.h154 pos.coordinates = reinterpret_cast<const SkFontArguments::VariationPosition::Coordinate*>( in DrawingFontArgumentsCastToSkFontArguments()
155 fontArgs.GetVariationDesignPosition().coordinates); in DrawingFontArgumentsCastToSkFontArguments()

Completed in 8 milliseconds