Software:ArkGraphics 2D

From HandWiki
ArkGraphics 2D
Developer(s)Huawei
Initial releaseMarch 30, 2024; 3 months ago (2024-03-30)
Written inJS, NAPI C++,C, HarmonyOS Runtime/API: ArkTS, Cangjie with ArkUI
Operating systemHarmonyOS, OpenHarmony, Oniro OS
Platform64-bit ARM, RISC-V, x86, x64, Lingxi
TypeSoftware engine
LicenseOpen 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

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

References