/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/include/text/ |
H A D | font_arguments.h | 31 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 D | typeface_fuzzer.cpp | 124 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 D | rs_color_picker.h | 39 const std::shared_ptr<Drawing::Pixmap>& pixmap, double* coordinates, uint32_t &errorCode);
48 RSColorPicker(std::shared_ptr<Drawing::Pixmap> pixmap, double* coordinates);
|
H A D | rs_color_extract.h | 74 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 D | rscolorpicker_fuzzer.cpp | 79 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 D | color_picker.h | 45 ColorPicker(std::shared_ptr<Media::PixelMap> pixmap, double* coordinates); 51 double* coordinates, uint32_t &errorCode);
|
H A D | color_extract.h | 78 ColorExtract(std::shared_ptr<Media::PixelMap> pixmap, double* coordinates);
|
/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/render/ |
H A D | rs_color_extract.cpp | 44 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 D | rs_color_picker.cpp | 59 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 D | color_extract.cpp | 62 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 D | color_picker.cpp | 85 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 D | rs_color_picker_test.cpp | 72 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 D | rs_color_extract_test.cpp | 59 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 D | paragraph_builder_impl.cpp | 72 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 D | skia_convert_utils.h | 154 pos.coordinates = reinterpret_cast<const SkFontArguments::VariationPosition::Coordinate*>( in DrawingFontArgumentsCastToSkFontArguments() 155 fontArgs.GetVariationDesignPosition().coordinates); in DrawingFontArgumentsCastToSkFontArguments()
|