# Real Software Forums

The forum for Real Studio and other Real Software products.
[ REAL Software Website | Board Index ]
 It is currently Thu Aug 06, 2020 2:09 am

 All times are UTC - 5 hours

 Page 1 of 1 [ 2 posts ]
 Print view Previous topic | Next topic
Author Message
 Post subject: Strange FigureShape Problem [SOLVED]Posted: Sat May 25, 2013 8:02 pm

Joined: Sun Aug 05, 2007 10:46 am
Posts: 4931
Location: San Diego, CA
I am attempting to draw a shape the is convex on one end and concave on the other.
I am building it out of CURVESHAPES stored into a FIGURESHAPE

the coordinates (and the order applied) is as follows, in order to supposedly create a continous border in a counter-clockwise direction. Note : I have a very specific need the it create a single closed shape.... this app has over 300 shapes defined in a similar manner, and this is the ONLY one that doesn't draw correctly ....

L is a Order Curve Shape with end points at X1 and X2
A is a Order-1 Curve Shape with end points at X1 and X2 and Control Point at CX

L X1=16,60 X2=92,60
A X1=92,60 X2=76,30 cx=76,60
A X1=76,30 X2=92, 0 cx=76,0
L X1=92, 0 X2=16, 0
A X1=16, 0 X2= 0,30 cx= 0, 0
A X1= 0,30 X2=16,60 cx= 0,60

What I am getting is the TOP shape (with huge horizontal outliers)
What I WANT is the bottom Shape

NOTE : I just discovered something (that SHOULD not matter)...... If I draw the shape with SCALE=1 it comes out fine
If I increase the scale above 1... (actually is fine up to 1.49.... at 1.50 and above it freaks out) the horizontal lines appear..... and ONLY on this shape (the other 200+ shapes work perfect)

The only thing different between this shape and any other.. this is the only one with a Convex and Concave Arc... although there are others that create ovals using 4 arcs like this (yes... I have a reason for needing arcs and not ovalshapes in some cases).

_________________
Dave Sisemore
iMac I7[2012], OSX Mountain Lion 10.8.3 RB2012r2.1
Note : I am not interested in any solutions that involve custom Plug-ins of any kind

Top

 Post subject: Re: Strange FigureShape Problem [SOLVED]Posted: Sun May 26, 2013 8:48 am

Joined: Sun Aug 05, 2007 10:46 am
Posts: 4931
Location: San Diego, CA
Workaround.... fudged the Y values of the ARC end points by 0.1 ... and while not mathematically correct it does draw the shape without the artifacts.... and the slight distortion is not visible until you get to very large scale values (beyond what would be selected in normal use)

_________________
Dave Sisemore
iMac I7[2012], OSX Mountain Lion 10.8.3 RB2012r2.1
Note : I am not interested in any solutions that involve custom Plug-ins of any kind

Top

 Display posts from previous: All posts1 day7 days2 weeks1 month3 months6 months1 year Sort by AuthorPost timeSubject AscendingDescending
 Page 1 of 1 [ 2 posts ]

 All times are UTC - 5 hours

 You cannot post new topics in this forumYou cannot reply to topics in this forumYou cannot edit your posts in this forumYou cannot delete your posts in this forum

Search for:
 Jump to:  Select a forum ------------------ General    General    Getting Started    Networking    Databases    Visual Basic to REAL Studio Conversion    Games    Plugins    Tips    Web Control SDK Platform Specific    Windows    Macintosh    Linux    Web Other Topics    Announcements    Off-Topic    Third Party Add-ons