X Tutup
Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 

README.md

PixelFarm

Hardware and Software 2D Rendering Library

  1. Hardware Rendering Technology:

    1.1 OpenGL ES 2.0 + AA Shader: This based on OpenGL ES2 and Its Shading Langauge (GLSL).

    gles2_aa_shader

  2. Software Rendering Technology:

    2.1 Agg-Sharp

    Agg-Sharp is the C# port of Anti-Grain Geometry (AGG) version (version 2.4, BSD license)

    This provides 'classic' (pure) software based rendering technology.

    Big thanks go to to https://github.com/MatterHackers/agg-sharp

    agg_software


    2.3 GDI+ , System.Drawing: as usual :)

    gdiplus

  3. PixelFarm's Typography : Agg's Subpixel Rendering

    lcd_05


    lcd_07


    lcd_08


    lcd_09

    typography_thanamas


autofit_hfit01


The HtmlRenderer example!

htmlbox_gles_with_selection pic 1: HtmlRenderer on GLES2 surface, text are renderered with the Typography

also, please note the text selection on the Html Surface.

(HtmlRender => https://github.com/LayoutFarm/HtmlRenderer,

Typography => https://github.com/LayoutFarm/Typography)


Ghost script's Tiger.svg

(https://commons.wikimedia.org/wiki/File:Ghostscript_Tiger.svg)

tiger

pic 1: PixelFarm's Agg (1) vs Chrome (2)

tiger2

pic 2: Agg's result, bitmap zoom-in to see fine details


HOW TO BUILD

see #37


License:

The project is based on multiple open-sourced projects (listed below) all using permissive licenses.

A license for a whole project is MIT.

but if you use some part of the code please check each source file's header for the licensing info.

Geometry

BSD, 2002-2005, Maxim Shemanarev, http://www.antigrain.com , Anti-Grain Geometry - Version 2.4,

BSD, 2007-2014, Lars Brubaker, agg-sharp, https://github.com/MatterHackers/agg-sharp

ZLIB, 2015, burningmine, CurveUtils. https://github.com/burningmime/curves

Boost, 2010-2014, Angus Johnson, Clipper.

BSD, 2009-2010, Poly2Tri Contributors, https://github.com/PaintLab/poly2tri-cs

SGI, 2000, Eric Veach, Tesselate.

MS-PL, 2018, SVG.NET https://github.com/vvvv/SVG

Image Processing

BSD, 2002-2005, Maxim Shemanarev, from http://www.antigrain.com , Anti-Grain Geometry - Version 2.4,

MIT, 2009-2015, Bill Reiss, Rene Schulte and WriteableBitmapEx Contributors, https://github.com/teichgraf/WriteableBitmapEx

MIT, 2008, dotPDN LLC, Rick Brewster, Chris Crosetto, Tom Jackson, Michael Kelsey, Brandon Ortiz, Craig Taylor, Chris Trevino, and Luke Walker., from OpenPDN v 3.36 (Paint.NET), https://github.com/rivy/OpenPDN

Apache2, 2012, Hernán J. González, pngcs, https://github.com/leonbloy/pngcs

Apache2, 2010, Sebastian Stehle, .NET Image Tools Development Group. , https://imagetools.codeplex.com/

Font

Apache2, 2016-2017, WinterDev, Samuel Carlsson, Sam Hocevar and others, https://github.com/LayoutFarm/Typography

Apache2, 2014-2016, Samuel Carlsson, https://github.com/vidstige/NRasterizer

MIT, 2015, Michael Popoloski, https://github.com/MikePopoloski/SharpFont

The FreeType Project LICENSE (3-clauses BSD style),2003-2016, David Turner, Robert Wilhelm, and Werner Lemberg and others, from https://www.freetype.org/

MIT, 2016, Viktor Chlumsky, https://github.com/Chlumsky/msdfgen

Platforms

MIT, 2015-2015, Xamarin, Inc., https://github.com/mono/SkiaSharp

MIT, 2006-2009, Stefanos Apostolopoulos and other Open Tool Kit Contributors, https://github.com/opentk/opentk

MIT, 2013, Antonie Blom, https://github.com/andykorth/Pencil.Gaming

MIT, 2015, Mauricio David, FileDB, https://github.com/mbdavid/FileDB

Demo

MIT, 2017, Wiesław Šoltés, ColorBlender, https://github.com/wieslawsoltes/ColorBlender

BSD, 2015, Darren David darren-code@lookorfeel.com, https://github.com/nobutaka/EasingCurvePresets

X Tutup