nanjizal / triangleGML-samples

triangleGML samples

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

triangleGML-samples

A samples folder shows XML shapes rendered as pixels in CPU software coded with Haxe language.

Generated images

Samples that currently work ✓ and samples that need debugging ✗, or are not wired up ⚠.

  • Arrow
  • Arc
  • Curve
  • Ellipse
  • [Gradient] ⚠ template sample needed
  • Grid
  • [GlowLine] ⚠ template sample and pixelimageXY required.
  • Line
  • NineSlice ⚠ Need to integrate reading format extract32 png with pixelimagXY and reading base 64 embed string.
  • Path ⚠ Need to check over path renderer.
  • Pattern ⚠ Lightly to be a mix of pattern shapes.
  • Picture ⚠ Need to integrate reading format extract32 png with pixelimagXY and reading base 64 embed string.
  • Poly
  • Quad
  • Quint
  • Radial
  • Rectangle
  • Rotate
  • Skew
  • SoftEdge
  • Star ⚠ no implementation in pixelimageXY! yet..
  • Text ⚠ no implementation in pixelimageXY! yet..
  • Thick
  • Triangle
  • Ve

Currently the examples are setup for the haxe c++ target to create png's.
Initially pixelImageXY was developed in Haxe Javascript target, rendered on a Canvas.
In theory pixelimageXY can be used on any Haxe target/toolkit although transfer of pixels may need implementing in some cases.
triangleGML is just a generic abstract class shell. The generics DRAWTOOL and IMAGETOOL can be implemented by extending the abstact classes with underscore ending names. The TriangleXML_ class needs extending with a get getTriangleGML implementation using a switch statement that returning a shape class from an XML node name. So for instance you can use TriangleGML as a starting point for Canvas implementation.

Dependancies

CURRENTLY The relevant dev folders for pixelimageXY and triangleGML have not been commited on github, but need to test render of readme.

About

triangleGML samples

License:MIT License


Languages

Language:Haxe 100.0%