具有抗锯齿和硬件加速的良好2D API? [英] Good 2D API with anti-aliasing and HW acceleration ?

查看:150
本文介绍了具有抗锯齿和硬件加速的良好2D API?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,

我想从GDI转移到不同的东西,看起来更漂亮。

我需要对文本和图形进行抗锯齿处理需要它高性能,因此硬件加速将受到欢迎。



它不需要是跨平台的。



我测试了Direct2D,但是只绘制我使用GDI绘制的UI的一部分速度较慢,而且我的FPS较少。



OpenGL也没关系,但是那里的文字画面很难看:D < br $>


SFML也不错,但由于某些原因,绘制字体低于15像素时出现问题,许多文字都是12-14像素。



我见过AGG,但它不是硬件加速的,虽然它仍然比GDI +更快,功能更多,但是从v2.5起停止了



我读过Cairo Graphics还行,但性能很差。



那么有什么建议吗?

Hi guys,
I want to move from GDI to something different, looking a bit more beautiful.
I need anti-aliasing both for text and graphics and also need it to be high performing, so hardware accelerated would be welcomed.

It doesn't need to be cross platform.

I have tested Direct2D, but drawing just part of the UI I draw with GDI is slower and I have less FPS with it.

OpenGL is also OK, but the text drawing there is just ugly :D

SFML is also good, but for some reason there is a problem with drawing fonts below 15 px and many of the text is 12-14 px.

I have seen AGG, but it is not hardware accelerated, although is it still faster then GDI+ and with more functions, but is discontinued since v2.5

I read Cairo Graphics is OK, but the performance is awful.

So any suggestions?

推荐答案

这篇关于具有抗锯齿和硬件加速的良好2D API?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆