[Openroad-users] Clickpoint problems with SegmentShape

Kenneth.H.Olsson at tietoenator.com Kenneth.H.Olsson at tietoenator.com
Tue Oct 23 18:51:01 EST 2007


Hi all,

 

1. It must be the "Zeitgeist". I understand a number of guys have been
exploring pie charts in OpenROAD. Not long ago making a pie chart by
drawing rather many SegmentShapes was impractical. It is the power of
today's PCs that makes it possible! 

 

2. I used pie charts available in Java but not in OpenROAD to demo the
new Java Proxy to OpenROAD Server in my DPP17SN session at CA World 2005
in Las Vegas:

 

    In OpenROAD there is:

    o   No Pie System Class

    o   No Pie Data type

    o   No Pie Reporter feature

    o   So you can't draw pie charts - Let's use Java

 

    But at the end I served the audience some OpenROAD demo pies:

    o   So you can - Let's use OpenROAD

 

3. An alternative to creating the pie sectors out of rather many lines
or SegmentShapes would be to use the undocumented System Class of
ArcShape. Creating an ArcShape setting the attributes StartAngle and
EndAngle would eliminate a lot of lines, but the BgColor does not seem
to work unless the start and end angle describes a complete ellipse.

 

4. A PolyLine system class sounds very interesting and would be very
useful in the pie chart business and elsewhere. 

 

5. I understand the click problems. They should be corrected.
Trigonometry is fun. 

 

6. Now suppose the pie chart is transformed into a bitmap image. That
would make it easier to handle and use in many other situations. So I
implemented an extension to the well known orprn32.dll, which prints
your OR frame or the part defined by the WidgetId on the default
printer:

 

    The new ORBitmap32.dll contains:

    o   ORPrintScreen32          - (Unchanged) screen printer

    o   ORBitmapScreen32         - Makes a bitmap file

    o   ORRgbScreen32            - Gives you the RGB of any pixel

 

7. I also made an application: ORBitmap32. I think it is self-explaining
and self-service-oriented. So it must be a SOA application?

 

'Everything is possible with OpenROAD'

 

Kenneth Olsson

TietoEnator Corporation

Digital Innovations

Phone      +46 (0) 10 481 30 15

Mobile     +46 (0) 70 365 46 38

Kenneth.H.Olsson at TietoEnator.com
<mailto:Kenneth.H.Olsson at TietoEnator.com> 

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.peerlessit.com/pipermail/openroad-users/attachments/20071023/876ca63b/attachment.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ORBitmap32.zip
Type: application/x-zip-compressed
Size: 64204 bytes
Desc: ORBitmap32.zip
Url : http://www.peerlessit.com/pipermail/openroad-users/attachments/20071023/876ca63b/attachment.bin 


More information about the Openroad-users mailing list