Home
last modified time | relevance | path

Searched refs:canvasWidth (Results 1 – 15 of 15) sorted by relevance

/ohos5.0/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_base/unittest/render/
H A Drs_attraction_effect_filter_test.cpp253 float canvasWidth = 10.f; variable
255 firstEffectFilter.CalculateWindowStatus(canvasWidth, canvasHeight, destinationPoint);
275 float canvasWidth = 10.f; variable
277 firstEffectFilter.CalculateWindowStatus(canvasWidth, canvasHeight, destinationPoint);
284 firstEffectFilter.CalculateWindowStatus(canvasWidth, canvasHeight, destinationPointBelow);
301 float canvasWidth = 10.f; variable
303 firstEffectFilter.CalculateWindowStatus(canvasWidth, canvasHeight, destinationPoint);
327 float canvasWidth = 10.f; variable
329 firstEffectFilter.CalculateWindowStatus(canvasWidth, canvasHeight, destinationPoint);
359 float canvasWidth = 10.f; variable
[all …]
/ohos5.0/docs/zh-cn/application-dev/form/
H A Darkts-ui-widget-page-custom-drawing.md10 private canvasWidth: number = 0;
24 this.canvasWidth = this.context.width;
28 this.context.fillRect(0, 0, this.canvasWidth, this.canvasHeight);
/ohos5.0/docs/en/application-dev/form/
H A Darkts-ui-widget-page-custom-drawing.md10 private canvasWidth: number = 0;
24 this.canvasWidth = this.context.width;
28 this.context.fillRect(0, 0, this.canvasWidth, this.canvasHeight);
/ohos5.0/foundation/graphic/graphic_2d/rosen/test/render_service/render_service/unittest/pipeline/
H A Drs_render_engine_test.cpp63 const int canvasWidth = 10; in SetUpTestCase() local
65 … drawingRecordingCanvas_ = std::make_shared<Drawing::RecordingCanvas>(canvasWidth, canvasHeight); in SetUpTestCase()
192 const int canvasWidth = 10; variable
194 … drawingRecordingCanvas = std::make_shared<Drawing::RecordingCanvas>(canvasWidth, canvasHeight);
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_base/include/render/
H A Drs_attraction_effect_filter.h68 void CalculateWindowStatus(float canvasWidth, float canvasHeight, Vector2f& destinationPoint);
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/image/apng/
H A Dapng_image_player.cpp133 uint32_t canvasWidth = pngInfo->header.width; in GetApngAllFrames() local
147 bool sizeEqualsToCanvas = (frame.width == canvasWidth && frame.height == canvasHeight); in GetApngAllFrames()
200 width_ = canvasWidth; in GetApngAllFrames()
/ohos5.0/foundation/multimedia/image_effect/frameworks/native/render_environment/
H A Drender_environment.h204 int canvasWidth = 0; variable
H A Drender_environment.cpp231 … OH_NativeWindow_NativeWindowHandleOpt(window_, GET_BUFFER_GEOMETRY, &canvasHeight, &canvasWidth); in UpdateCanvas()
232 param_->viewport_.Set(0, 0, canvasWidth, canvasHeight); in UpdateCanvas()
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/render/
H A Drs_attraction_effect_filter.cpp365 void RSAttractionEffectFilter::CalculateWindowStatus(float canvasWidth, float canvasHeight, Vector2… in CalculateWindowStatus() argument
367 canvasWidth_ = canvasWidth; in CalculateWindowStatus()
/ohos5.0/docs/zh-cn/application-dev/reference/apis-arkui/arkui-ts/
H A Dts-universal-styled-string.md1676 const canvasWidth = 1000
1680 private offscreenCanvas: OffscreenCanvas = new OffscreenCanvas(canvasWidth, canvasHeight)
1694 this.offContext.clearRect(0, 0, canvasWidth, canvasHeight)
H A Dts-basic-components-richeditor.md2950 const canvasWidth = 1000
2955 private offscreenCanvas: OffscreenCanvas = new OffscreenCanvas(canvasWidth, canvasHeight)
3029 const newCanvas = new OffscreenCanvas(canvasWidth, canvasHeight)
3041 this.offContext.clearRect(0, 0, canvasWidth, canvasHeight)
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/property/
H A Drs_properties_painter.cpp1500 float canvasWidth = properties.GetBoundsRect().GetWidth(); in DrawSpherize() local
1513 canvas.Scale(canvasWidth / imageWidth, canvasHeight / imageHeight); in DrawSpherize()
H A Drs_properties.cpp2422 float canvasWidth = GetBoundsRect().GetWidth(); in CreateAttractionEffectFilter() local
2428 attractionEffectFilter->CalculateWindowStatus(canvasWidth, canvasHeight, destinationPoint); in CreateAttractionEffectFilter()
/ohos5.0/docs/en/application-dev/reference/apis-arkui/arkui-ts/
H A Dts-universal-styled-string.md1674 const canvasWidth = 1000
1678 private offscreenCanvas: OffscreenCanvas = new OffscreenCanvas(canvasWidth, canvasHeight)
1692 this.offContext.clearRect(0, 0, canvasWidth, canvasHeight)
H A Dts-basic-components-richeditor.md2941 const canvasWidth = 1000
2946 private offscreenCanvas: OffscreenCanvas = new OffscreenCanvas(canvasWidth, canvasHeight)
3020 const newCanvas = new OffscreenCanvas(canvasWidth, canvasHeight)
3032 this.offContext.clearRect(0, 0, canvasWidth, canvasHeight)