Change 20100506-maxcarlson-S by [email protected] on 2010-05-06 
10:24:45 PDT
    in /Users/maxcarlson/openlaszlo/trunk-clean
    for http://svn.openlaszlo.org/openlaszlo/trunk

Summary: Add fillText(), strokeText() and update drawImage() for DHTML drawview

Bugs Fixed: LPP-8974 -  Add text API support to drawview

Technical Reviewer: ptw
QA Reviewer: hminsky

Release Notes: Drawview now supports strokeText() and fillText() in DHTML.  In 
addition, passing null for the image argument to drawImage() will cause the 
current canvas to be copied when drawing the bitmap.

Details: Update drawImage() to use the current canvas state when image args is 
null and deal with unspecified args better.  Add fillText() and strokeText() 
implementations and a shared method to copy the drawview font settings to the 
canvas.  Update stub warning methods to use $runtime.  Add stub warning methods 
for Flash fillText() and strokeText().  Fix swf drawImage() to respect new arg 
signature and current applied transformations.

Tests: See testcase at LPP-8974.  Text rendering is not supported yet in aS3 
and the testcase will warn, but copying/mirrorint the canvas with 
transformations is with this change - see the mirror image of the triangle.

Files:
M       lps/components/extensions/drawview.lzx

Changeset: 
http://svn.openlaszlo.org/openlaszlo/patches/20100506-maxcarlson-S.tar

Reply via email to