Roundrect
Friday, December 23rd, 2005The nightly build contains a roundrect library. This makes adding a roundrect to your application as simple as this:
Here's a sampler of roundrect features:
And here's the program that draws it:
The nightly build contains a roundrect library. This makes adding a roundrect to your application as simple as this:
Here's a sampler of roundrect features:
And here's the program that draws it:
The Laszlo compiler does simple partial evaluation of constants in `if` statements. This was seen as just as good as `#ifdef`, without having to invent a new syntax or have a pre-processor.
Sarah has a bug where she knows that:
typeof(foo) == 'undefined'
is `true`, but when she tested:
foo == undefined
it is `false`. How can this be?
OpenLaszlo provides capability to do two-dimensional graphics. You use procedural code in a drawview element to draw lines and fill in shapes. In this tip, we'll look at some of the key parts of the API and show some interesting effects that you can get with a few lines of code.
With OpenLaszlo release 3.0 you can deploy a wide range of Laszlo applications without having the OpenLaszlo Server installed on the deployment machine. You simply use the OpenLaszlo Server to compile your source to .swf format, thereafter the applications operate without communicating with the server.