Cross-platform 2D Vector + Raster API + hardware acceleration - does it exist?

Requirements:

  • API with saved GUI
  • Only for 2D objects (although the 3D transforms of these 2D objects are of interest)
  • Cross platform
  • Vector graphics
  • Raster layout + support for opacity masks - hardware acceleration, of course ...
  • Animation API
  • Package size - can it work in the embedded environment?

This is not for the game, but I am not against using a game type API.

Some thoughts:

Qt is probably too heavy, but I'm not good enough with the API to find out if it meets the requirements. I am not interested in Qts window management (no windows) or a widget / control set, since it is not intended for a desktop type application. Also, I'm not sure if Qt has an animation environment? Thoughts are here?

Most likely, it will be a frame built on top of OpenGL. I just don't know if such a thing exists. Also, I donโ€™t understand about 2D graphics in OpenGL. Is 2D graphics really 2D or just 3D objects drawn on a 2D-oriented plane?

WPF is DirectX because _____________ is OpenGL

If the gap can be filled, this is what I am looking for.

Update # 2

- Qt QGraphicsScene - , -, Qt 2D QGraphicsWidget, QWidget.

Qt . , , - , , , Illustrator, QGraphicsItem - ( ) .

+3
4

, Cairo, OpenGL. , API .

+5

Qt.

- . , , .

OpenGL - Qt4.5.

XRender - , 2D-

API API (QTimeLine QtAnimation)

+2

OpenGL - 3D-, , 2D. 3- , , , , , , .

. , - , 3D.

OpenGL 2D , 3D-, . - . , 2d, .

, 2D- 3D-, 3D- 2D-.

+1

WPF 3D. , 2D , 3D-.

0

Source: https://habr.com/ru/post/1703191/


All Articles