Open prepare opened 6 years ago
on PixelFarm,
we TRY to give a high-quality graphics rendering.
we have both software (Agg) and hardware rendering backend, based on GLES2 => then it should be rendered on any supported platforms.
pic 1: multiple GLES2 windows
we also have a strong text-rendering backend,( pure C#).
pic 2: vertical-autofit, and horizontal fit alignment
pic 3: all text are arranged and rendered with our Typography(https://github.com/LayoutFarm/Typography)
Zoom into the text, yes our lib supports LCD-effect subpixel-rendering (both software and hardware).
pic 4: B with zoom, show lcd-effect subpixel rendering
pic 5: draw lines with lcd-effect subpixel rendering
This is our Agg (pure software, C#) result. (Hardware version soon, see more at=>https://github.com/PaintLab/PixelFarm/issues/20)
pic 6: PixelFarm's Agg (1) vs Chrome (2)
pic 7: Agg's result, bitmap zoom-in to see fine details
I still want to render an (nearly) ACID1 page from our lib!
pic 8: HtmlRenderer on GLES2 surface, text are renderered with the Typography
also, please note the text selection on the Html Surface.
(If you want to look for related repos ...
HtmlRender => https://github.com/LayoutFarm/HtmlRenderer,
Typography => https://github.com/LayoutFarm/Typography)
All code are selected from permissive libs.
No any copyleft code here.
All code are in development.
All code are mess!.
I try to arrange them to fit with some
well-known frameworks
eg. Html's canvas or Windows System.Drawing
so at this point,
I think if we built a System.Drawing based on our lib => It may possible.
:)
Not hurry, for study and just a fun task :)
see : comments in https://github.com/dotnet/corefx/issues/20325 esp this https://github.com/dotnet/corefx/issues/20325#issuecomment-329292891
then
use some C# => C/C++ tool to convert it to native C/C++ code.