node-five -
BSD
Windows
C/C++
软件简介
Node-Five 为 Node.js 带来 HTML5 APIs,主要提供底层的图形和音频支持,高层的包括 HTML/CSS 布局引擎。基于
Node-Qt 编写。
示例代码:
var five = require('path-to-node-five-dir'),
window = new five.Window(300, 150),
canvas = new five.Canvas(window),
ctx = canvas.getContext('2d');
ctx.fillStyle = 'black';
ctx.fillText('hello node, hello qt', 20, 20);