[Openroad-users] Clickpoint problems with SegmentShape
Paul White
pwhite at peerlessit.com.au
Wed Oct 24 09:45:20 EST 2007
Several filters have blocked Kenneth's post despite adding the .txt
suffix zip and the enclosed dll
Here is the article without the attachment. If you did not receive the
attachment previously it can be made available for download from an ftp
site.
regards
Paul White
________________________________
From: Kenneth.H.Olsson at tietoenator.com
[mailto:Kenneth.H.Olsson at tietoenator.com]
Sent: Tuesday, 23 October 2007 7:05 PM
To: openroad-users at peerlessit.com
Subject: Re: [Openroad-users] Clickpoint problems with
SegmentShape
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/20071024/19a4ee71/attachment.html
More information about the Openroad-users
mailing list