[Laszlo-dev] bitmap transformation in LzSprite causing clipping?

Henry Minsky henry.minsky at gmail.com
Sat Aug 23 09:57:16 PDT 2008


Try this one
<canvas>
    <resource name="colResize" src="lz/resources/grid/grid_cursor.swf"/>
    <view  resource="colResize" id="foobar" x="100" y="100" width="100"
height="100" bgcolor="#cccccc"/>
</canvas>




On Sat, Aug 23, 2008 at 12:41 PM, Max Carlson <max at laszlosystems.com> wrote:

> I thought I was making bitmaps in an oversized area around the origin to
> prevent this.  Do you have a test case?
>
> Henry Minsky wrote:
>
>> Is the clipping of the "column resizing" cursor resource being caused by
>> that bitmap copying
>> code in LzSprite? It seems like it would need to take account of image
>> data which has
>> bits which extend to negative x and y, but the LzSprite.copyBitmap()
>> routine is going to draw into a rectangle which only  extends from 0,0 to
>> positive x and y.
>> --
>> Henry Minsky
>> Software Architect
>> hminsky at laszlosystems.com <mailto:hminsky at laszlosystems.com>
>>
>>
>>
> --
> Regards,
> Max Carlson
> OpenLaszlo.org
>



-- 
Henry Minsky
Software Architect
hminsky at laszlosystems.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.openlaszlo.org/pipermail/laszlo-dev/attachments/20080823/289e7aa4/attachment.html


More information about the Laszlo-dev mailing list