Home
last modified time | relevance | path

Searched refs:MapRect (Results 1 – 25 of 30) sorted by relevance

12

/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_base/include/common/
H A Drs_obj_abs_geometry.h49 static RectI MapRect(const RectF& rect, const Drawing::Matrix& matrix);
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/src/drawing/utils/
H A Dmatrix.cpp180 bool Matrix::MapRect(Rect& dst, const Rect& src) const in MapRect() function in OHOS::Rosen::Drawing::Matrix
182 return matrixImplPtr->MapRect(dst, src); in MapRect()
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/common/
H A Drs_obj_abs_geometry.cpp305 RectI RSObjAbsGeometry::MapRect(const RectF& rect, const Drawing::Matrix& matrix) in MapRect() function in OHOS::Rosen::RSObjAbsGeometry
314 matrix.MapRect(dst, src); in MapRect()
362 return MapRect(rect, GetAbsMatrix()); in MapAbsRect()
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/src/drawing/draw/
H A Dcanvas.cpp31 matrix->MapRect(newBounds, bounds); in AutoCanvasMatrixBrush()
/ohos5.0/foundation/graphic/graphic_2d/rosen/test/2d_graphics/unittest/utils/
H A Dmatrix_test.cpp385 EXPECT_TRUE(matrix->MapRect(dst, src));
400 EXPECT_TRUE(matrix->MapRect(dst, src));
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/src/drawing/engine_adapter/impl_interface/
H A Dmatrix_impl.h73 virtual bool MapRect(Rect& dst, const Rect& src) const;
/ohos5.0/foundation/graphic/graphic_2d/interfaces/kits/napi/graphic/drawing/matrix_napi/
H A Djs_matrix.h48 static napi_value MapRect(napi_env env, napi_callback_info info);
H A Djs_matrix.cpp48 DECLARE_NAPI_FUNCTION("mapRect", JsMatrix::MapRect),
715 napi_value JsMatrix::MapRect(napi_env env, napi_callback_info info) in MapRect() function in OHOS::Rosen::Drawing::JsMatrix
738 auto res = CreateJsValue(env, m_matrix->MapRect(dstRect, srcRect)); in OnMapRect()
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/src/drawing/engine_adapter/skia_adapter/
H A Dskia_matrix.h74 bool MapRect(Rect& dst, const Rect& src) const override;
H A Dskia_matrix.cpp214 bool SkiaMatrix::MapRect(Rect& dst, const Rect& src) const in MapRect() function in OHOS::Rosen::Drawing::SkiaMatrix
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/include/utils/
H A Dmatrix.h226 bool MapRect(Rect& dst, const Rect& src) const;
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service/core/drawable/
H A Drs_render_node_drawable.cpp338 matrix.MapRect(dst, params.GetBounds()); in CheckRegionAndDrawWithoutFilter()
365 matrix.MapRect(dst, params.GetBounds()); in CheckRegionAndDrawWithFilter()
409 canvas.GetTotalMatrix().MapRect(dst, rect); in UpdateCacheInfoForDfx()
H A Drs_render_node_drawable_autocache.cpp321 canvas.GetTotalMatrix().MapRect(dst, opListDrawAreas_.GetOpInfo().unionRect); in DrawAutoCacheDfx()
H A Drs_display_render_node_drawable.cpp950 RectI mappedRect = tmpGeo->MapRect(rect.ConvertTo<float>(), canvasMatrix); in CalculateVirtualDirty()
963 RectI mappedHwcRect = tmpGeo->MapRect(hwcRect.ConvertTo<float>(), canvasMatrix); in CalculateVirtualDirty()
1225 RectI mappedRect = tmpGeo->MapRect(rect.ConvertTo<float>(), canvasMatrix); in CalculateVirtualDirtyForWiredScreen()
/ohos5.0/foundation/graphic/graphic_2d/rosen/test/2d_graphics/fuzztest/utils/matrix_fuzzer/
H A Dmatrix_fuzzer.cpp116 matrix.MapRect(dst, src); in MatrixFuzzTest001()
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/pipeline/
H A Drs_render_node.cpp901 … auto absChildrenRect = geoPtr->MapRect(oldChildrenRect_.ConvertTo<float>(), oldAbsMatrix_); in ForceMergeSubTreeDirtyRegion()
918 auto oldDirtyRect = geoPtr->MapRect(oldChildrenRect_.ConvertTo<float>(), oldAbsMatrix_); in SubTreeSkipPrepare()
1347 auto bufferDirtyRect = GetRenderProperties().GetBoundsGeometry()->MapRect( in UpdateBufferDirtyRegion()
1604 auto bufferDirtyRect = GetRenderProperties().GetBoundsGeometry()->MapRect( in UpdateBufferDirtyRegion()
1800 childRectMapped = geoPtr->MapRect(childRect, geoPtr->GetMatrix()); in MapAndUpdateChildrenRect()
1807 childRectMapped = geoPtr->MapRect(childRect, childRelativeToParentMatrix); in MapAndUpdateChildrenRect()
1809 childRectMapped = geoPtr->MapRect(childRect, geoPtr->GetMatrix()); in MapAndUpdateChildrenRect()
1921 absMatrix.MapRect(absDrawRect, Rect2DrawingRect(selfDrawRect_)); in UpdateFilterRegionInSkippedSubTree()
1925 absMatrix.MapRect(absRect, Rect2DrawingRect(GetRenderProperties().GetBoundsRect())); in UpdateFilterRegionInSkippedSubTree()
3366 geoPtr->GetAbsMatrix().MapRect(absRect, filterRect); in GetFilterRect()
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/drawable/
H A Drs_render_node_drawable_adapter.cpp381 canvas.GetTotalMatrix().MapRect( in QuickReject()
385 originalCanvas->GetTotalMatrix().MapRect(dst, dst); in QuickReject()
H A Drs_property_drawable.cpp226 canvas->GetTotalMatrix().MapRect(absRect, *rect); in CreateDrawFunc()
H A Drs_property_drawable_utils.cpp112 matrix.MapRect(regionRectDev, regionRect); in GetShadowRegionImage()
872 if (!worldToLocalMat.MapRect(localClipBounds, fClipBounds)) { in DrawPixelStretch()
915 rotateMat.MapRect(transBounds, bounds); in DrawPixelStretch()
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/render/
H A Drs_motion_blur_filter.cpp67 mat.MapRect(rect, rect); in DrawImageRect()
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/property/
H A Drs_properties_painter.cpp279 matrix.MapRect(shadowRect, shadowRect); in GetShadowDirtyRect()
870 matrix.MapRect(drawingRect, drawingRect); in GetPixelStretchDirtyRect()
896 matrix.MapRect(drawingRect, drawingRect); in GetForegroundEffectDirtyRect()
950 if (!worldToLocalMat.MapRect(localClipBounds, fClipBounds)) { in DrawPixelStretch()
994 rotateMat.MapRect(transBounds, bounds); in DrawPixelStretch()
1381 matrix.MapRect(drawingRect, drawingRect); in GetOutlineDirtyRect()
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service/core/pipeline/
H A Drs_uni_render_virtual_processor.cpp363 canvas_->GetTotalMatrix().MapRect(rect, rect); in CanvasClipRegionForUniscaleMode()
H A Drs_uni_render_visitor.cpp2020 auto hwcAbsRect = hwcGeo->MapRect(hwcNode->GetSelfDrawRect(), hwcNode->GetTotalMatrix()); in UpdateCornerRadiusInfoForDRM()
2230 boundsGeometry->GetMatrix().MapRect(tempRect, rect); in CheckMergeDisplayDirtyByAttractionChanged()
2646 matrix.MapRect(absRect, bounds); in UpdateHwcNodeRectInSkippedSubTree()
2655 hwcNodePtr->SetOldDirtyInSurface(geoPtr->MapRect(hwcNodePtr->GetSelfDrawRect(), matrix)); in UpdateHwcNodeRectInSkippedSubTree()
2847 …absMatrix.MapRect(absDrawRect, RSPropertiesPainter::Rect2DrawingRect(subSurfaceNodePtr->GetSelfDra… in UpdateSubSurfaceNodeRectInSkippedSubTree()
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/drawing_ndk/src/
H A Ddrawing_matrix.cpp322 return matrix->MapRect(CastToRect(*dst), CastToRect(*src)); in OH_Drawing_MatrixMapRect()
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service/core/drawable/dfx/
H A Drs_dirty_rects_dfx.cpp212 invertMatrix.MapRect(rect, rect); in DrawDirtyRectForDFX()

12