ArkGraphics 2D
This article has multiple issues. Please help improve it or discuss these issues on the talk page. (Learn how and when to remove these messages)
|
Developer(s) | Huawei |
---|---|
Initial release | March 30, 2024 |
Written in | JS, NAPI C++,C, HarmonyOS Runtime/API: ArkTS, Cangjie with ArkUI |
Operating system | HarmonyOS, OpenHarmony, Oniro OS |
Platform | 64-bit ARM, RISC-V, x86, x64, Lingxi |
Type | Software engine |
License | Open Source, Apache License |
ArkGraphics 2D is an open source 2D graphics stack for OpenHarmony-Oniro based and HarmonyOS operating systems. The engine layer includes two modules, such as 2D graphics library and 3D graphics engine with both OpenGL with OpenGL Shading Language and WebGL as render service backend. The 2D graphics library provides the underlying API for 2D graphics rendering, and supports the underlying capabilities of graphics rendering and text rendering for ArkUI. [1][2]
Overview
[edit]ArkUI allows for 2D drawing, animations, event handling, Service Card widgets, and data binding, in the environment of 2D computer graphics. ArkUI automatically synchronizes between UI views and data from ArkTS on OpenHarmony 4.1 API 11 version, alongside native HarmonyOS NEXT software system development for HarmonyOS[3][4][5][6][7]
The layered description of the OpenHarmony graphics stack such as Interface layer: Provides native API capabilities for graphics, including WebGL, Native Drawing drawing capabilities for JS APIs, OpenGL instruction-level drawing capabilities support for NAPI C++, C programming languages, etc. Alongside, the Framework layer that is divided into five modules such as Render Service, Drawing, Animation, Effect, Display and Memory Management.[8]
See also
[edit]References
[edit]- ^ "HarmonyOS 4 announced with modernized look, new customization options and Live Windows". MobGsm. Retrieved February 15, 2024.
- ^ "OpenAtom OpenHarmony". docs.openharmony.cn. Retrieved April 14, 2024.
- ^ Parker, Victoria (January 26, 2024). "HDC Technical Sub-forum: A comprehensive look at HarmonyOS 'next-generation UI Framework". Mo4Tech. Retrieved February 13, 2024.
- ^ Sarkar, Amy (April 25, 2023). "HarmonyOS 3.1 Beta 2 rolling out". HC Newsroom. Retrieved February 13, 2024.
- ^ "What is "ArkWeb" for HarmonyOS NEXT?". Substack. LivingInHarmony Blog. Retrieved February 15, 2024.
- ^ "ArkGraphics 2D graphics library API for HarmonyOS NEXT". Substack. LivingInHarmony Blog. February 15, 2024. Retrieved February 15, 2024.
- ^ "ArkGraphics 2D graphics library API for HarmonyOS NEXT -". harmonyoshub.com. April 10, 2024. Retrieved April 14, 2024.
- ^ "OpenHarmony/graphic_graphic_2d". Gitee (in Chinese (China)). Retrieved May 24, 2024.