DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=24541>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=24541

[PATCH] JellySWT: support for creating GC objects

           Summary: [PATCH] JellySWT: support for creating GC objects
           Product: Commons
           Version: unspecified
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Enhancement
          Priority: Other
         Component: Jelly
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


Hi There,

Attached is a patch for creating GC objects from within Jelly SWT script.

This is useful if you want to work with the graphics context on Drawable objects
like Images, Controls, etc, from within script.

To use, specify the name of the Drawable as an attribute, eg:

...
<image src="..." var="myimage"/>
<gc var="mygc" drawable="${myimage}"/>

<!-- and then you can call operations on ${mygc} -->
...

I found this useful simplifying the writing of text over image labels for
example. Perhaps it's also useful for others.

Cheers,

Marcus

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to