At this site ....

http://www.laszlosystems.com/lps-3.1/docs/reference/

it reads ..

"OpenLaszlo implements a subset of the whatwg drawing APIs. For a discussion of where OpenLaszlo differs from the full whatwg specification, please see the LZX Reference Manual."


LzDrawView is based on whatwg.org

http://www.whatwg.org/specs/web-apps/current-work/


quadraticCurveTo(cpx, cpy, x, y) is supported in openlaszlo

but are there plans to support the other methods in Path specification?

in particular,

  • bezierCurveTo(cp1x, cp1y, cp2x, cp2y, x, y)
  • arcTo(x1, y1, x2, y2, radius)

_______________

If not, can a "cubic bezier to quadratic bezier conversion class" be implemented in openlaszlo?

i.e. to convert cubic bezier  to quadratic bezier

as in  CubicCurve.as which is included with AnimationPackage ....

http://www.alex-uhlmann.de/flash/animationpackage/

also see Path.as  AnimationPackage ..

_______________

Reason for interest .. I am trying to import third party SVG vector drawings which are in cubic bezier and quadratic bezier syntax ... then convert this syntax to LzDrawView syntax.

_______________

DL
_______________________________________________
Laszlo-dev mailing list
[email protected]
http://www.openlaszlo.org/mailman/listinfo/laszlo-dev

Reply via email to