Sciter v.2 SDK preview, build 2.0.0.9

Sciter v.2 SDK preview is available here:terrainformatica.com/sciter/sciter2-tech-preview.zip Graphics The whole Graphics subsystem was redesigned to use Direct2D backend. And so drawing principles were changed. Sciter v.1 uses <canvas> HTML5 alike model that implies bitmap buffer to be created for the element. Such bitmap model contradicts CSS transforms – when you have something rendered on the…

Sciter v.2, immediate mode drawing

While porting Graphics functionality using Direct2D primitives I’ve tried to implement immediate mode drawing in Sciter. Problem: as we know HTML5 mandates <canvas> to use off-screen bitmap buffer for drawings. Such model is not transform friendly (scale, rotation) as it involves bitmap transformation. So even when Graphics primitives (line,rectangle,etc.) are vector-ish the result is not…