/ohos5.0/docs/zh-cn/application-dev/reference/apis-arkui/ |
H A D | js-apis-arkui-inspector.md | 63 | type | string | 是 | 必须填写字符串'layout'或'draw'。<br>layout: 组件布局完成。<br>draw: 组件绘制完成。 | 64 | callback | void | 是 | 监听layout或draw的回调。| 80 | type | string | 是 | 必须填写字符串'layout'或'draw'。<br>layout: 组件布局完成。<br>draw: 组件绘制完成。 | 85 on(type: 'draw', callback: () => void): void 97 | type | string | 是 | 必须填写字符串'layout'或'draw'。<br>layout: 组件布局完成。<br>draw: 组件绘制完成。 | 98 | callback | void | 是 | 监听layout或draw的回调。 | 102 off(type: 'draw', callback?: () => void): void 114 | type | string | 是 | 必须填写字符串'layout'或'draw'。<br>layout: 组件布局完成。<br>draw: 组件绘制完成。 | 158 this.listener.on('draw', FuncDraw) 162 // this.listener.off('draw', OffFuncDraw)
|
/ohos5.0/docs/en/application-dev/reference/apis-arkui/ |
H A D | js-apis-arkui-inspector.md | 63 …ner. The value must be **'layout'** or **'draw'**.<br>**'layout'**: completion of component layout… 80 …ner. The value must be **'layout'** or **'draw'**.<br>**'layout'**: completion of component layout… 85 on(type: 'draw', callback: () => void): void 97 …ner. The value must be **'layout'** or **'draw'**.<br>**'layout'**: completion of component layout… 102 off(type: 'draw', callback?: () => void): void 114 …ner. The value must be **'layout'** or **'draw'**.<br>**'layout'**: completion of component layout… 164 this.listener.on('draw', FuncDraw) 168 // this.listener.off('draw', OffFuncDraw)
|
/ohos5.0/foundation/arkui/ui_lite/ |
H A D | ui.gni | 90 "$ARKUI_UI_LITE_PATH/frameworks/draw/clip_utils.cpp", 91 "$ARKUI_UI_LITE_PATH/frameworks/draw/draw_arc.cpp", 92 "$ARKUI_UI_LITE_PATH/frameworks/draw/draw_canvas.cpp", 93 "$ARKUI_UI_LITE_PATH/frameworks/draw/draw_curve.cpp", 94 "$ARKUI_UI_LITE_PATH/frameworks/draw/draw_image.cpp", 95 "$ARKUI_UI_LITE_PATH/frameworks/draw/draw_label.cpp", 96 "$ARKUI_UI_LITE_PATH/frameworks/draw/draw_line.cpp", 97 "$ARKUI_UI_LITE_PATH/frameworks/draw/draw_rect.cpp", 98 "$ARKUI_UI_LITE_PATH/frameworks/draw/draw_triangle.cpp", 99 "$ARKUI_UI_LITE_PATH/frameworks/draw/draw_utils.cpp",
|
H A D | BUILD.gn | 177 "frameworks/draw/clip_utils.cpp", 178 "frameworks/draw/draw_arc.cpp", 179 "frameworks/draw/draw_canvas.cpp", 180 "frameworks/draw/draw_curve.cpp", 181 "frameworks/draw/draw_image.cpp", 182 "frameworks/draw/draw_label.cpp", 183 "frameworks/draw/draw_line.cpp", 184 "frameworks/draw/draw_rect.cpp", 185 "frameworks/draw/draw_triangle.cpp", 186 "frameworks/draw/draw_utils.cpp",
|
/ohos5.0/foundation/arkui/ui_lite/tools/qt/simulator/libui/ |
H A D | libui.pro | 134 ../../../../frameworks/draw/draw_arc.cpp \ 139 ../../../../frameworks/draw/draw_line.cpp \ 140 ../../../../frameworks/draw/draw_rect.cpp \ 232 ../../../../frameworks/draw/clip_utils.h \ 233 ../../../../frameworks/draw/draw_arc.h \ 235 ../../../../frameworks/draw/draw_curve.h \ 236 ../../../../frameworks/draw/draw_image.h \ 237 ../../../../frameworks/draw/draw_label.h \ 238 ../../../../frameworks/draw/draw_line.h \ 239 ../../../../frameworks/draw/draw_rect.h \ [all …]
|
/ohos5.0/docs/zh-cn/device-dev/subsystems/ |
H A D | subsys-dfx-hisysevent-tool.md | 144 …_NAME":"","MSG":"It took 1957104259905ns to draw, UI took 0ns to draw, RSRenderThread took 8962625… 145 …_NAME":"","MSG":"It took 1956945826265ns to draw, UI took 0ns to draw, RSRenderThread took 9863293… 165 …launcher","MSG":"It took 587948726ns to draw, UI took 483016382ns to draw, RSRenderThread took 966… 167 …systemui","MSG":"It took 309597490ns to draw, UI took 92364718ns to draw, RSRenderThread took 2058… 168 …systemui","MSG":"It took 259782859ns to draw, UI took 33909753ns to draw, RSRenderThread took 4484…
|
/ohos5.0/foundation/graphic/graphic_2d/frameworks/opengl_wrapper/test/unittest/ |
H A D | egl_wrapper_context_test.cpp | 46 EGLSurface draw = nullptr; in HWTEST_F() local 48 ctx.SetCurrentSurface(draw, read); in HWTEST_F() 53 ASSERT_EQ(draw, result); in HWTEST_F()
|
/ohos5.0/docs/en/release-notes/changelogs/OpenHarmony_4.1.6.3/ |
H A D | changelogs-blendMode.md | 34 …**BlendApplyType.OFFSCREEN** twice to trigger two offscreen operations to draw the component backg… 44 // The second offscreen operation is used to draw the subnode content. 51 // The first offscreen operation is used to draw the component background. 65 // The second offscreen operation is used to draw the subnode content. 71 // The first offscreen operation is used to draw the component background.
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/ |
H A D | BUILD.gn | 75 "$drawing_core_src_dir/draw/brush.cpp", 76 "$drawing_core_src_dir/draw/canvas.cpp", 77 "$drawing_core_src_dir/draw/color.cpp", 79 "$drawing_core_src_dir/draw/paint.cpp", 80 "$drawing_core_src_dir/draw/path.cpp", 81 "$drawing_core_src_dir/draw/pen.cpp", 82 "$drawing_core_src_dir/draw/surface.cpp", 469 "$drawing_core_src_dir/draw/brush.cpp", 470 "$drawing_core_src_dir/draw/color.cpp", 472 "$drawing_core_src_dir/draw/path.cpp", [all …]
|
/ohos5.0/docs/en/application-dev/ui/ |
H A D | arkts-drawing-customization-on-canvas.md | 4 …RenderingContext2D** and **OffscreenCanvasRenderingContext2D** objects to draw graphics on the **C… 9 You can draw custom graphics on the canvas in any of the following ways: 31 // You can draw content here. 44 - Drawing offscreen onto a canvas is a process where content to draw onto the canvas is first drawn… 68 // You can draw content here. 136 …RenderingContext2D** and **OffscreenCanvasRenderingContext2D** objects to draw the path. For detai… 158 …You can draw a basic shape by calling APIs such as [arc](../reference/apis-arkui/arkui-ts/ts-canva… 185 …rokeText](../reference/apis-arkui/arkui-ts/ts-canvasrenderingcontext2d.md#stroketext) to draw text. 227 …// Use the drawImage API to draw an image in the area with the width and height of 130 starting fr… 231 … // Use the putImageData API to draw the obtained image data in the area starting from (150, 150). [all …]
|
H A D | arkts-geometric-shape-drawing.md | 4 The drawing components are used to draw graphs on the page. The **Shape** component is the parent c… 17 …In the API, the **value** parameter sets the drawing target. You can draw a graph in the specified… 26 - Create an independent drawing component to draw a specific shape. Seven shapes are supported: [Ci… 75 …width and height are both 75. Fill the viewport with a blue rectangle and draw a circle with a dia… 88 …dth and height are both 300. Fill the viewport with a green rectangle and draw a circle with a dia… 105 …idth and height are both 300. Fill the viewport with a blue rectangle and draw a circle with a rad… 134 …e width and height are both 300. Fill the viewport with a blue rectangle, draw a circle with a rad… 211 …a limit on the ratio of the miter length to the value of **strokeWidth** used to draw a miter join. 224 …// Set the limit on the ratio of the miter length to the value of strokeWidth used to draw a miter…
|
H A D | ui-js-components-svg-graphics.md | 4 The **<svg>** component can be used to draw simple shapes, such as rectangles, circles, and l… 7 In this example, you can draw different shapes and stitch them to form a house graph.
|
/ohos5.0/docs/en/device-dev/subsystems/ |
H A D | subsys-dfx-hisysevent-tool.md | 144 …_NAME":"","MSG":"It took 1957104259905ns to draw, UI took 0ns to draw, RSRenderThread took 8962625… 145 …_NAME":"","MSG":"It took 1956945826265ns to draw, UI took 0ns to draw, RSRenderThread took 9863293… 165 …launcher","MSG":"It took 587948726ns to draw, UI took 483016382ns to draw, RSRenderThread took 966… 167 …systemui","MSG":"It took 309597490ns to draw, UI took 92364718ns to draw, RSRenderThread took 2058… 168 …systemui","MSG":"It took 259782859ns to draw, UI took 33909753ns to draw, RSRenderThread took 4484…
|
/ohos5.0/docs/en/application-dev/graphics/ |
H A D | drawing-js-guidelines.md | 27 Use the canvas and pen of the @ohos.graphics.drawing module to draw basic 2D graphics and text blob… 29 The following walks you through on how to draw and display 2D graphics and text blobs. 42 Follow the steps below to draw 2D graphics and text blobs by using the canvas and pen of the @ohos.… 46 …e contains operations on the tree structure and drawing attributes. The **draw** method called whe… 52 async draw(context: DrawContext) { 124 Use **drawPath** in canvas to draw the pentagram on the canvas. 146 Use **drawRect** in canvas to draw a rectangle. 150 async draw(context: DrawContext) { 169 Use **drawTextBlob** in canvas to draw a text blob. 173 async draw(context: DrawContext) {
|
/ohos5.0/foundation/graphic/graphic_2d/frameworks/opengl_wrapper/src/EGL/ |
H A D | egl_wrapper_display.h | 35 EGLBoolean MakeCurrent(EGLSurface draw, EGLSurface read, EGLContext ctx); 37 EGLBoolean MakeCurrentAfterHook(EGLSurface draw, EGLSurface read, EGLContext ctx); 109 EGLBoolean SwapBuffersWithDamageKHR(EGLSurface draw, EGLint *rects, EGLint nRects); 125 …EGLBoolean InternalMakeCurrent(EglWrapperSurface *draw, EglWrapperSurface *read, EglWrapperContext…
|
H A D | egl_wrapper_context.cpp | 33 void EglWrapperContext::SetCurrentSurface(EGLSurface draw, EGLSurface read) in SetCurrentSurface() argument 36 draw_ = draw; in SetCurrentSurface()
|
H A D | egl_wrapper_display.cpp | 159 EglWrapperSurface *draw, EglWrapperSurface *read, EglWrapperContext *ctx, in InternalMakeCurrent() argument 166 if (draw != nullptr) { in InternalMakeCurrent() 167 actualDraw = draw->GetEglSurface(); in InternalMakeCurrent() 186 ctx->SetCurrentSurface(draw, read); in InternalMakeCurrent() 240 if (draw != EGL_NO_SURFACE || read != EGL_NO_SURFACE) { in MakeCurrent() 251 if (draw != EGL_NO_SURFACE) { in MakeCurrent() 252 surDrawPtr = EglWrapperSurface::GetWrapperSurface(draw); in MakeCurrent() 292 if (draw != EGL_NO_SURFACE || read != EGL_NO_SURFACE) { in MakeCurrentAfterHook() 303 if (draw != EGL_NO_SURFACE) { in MakeCurrentAfterHook() 304 surDrawPtr = EglWrapperSurface::GetWrapperSurface(draw); in MakeCurrentAfterHook() [all …]
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/samples/webgl/entry/src/main/js/MainAbility/pages/index/sample/ |
H A D | cube_demo.js | 148 draw(program, gl); 151 function draw(program, gl) { function 168 requestAnimationFrame(() => draw(program, gl));
|
H A D | panorama_demo.js | 90 draw(program, gl); 101 function draw(program, gl) { function 110 requestAnimationFrame(() => draw(program, gl));
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/samples/webgl/entry/src/main/js/MainAbility/pages/index/sample2/ |
H A D | cube2_demo.js | 148 draw(program, gl); 151 function draw(program, gl) { function 168 requestAnimationFrame(() => draw(program, gl));
|
H A D | panorama2_demo.js | 93 draw(program, gl); 104 function draw(program, gl) { function 113 requestAnimationFrame(() => draw(program, gl));
|
/ohos5.0/foundation/graphic/graphic_2d/frameworks/opengl_wrapper/test/fuzztest/eglwrappercontext_fuzzer/ |
H A D | eglwrappercontext_fuzzer.cpp | 65 EGLSurface draw = GetData<EGLSurface>(); in DoSomethingInterestingWithMyAPI() local 72 wrapperContext->SetCurrentSurface(draw, read); in DoSomethingInterestingWithMyAPI()
|
/ohos5.0/docs/zh-cn/application-dev/reference/apis-arkgraphics2d/ |
H A D | js-apis-graphics-drawing.md | 1309 draw(context : DrawContext) { 1353 draw(context : DrawContext) { 1393 draw(context : DrawContext) { 1431 draw(context : DrawContext) { 1471 draw(context : DrawContext) { 1515 draw(context : DrawContext) { 1559 draw(context : DrawContext) { 1594 draw(context : DrawContext) { 1634 draw(context : DrawContext) { 1722 draw(context : DrawContext) { [all …]
|
/ohos5.0/docs/en/application-dev/faqs/ |
H A D | faqs-graphics.md | 114 ## How do I draw a custom animation using EGL? (API version 10) 118 Use OpenGL APIs to draw a custom animation. 120 … calculate the content of each frame to draw based on the time axis and animation curve. After tha… 126 ## How do I operate a buffer to draw graphics in the EGL multithreaded drawing scenario? (API versi…
|
/ohos5.0/docs/en/release-notes/changelogs/OpenHarmony_4.0.8.5/ |
H A D | changelogs-arkui.md | 47 When the **fillText** and **strokeText** APIs are used to draw text, no text wrapping occurs. 78 API version 9 and earlier: When the **fillText** and **strokeText** APIs are used to draw text, the… 82 API version 10 and later: When the **fillText** and **strokeText** APIs are used to draw text, no t…
|