/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service/core/pipeline/ |
H A D | rs_composer_adapter.cpp | 181 const auto& dstRect = info.dstRect; in IsOutOfScreenRegion() local 182 if (dstRect.x + dstRect.w <= 0 || in IsOutOfScreenRegion() 184 dstRect.y + dstRect.h <= 0 || in IsOutOfScreenRegion() 235 info.dstRect.w + info.dstRect.x, info.dstRect.h + info.dstRect.y)); in DealWithNodeGravity() 247 info.dstRect.x, info.dstRect.y, info.dstRect.w, info.dstRect.h, in DealWithNodeGravity() 346 … info.visibleRect = GraphicIRect {info.dstRect.x, info.dstRect.y, info.dstRect.w, info.dstRect.h}; in BuildComposeInfo() 485 info.dstRect.x, info.dstRect.y, info.dstRect.w, info.dstRect.h); in CreateBufferLayer() 519 info.dstRect.x, info.dstRect.y, info.dstRect.w, info.dstRect.h); in CreateTunnelLayer() 681 RectI dstRectI(dstRect.x, dstRect.y, dstRect.w, dstRect.h); in LayerCrop() 703 dstRect.x, dstRect.y, dstRect.w, dstRect.h, srcRect.x, srcRect.y, srcRect.w, srcRect.h); in LayerCrop() [all …]
|
H A D | rs_uni_render_composer_adapter.cpp | 117 … info.visibleRect = GraphicIRect {info.dstRect.x, info.dstRect.y, info.dstRect.w, info.dstRect.h}; in BuildComposeInfo() 489 …info.dstRect.x, info.dstRect.y, info.dstRect.w + info.dstRect.x, info.dstRect.h + info.dstRect.y)); in DealWithNodeGravity() 502 info.dstRect.x, info.dstRect.y, info.dstRect.w, info.dstRect.h, in DealWithNodeGravity() 557 …info.dstRect.x, info.dstRect.y, info.dstRect.w + info.dstRect.x, info.dstRect.h + info.dstRect.y)); in DealWithNodeGravity() 570 info.dstRect.x, info.dstRect.y, info.dstRect.w, info.dstRect.h, in DealWithNodeGravity() 858 RectI dstRectI(dstRect.x, dstRect.y, dstRect.w, dstRect.h); in LayerCrop() 879 dstRect.x, dstRect.y, dstRect.w, dstRect.h, srcRect.x, srcRect.y, srcRect.w, srcRect.h); in LayerCrop() 941 dstRect.x, dstRect.y, dstRect.w, dstRect.h, srcRect.x, srcRect.y, srcRect.w, srcRect.h); in LayerScaleDown() 1103 info.dstRect.x, info.dstRect.y, info.dstRect.w, info.dstRect.h); in CreateBufferLayer() 1152 info.dstRect.x, info.dstRect.y, info.dstRect.w, info.dstRect.h); in CreateBufferLayer() [all …]
|
H A D | rs_uni_render_engine.cpp | 86 const auto& dstRect = layer->GetLayerSize(); in DrawLayers() local 88 …rawing::Rect clipRect = Drawing::Rect(static_cast<float>(dstRect.x), static_cast<float>(dstRect.y), in DrawLayers() 89 static_cast<float>(dstRect.w) + static_cast<float>(dstRect.x), in DrawLayers() 90 static_cast<float>(dstRect.h) + static_cast<float>(dstRect.y)); in DrawLayers() 120 auto dstRect = layer->GetLayerSize(); in DrawLayers() local 122 RectI dst(dstRect.x, dstRect.y, dstRect.w, dstRect.h); in DrawLayers() 133 const auto& dstRect = layer->GetLayerSize(); in DrawLayerPreProcess() local 174 …rawing::Rect clipRect = Drawing::Rect(static_cast<float>(dstRect.x), static_cast<float>(dstRect.y), in DrawLayerPreProcess() 175 static_cast<float>(dstRect.w) + static_cast<float>(dstRect.x), in DrawLayerPreProcess() 176 static_cast<float>(dstRect.h) + static_cast<float>(dstRect.y)); in DrawLayerPreProcess()
|
H A D | rs_uni_render_processor.cpp | 101 layerInfo.dstRect.x, layerInfo.dstRect.y, layerInfo.dstRect.w, layerInfo.dstRect.h, in CreateLayer() 110 layerInfo.dstRect.x, layerInfo.dstRect.y, layerInfo.dstRect.w, layerInfo.dstRect.h, in CreateLayer() 144 layerInfo.dstRect.x, layerInfo.dstRect.y, layerInfo.dstRect.w, layerInfo.dstRect.h, in CreateLayerForRenderThread() 153 layerInfo.dstRect.x, layerInfo.dstRect.y, layerInfo.dstRect.w, layerInfo.dstRect.h, in CreateLayerForRenderThread() 198 …layerInfo.dstRect.x, layerInfo.dstRect.y, layerInfo.dstRect.w, layerInfo.dstRect.h, layerInfo.zOrd… in CreateUIFirstLayer() 212 auto dstRect = params.layerInfo_.dstRect; in CreateSolidColorLayer() local 213 GraphicIRect layerRect = {dstRect.x, dstRect.y, dstRect.w, dstRect.h}; in CreateSolidColorLayer() 268 layer->SetLayerSize(layerInfo.dstRect); in GetLayerInfo() 289 visibleRegions.emplace_back(layerInfo.dstRect); in GetLayerInfo() 329 … } else if (layerInfo.dstRect.x + layerInfo.dstRect.w >= static_cast<int32_t>(screenInfo_.width)) { in ProcessLayerSetCropRect() [all …]
|
H A D | rs_uni_hwc_prevalidate_util.cpp | 106 info.dstRect = {dst.left_, dst.top_, dst.width_, dst.height_}; in CreateSurfaceNodeLayerInfo() 163 info.dstRect = {0, 0, screenInfo.GetRotatedPhyWidth(), screenInfo.GetRotatedPhyHeight()}; in CreateDisplayNodeLayerInfo() 174 info.dstRect.x, info.dstRect.y, info.dstRect.w, info.dstRect.h, in CreateDisplayNodeLayerInfo() 189 info.dstRect = {dst.left_, dst.top_, dst.width_, dst.height_}; in CreateUIFirstLayerInfo() 215 …info.dstRect.x = static_cast<uint32_t>(static_cast<float>(dst.left_) * screenInfo.GetRogWidthRatio… in CreateRCDLayerInfo() 216 …info.dstRect.y = static_cast<uint32_t>(static_cast<float>(dst.top_) * screenInfo.GetRogHeightRatio… in CreateRCDLayerInfo() 217 …info.dstRect.w = static_cast<uint32_t>(static_cast<float>(dst.width_) * screenInfo.GetRogWidthRati… in CreateRCDLayerInfo() 231 info.dstRect.x, info.dstRect.y, info.dstRect.w, info.dstRect.h, in CreateRCDLayerInfo() 293 const auto rect = info.dstRect; in LayerRotate() 296 info.dstRect = {rect.y, screenHeight - rect.x - rect.w, rect.h, rect.w}; in LayerRotate() [all …]
|
H A D | rs_virtual_screen_processor.cpp | 112 const float adaptiveDstWidth = params.dstRect.GetWidth() * mirrorAdaptiveCoefficient_; in ProcessSurface() 113 const float adaptiveDstHeight = params.dstRect.GetHeight() * mirrorAdaptiveCoefficient_; in ProcessSurface() 114 params.dstRect.SetLeft(0); in ProcessSurface() 115 params.dstRect.SetTop(0); in ProcessSurface() 116 params.dstRect.SetRight(adaptiveDstWidth); in ProcessSurface() 117 params.dstRect.SetBottom(adaptiveDstHeight); in ProcessSurface()
|
H A D | rs_uni_render_util.cpp | 322 params.dstRect = in SrcRectScaleFit() 328 params.dstRect = in SrcRectScaleFit() 335 surface->GetName().c_str(), params.dstRect.GetLeft(), params.dstRect.GetTop(), in SrcRectScaleFit() 336 params.dstRect.GetWidth(), params.dstRect.GetHeight()); in SrcRectScaleFit() 548 auto dstRect = renderParams.GetLayerInfo().dstRect; in CreateBufferDrawParamForRotationFixed() local 559 static_cast<float>(dstRect.w), static_cast<float>(dstRect.h) }; in CreateBufferDrawParamForRotationFixed() 1457 … dstRect.left_, dstRect.top_, dstRect.width_ + dstRect.left_, dstRect.height_ + dstRect.top_)); in DealWithNodeGravity() 1477 dstRect.left_ += (dstRect.width_ - originalDstRect.width_) / 2; in CheckForceHardwareAndUpdateDstRect() 1478 dstRect.top_ += (dstRect.height_ - originalDstRect.height_) / 2; in CheckForceHardwareAndUpdateDstRect() 1545 RectI dstRectI(dstRect.left_, dstRect.top_, dstRect.width_, dstRect.height_); in LayerCrop() [all …]
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/test/render_service/render_service/unittest/pipeline/ |
H A D | rs_uni_render_composer_adapter_test.cpp | 101 RectI dstRect{0, 0, 400, 600}; variable 102 surfaceNode->SetSrcRect(dstRect); 103 surfaceNode->SetDstRect(dstRect); 112 layerInfo.dstRect.w = 1; 113 layerInfo.dstRect.h = 1; 171 RectI dstRect{0, 0, 400, 600}; variable 475 RectI dstRect{0, 0, 400, 600}; variable 885 info.dstRect.x = 0; 886 info.dstRect.w = 0; 947 info.dstRect.y = 0; [all …]
|
H A D | rs_composer_adapter_test.cpp | 178 RectI dstRect{0, 0, 400, 600}; variable 179 surfaceNode1->SetSrcRect(dstRect); 180 surfaceNode1->SetDstRect(dstRect); 181 surfaceNode3->SetSrcRect(dstRect); 236 RectI dstRect{0, 0, 400, 600}; variable 259 RectI dstRect{0, 0, 400, 600}; variable 282 RectI dstRect{0, 0, 400, 600}; variable 306 RectI dstRect{0, 0, 40, 600}; variable 331 RectI dstRect{0, 0, 400, 600}; variable 360 RectI dstRect{0, 0, 400, 600}; variable [all …]
|
H A D | rs_hardware_thread_test.cpp | 176 RectI dstRect{0, 0, 400, 600}; variable 177 surfaceNode1->SetSrcRect(dstRect); 178 surfaceNode1->SetDstRect(dstRect); 179 surfaceNode2->SetSrcRect(dstRect); 180 surfaceNode2->SetDstRect(dstRect); 181 surfaceNode3->SetSrcRect(dstRect); 182 surfaceNode3->SetDstRect(dstRect);
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/render/adapter/ |
H A D | svg_canvas_image.cpp | 34 void SvgCanvasImage::DrawRect(RSCanvas& canvas, const RSRect& /* srcRect */, const RSRect& dstRect) in DrawRect() argument 36 OffsetF offset(dstRect.GetLeft(), dstRect.GetTop()); in DrawRect() 37 SizeF contentSize(dstRect.GetWidth(), dstRect.GetHeight()); in DrawRect() 38 auto clipRect = RSRect(0, 0, dstRect.GetWidth(), dstRect.GetHeight()); in DrawRect() 40 canvas.Translate(dstRect.GetLeft(), dstRect.GetTop()); in DrawRect() 42 DrawToRSCanvas(canvas, dstRect, dstRect, BorderRadiusArray()); in DrawRect()
|
H A D | pixelmap_image.cpp | 50 void PrintDrawingLatticeConfig(const Rosen::Drawing::Lattice& lattice, const RSRect& dstRect) in PrintDrawingLatticeConfig() argument 53 drawingConfigStr.append("dstRect = " + dstRect.ToString()); in PrintDrawingLatticeConfig() 228 PrintDrawingLatticeConfig(lattice, dstRect); in DrawImageLattice() 231 recordingCanvas.DrawImageLattice(rsImage.get(), lattice, dstRect, filterMode); in DrawImageLattice() 283 recordingCanvas.DrawImageNine(rsImage.get(), rsCenterRect, dstRect, filterMode, &brush); in DrawImageNine() 302 DrawImageNine(canvas, srcRect, dstRect, radiusXY)) { in DrawToRSCanvas() 340 void PixelMapImage::DrawRect(RSCanvas& canvas, const RSRect& dstRect) in DrawRect() argument 352 SkRect dst { dstRect.GetLeft(), dstRect.GetTop(), dstRect.GetRight(), dstRect.GetBottom() }; in DrawRect() 363 … RSRect dst = RSRect(dstRect.GetLeft(), dstRect.GetTop(), dstRect.GetRight(), dstRect.GetBottom()); in DrawRect() 388 SkRect dst { dstRect.GetLeft(), dstRect.GetTop(), dstRect.GetRight(), dstRect.GetBottom() }; in DrawRect() [all …]
|
H A D | pixelmap_image.h | 47 …RSCanvas& canvas, const RSRect& srcRect, const RSRect& dstRect, const BorderRadiusArray& radiusXY)… 48 void DrawRect(RSCanvas& canvas, const RSRect& srcRect, const RSRect& dstRect) override; 49 void DrawRect(RSCanvas& canvas, const RSRect& dstRect); 52 …RSCanvas& canvas, const RSRect& srcRect, const RSRect& dstRect, const BorderRadiusArray& radiusXY); 54 …RSCanvas& canvas, const RSRect& srcRect, const RSRect& dstRect, const BorderRadiusArray& radiusXY);
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/render/ |
H A D | image_painter.cpp | 34 if (Size::CalcRatio(srcRect) > Size::CalcRatio(dstRect)) { in ApplyContain() 39 dstRect.SetOffset(Alignment::GetAlignPosition(dstSize, dstRect.GetSize(), Alignment::CENTER)); in ApplyContain() 44 if (Size::CalcRatio(srcRect) > Size::CalcRatio(dstRect)) { in ApplyCover() 54 ApplyCover(rawPicSize, dstSize, srcRect, dstRect); in ApplyCoverTopLeft() 59 if (Size::CalcRatio(srcRect) > Size::CalcRatio(dstRect)) { in ApplyFitWidth() 61 … dstRect.SetOffset(Alignment::GetAlignPosition(dstSize, dstRect.GetSize(), Alignment::CENTER)); in ApplyFitWidth() 70 if (Size::CalcRatio(srcRect) > Size::CalcRatio(dstRect)) { in ApplyFitHeight() 75 … dstRect.SetOffset(Alignment::GetAlignPosition(dstSize, dstRect.GetSize(), Alignment::CENTER)); in ApplyFitHeight() 273 dstRect.SetOffset(OffsetF()); in ApplyImageFit() 274 dstRect.SetSize(dstSize); in ApplyImageFit() [all …]
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/property/ |
H A D | rs_filter_cache_manager.cpp | 137 Drawing::Rect dstRect = clipIBounds; in DrawFilterWithoutSnapshot() local 138 filter->DrawImageRect(canvas, cachedSnapshot_->cachedImage_, srcRect, dstRect); in DrawFilterWithoutSnapshot() 146 const std::optional<Drawing::RectI>& dstRect) in DrawFilter() argument 152 const auto& [src, dst] = ValidateParams(canvas, srcRect, dstRect); in DrawFilter() 179 const auto& [src, dst] = ValidateParams(canvas, srcRect, dstRect); in GeneratedCachedEffectData() 247 auto offscreenRect = dstRect; in GenerateFilteredSnapshot() 300 …Drawing::Rect dst = {dstRect.GetLeft(), dstRect.GetTop(), dstRect.GetRight(), dstRect.GetBottom()}; in DrawCachedFilteredSnapshot() 301 …Drawing::Rect src = {dstRect.GetLeft(), dstRect.GetTop(), dstRect.GetRight(), dstRect.GetBottom()}; in DrawCachedFilteredSnapshot() 402 const std::optional<Drawing::RectI>& dstRect) in ValidateParams() argument 413 if (!dstRect.has_value()) { in ValidateParams() [all …]
|
/ohos5.0/foundation/multimedia/av_codec/services/services/codec/ipc/ |
H A D | buffer_converter.cpp | 59 AVCodecRect &dstRect = rects[0]; in ConvertYUV420SP() local 62 int32_t dstSize = (OFFSET_3 * dstRect.wStride * dstRect.hStride) >> 1; in ConvertYUV420SP() 70 dst += dstRect.wStride; in ConvertYUV420SP() 74 dst += (dstRect.hStride - rect.hStride) * dstRect.wStride; in ConvertYUV420SP() 81 dst += dstRect.wStride; in ConvertYUV420SP() 89 AVCodecRect &dstRect = rects[0]; in ConvertYUV420P() local 92 int32_t dstSize = (OFFSET_3 * dstRect.wStride * dstRect.hStride) >> 1; in ConvertYUV420P() 100 dst += dstRect.wStride; in ConvertYUV420P() 106 const int32_t dstPadding = (dstRect.hStride - rect.hStride) * dstRect.wStride; in ConvertYUV420P() 137 int32_t dstSize = dstRect.wStride * dstRect.hStride; in ConverteRGBA8888() [all …]
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_base/unittest/property/ |
H A D | rs_filter_cache_manager_test.cpp | 248 Drawing::RectI dstRect; variable 249 manager->GenerateFilteredSnapshot(canvas, filter, dstRect); 255 manager->GenerateFilteredSnapshot(canvas, filter, dstRect); 281 Drawing::RectI dstRect; variable 282 manager->DrawCachedFilteredSnapshot(canvas, dstRect); 286 manager->DrawCachedFilteredSnapshot(canvas, dstRect); 291 manager->DrawCachedFilteredSnapshot(canvas, dstRect); 296 manager->DrawCachedFilteredSnapshot(canvas, dstRect); 399 std::optional<Drawing::RectI> dstRect; variable 405 dstRect = Drawing::RectI { 0, 0, 100, 100 }; [all …]
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/samples/2d_graphics/ |
H A D | render_context_sample.cpp | 264 GraphicIRect dstRect; in DrawBackgroundLayer() local 267 dstRect.y = 0; in DrawBackgroundLayer() 268 dstRect.w = BACKGROUND_WIDTH; in DrawBackgroundLayer() 269 dstRect.h = BACKGROUND_HEIGHT; in DrawBackgroundLayer() 280 GraphicIRect dstRect; in DrawDrawingLayer() local 283 dstRect.y = 0; in DrawDrawingLayer() 285 dstRect.w = DRAWING_WIDTH; in DrawDrawingLayer() 286 dstRect.h = DRAWING_HEIGHT; in DrawDrawingLayer() 391 if (ProduceBackGroundBuffer(dstRect.w, dstRect.h) != SURFACE_ERROR_OK) { in FillBackGroundLayer() 410 srcRect.w = dstRect.w; in FillBackGroundLayer() [all …]
|
H A D | drawing_sample_canvaskit0310.cpp | 328 GraphicIRect dstRect; in DrawBaseLayer() local 330 dstRect.y = 0; in DrawBaseLayer() 331 dstRect.w = baseWidthVec_[0]; in DrawBaseLayer() 332 dstRect.h = baseHeightVec_[0]; in DrawBaseLayer() 340 dstRect.y = 112; in DrawBaseLayer() 341 dstRect.w = baseWidthVec_[1]; in DrawBaseLayer() 350 dstRect.y = 1488; in DrawBaseLayer() 351 dstRect.w = baseWidthVec_[2]; in DrawBaseLayer() 366 if (ProduceBuffer(pSurface, dstRect.w, dstRect.h, index, true) != SURFACE_ERROR_OK) { in FillBaseLayer() 384 srcRect.w = dstRect.w; in FillBaseLayer() [all …]
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_base/unittest/render/ |
H A D | rs_kawase_blur_test.cpp | 93 Drawing::Rect dstRect; variable 95 KawaseParameter param(srcRect, dstRect, 1, colorFilter, 0.f); 112 Drawing::Rect dstRect; variable 114 KawaseParameter param(srcRect, dstRect, 1, colorFilter, 0.f); 160 Drawing::Rect dstRect; variable 162 KawaseParameter param(srcRect, dstRect, 1, colorFilter, 0.f); 179 Drawing::Rect dstRect; variable 181 KawaseParameter inParam(srcRect, dstRect, 1, colorFilter, 0.f);
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/render/adapter/rosen/ |
H A D | drawing_image.cpp | 254 … RSCanvas& canvas, const RSRect& srcRect, const RSRect& dstRect, const BorderRadiusArray& radiusXY) in DrawToRSCanvas() argument 260 ImagePainterUtils::ClipRRect(canvas, dstRect, radiusXY); in DrawToRSCanvas() 261 canvas.DrawImageRect(*image, srcRect, dstRect, options); in DrawToRSCanvas() 264 if (config.resizableLattice_ && DrawImageLattice(canvas, srcRect, dstRect, radiusXY)) { in DrawToRSCanvas() 267 if (config.resizableSlice_.Valid() && DrawImageNine(canvas, srcRect, dstRect, radiusXY)) { in DrawToRSCanvas() 275 … RSCanvas& canvas, const RSRect& srcRect, const RSRect& dstRect, const BorderRadiusArray& radiusXY) in DrawImageLattice() argument 317 recordingCanvas.DrawImageLattice(image_.get(), *(*latticeSptrAddr), dstRect, filterMode); in DrawImageLattice() 325 … RSCanvas& canvas, const RSRect& srcRect, const RSRect& dstRect, const BorderRadiusArray& radiusXY) in DrawImageNine() argument 368 recordingCanvas.DrawImageNine(image_.get(), rsCenterRect, dstRect, filterMode, &brush); in DrawImageNine() 411 void DrawingImage::DrawRect(RSCanvas& canvas, const RSRect& srcRect, const RSRect& dstRect) in DrawRect() argument [all …]
|
H A D | drawing_image.h | 93 …RSCanvas& canvas, const RSRect& srcRect, const RSRect& dstRect, const BorderRadiusArray& radiusXY)… 95 …RSCanvas& canvas, const RSRect& srcRect, const RSRect& dstRect, const BorderRadiusArray& radiusXY); 97 …RSCanvas& canvas, const RSRect& srcRect, const RSRect& dstRect, const BorderRadiusArray& radiusXY); 98 void DrawRect(RSCanvas& canvas, const RSRect& srcRect, const RSRect& dstRect) override; 107 void ClipRRect(RSCanvas& canvas, const RSRect& dstRect, const BorderRadiusArray& radiusXY);
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/image/ |
H A D | render_image.cpp | 488 void RenderImage::ApplyImageFit(Rect& srcRect, Rect& dstRect) in ApplyImageFit() argument 496 ApplyNone(srcRect, dstRect, rawPicSize, layoutSize); in ApplyImageFit() 499 ApplyCover(srcRect, dstRect, rawPicSize, layoutSize); in ApplyImageFit() 508 if (srcRect.GetSize() < dstRect.GetSize()) { in ApplyImageFit() 528 if (Size::CalcRatio(srcRect) > Size::CalcRatio(dstRect)) { in ApplyContain() 533 dstRect.SetOffset(Alignment::GetAlignPosition(layoutSize, dstRect.GetSize(), alignment_)); in ApplyContain() 538 if (Size::CalcRatio(srcRect) > Size::CalcRatio(dstRect)) { in ApplyCover() 548 if (Size::CalcRatio(srcRect) > Size::CalcRatio(dstRect)) { in ApplyFitWidth() 550 dstRect.SetOffset(Alignment::GetAlignPosition(layoutSize, dstRect.GetSize(), alignment_)); in ApplyFitWidth() 559 if (Size::CalcRatio(srcRect) > Size::CalcRatio(dstRect)) { in ApplyFitHeight() [all …]
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_base/include/property/ |
H A D | rs_filter_cache_manager.h | 71 const std::optional<Drawing::RectI>& dstRect = std::nullopt); 77 const std::optional<Drawing::RectI>& dstRect = std::nullopt); 108 …lterCanvas& canvas, const std::shared_ptr<RSDrawingFilter>& filter, const Drawing::RectI& dstRect); 111 … void DrawCachedFilteredSnapshot(RSPaintFilterCanvas& canvas, const Drawing::RectI& dstRect) const; 114 const std::optional<Drawing::RectI>& srcRect, const std::optional<Drawing::RectI>& dstRect);
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/render/ |
H A D | rs_image_base.cpp | 182 void RSImageBase::SetDstRect(const RectF& dstRect) in SetDstRect() argument 184 if (dstRect_ != dstRect) { in SetDstRect() 187 dstRect_ = dstRect; in SetDstRect() 303 …tic bool UnmarshallingIdAndRect(Parcel& parcel, uint64_t& uniqueId, RectF& srcRect, RectF& dstRect) in UnmarshallingIdAndRect() argument 314 if (!RSMarshallingHelper::Unmarshalling(parcel, dstRect)) { in UnmarshallingIdAndRect() 377 RectF dstRect; in Unmarshalling() local 378 if (!UnmarshallingIdAndRect(parcel, uniqueId, srcRect, dstRect)) { in Unmarshalling() 396 rsImage->SetDstRect(dstRect); in Unmarshalling()
|