Re: How to make a square topped, round rect bottomed graphic?

2010-12-01 Thread Jan Schenkel
--- On Wed, 12/1/10, David Bovill wrote: > What is the most efficient way to > make this? I thought I could have a > polygon graphic which was opaque but not joined up and use > that to add > square corners to a roundrect graphic background - but it > seems that every > time I make it opaque it au

Re: How to make a square topped, round rect bottomed graphic?

2010-12-01 Thread Richmond
On 12/01/2010 05:01 PM, David Bovill wrote: What is the most efficient way to make this? I thought I could have a polygon graphic which was opaque but not joined up and use that to add square corners to a roundrect graphic background - but it seems that every time I make it opaque it automaticall

Re: How to make a square topped, round rect bottomed graphic?

2010-12-01 Thread David Bovill
Ah - that sounds good. And I guess if the two groups have the same rect and the same gradient everything lines up nicely! On 1 December 2010 15:17, Jan Schenkel wrote: > --- On Wed, 12/1/10, David Bovill wrote: > > What is the most efficient way to > > make this? I thought I could have a > > po

Re: How to make a square topped, round rect bottomed graphic?

2010-12-01 Thread David Bovill
Have you seen these (I've not played with them myself): the joinStyle of graphic ... > > Specifies how corners between lines are drawn. It can be one of the > following: > - bevel: a straight line is drawn between the outer edges of the > adjoining lines > -

Re: How to make a square topped, round rect bottomed graphic?

2010-12-01 Thread Björnke von Gierke
yes but those only work for a single graphic at a time, not for every corner individually. how about using a freehand polygon, and calculating the rounded corners yourself? might be worth the effort, if you desperately need it to be a single object. On 1 Dec 2010, at 16:55, David Bovill wrote:

Re: How to make a square topped, round rect bottomed graphic?

2010-12-01 Thread Richmond
On 12/01/2010 05:55 PM, David Bovill wrote: Have you seen these (I've not played with them myself): the joinStyle of graphic ... Specifies how corners between lines are drawn. It can be one of the following: - bevel: a straight line is drawn between the oute

Re: How to make a square topped, round rect bottomed graphic?

2010-12-01 Thread Jan Schenkel
--- On Wed, 12/1/10, David Bovill wrote: > Ah - that sounds good. And I guess if > the two groups have the same rect and > the same gradient everything lines up nicely! > Erm, the graphics would have the same rect, but the 'inner' groups are each half of the full height of the 'outer' custom co

Re: How to make a square topped, round rect bottomed graphic?

2010-12-01 Thread Harald Müller
If you want to be flexible, you could place a circle with the desired radius at each corner (or a square if wanted) and then draw a polygon from the relevant points (from the middle top of the circle at the topleft to the middle top of circle at topright and so on). The resulting group of elemen

Re: How to make a square topped, round rect bottomed graphic?

2010-12-01 Thread Bob Sneidar
This is rhetorical, but I wonder if the issue is that the engine cannot render such an object, or that there are no tools capable of making one natively. If it is only the latter, then maybe a good future enhancement would be the ability to import eps vector objects. That way you could make what

Re: How to make a square topped, round rect bottomed graphic?

2010-12-01 Thread David Bovill
? I'm just starting on doing this - but it seems to me that you need to scroll one of the groups. Maybe that's because I am creating it so the rounded corners can be at the to top or bottom. So clipping the square rect to half way, moving it down, and scrolling it down would show only the bottom ha

Re: How to make a square topped, round rect bottomed graphic?

2010-12-01 Thread Roger Guay
Howdy, One of the things I remember most fondly about SuperCard was its incredible shrinker/expander polygon tool. With this tool it was a snap to surround a group of objects, for example, and the tool would then automatically generate a new polygon that fit tightly around the original group. A

Re: How to make a square topped, round rect bottomed graphic?

2010-12-01 Thread Bob Sneidar
I think we are up against one of the limitations of LiveCode, which is complex graphics. I am not one who would lobby for support of complex graphics, because I think the limited resources of the LiveCode development team can be better put to use elsewhere. Just my humble opinion. I do think how

Re: How to make a square topped, round rect bottomed graphic?

2010-12-01 Thread David Bovill
I tend to agree with you here Bob, I'd prefer more work on media support, and native windows for revBrowser and externals than better native graphics support. However for reasons that I believe are to do with improving the underlying architecture in general, and for supporting better games and othe

Re: How to make a square topped, round rect bottomed graphic?

2010-12-01 Thread Scott Rossi
Recently, Bob Sneidar wrote: > I think we are up against one of the limitations of LiveCode, which is complex > graphics. I am not one who would lobby for support of complex graphics, > because I think the limited resources of the LiveCode development team can be > better put to use elsewhere. Jus

Re: How to make a square topped, round rect bottomed graphic?

2010-12-02 Thread Jan Schenkel
--- On Wed, 12/1/10, David Bovill wrote: > ? I'm just starting on doing this - > but it seems to me that you need to > scroll one of the groups. Maybe that's because I am > creating it so the > rounded corners can be at the to top or bottom. So clipping > the square rect > to half way, moving it d

Re: How to make a square topped, round rect bottomed graphic?

2010-12-02 Thread David Bovill
Thanks Jan - intrigued, got mine working using the scrolling technique. Can't do individual corners that are rounded only individual corners that are square at the moment - I'll take a look at your technique and borrow the best bits :) NB - I'll demo this on the weekend together with other Datagri

Re: How to make a square topped, round rect bottomed graphic?

2010-12-02 Thread Jan Schenkel
--- On Thu, 12/2/10, David Bovill wrote: > Thanks Jan - intrigued, got mine > working using the scrolling technique. > Can't do individual corners that are rounded only > individual corners that > are square at the moment - I'll take a look at your > technique and borrow the > best bits :) > > NB

Re: How to make a square topped, round rect bottomed graphic?

2010-12-02 Thread Alejandro Tejada
Hi all, Bob Sneidar-2 wrote: > > This is rhetorical, but I wonder if the issue is that the engine cannot > render such an object, or that there are no tools capable of making one > natively. If it is only the latter, then maybe a good future enhancement > would be the ability to import eps vect

Re: How to make a square topped, round rect bottomed graphic?

2010-12-02 Thread Bob Sneidar
Awesome Andre, but I regret to say that the link is broken. I get the dreaded 404 error. Bob On Dec 2, 2010, at 9:19 AM, Alejandro Tejada wrote: > > Hi all, > > > Bob Sneidar-2 wrote: >> >> This is rhetorical, but I wonder if the issue is that the engine cannot >> render such an object, o

Re: How to make a square topped, round rect bottomed graphic?

2010-12-02 Thread Bob Sneidar
Belay my last I was able to back up the URL to the enclosing folder and found what I was looking for. The file name is different. Bob On Dec 2, 2010, at 9:19 AM, Alejandro Tejada wrote: > > Hi all, > > > Bob Sneidar-2 wrote: >> >> This is rhetorical, but I wonder if the issue is that the e

Re: How to make a square topped, round rect bottomed graphic?

2010-12-02 Thread David Bovill
Exactly. On 2 December 2010 17:19, Alejandro Tejada wrote: > But the solution that we need is to update the stack SVGL, created by > Ian Macphail, to import gradients and transparency from SVG files: > http://revonline2.runrev.com/stack/112/SVGL > Still it would be great to be able to have grou

Re: How to make a square topped, round rect bottomed graphic?

2010-12-02 Thread Alejandro Tejada
Hi Bob, Bob Sneidar-2 wrote: > > Belay my last I was able to back up the URL to the enclosing folder and > found what I was looking for. The file name is different. > Ah! Thanks for reporting this error. Glad that you found it. :-D There is another page with this file: Visit: http://capella

Re: How to make a square topped, round rect bottomed graphic?

2010-12-02 Thread Bob Sneidar
Got it thanks! I am very excited about this actually, because this will allow developers to contract out graphic designers for interface development, making LiveCode standalones truly a thing of beauty. I don't know if this uses an externally developed plugin to read the file, or if you are "rip

Re: How to make a square topped, round rect bottomed graphic?

2010-12-02 Thread Richmond
Why do I seem to remember a plugin that allows one to import SVG graphics [Richard Gaskin ???]; with that one could put together a square in something like Inkscape with right-angle tops and curved bottoms (Oh, My!) and import it into Livecode. ___ use

Re: How to make a square topped, round rect bottomed graphic?

2010-12-02 Thread Richmond
On 12/02/2010 07:19 PM, Alejandro Tejada wrote: Hi all, Bob Sneidar-2 wrote: This is rhetorical, but I wonder if the issue is that the engine cannot render such an object, or that there are no tools capable of making one natively. If it is only the latter, then maybe a good future enhancement

Re: How to make a square topped, round rect bottomed graphic?

2010-12-02 Thread stephen barncard
Jan, this is nice work. It's in my sample stacks now - works great. nice to set the properties after creation. Easy to make a 'hatchery' for these things now.. sqb On 2 December 2010 01:35, Jan Schenkel wrote: > > You don't have to worry about scrolling with lockLocation set on the inner > gro

Re: How to make a square topped, round rect bottomed graphic?

2010-12-02 Thread Richmond
On 12/02/2010 07:19 PM, Alejandro Tejada wrote: Hi all, Bob Sneidar-2 wrote: This is rhetorical, but I wonder if the issue is that the engine cannot render such an object, or that there are no tools capable of making one natively. If it is only the latter, then maybe a good future enhancement

Re: How to make a square topped, round rect bottomed graphic?

2010-12-02 Thread Mick Collins
I think I've seen all the previous replies.  If so, here's a different, more mathematical, approach that can be combined with the gradient and other techniques mentioned before: The main thing here is a function (pointsOfNorman, Norman because of the resemblance to a Norman window) that returns

Re: How to make a square topped, round rect bottomed graphic?

2010-12-02 Thread Alejandro Tejada
Hi Bob, Bob Sneidar-2 wrote: > > Got it thanks! I am very excited about this actually, because this will > allow developers to contract out graphic designers for interface > development, making LiveCode standalones truly a thing of beauty. > Yes, this is correct. Scott Rossi has show in this

Re: How to make a square topped, round rect bottomed graphic?

2010-12-02 Thread Bob Sneidar
Okay who posted Fortran on a LiveCode Use List?? Bob On Dec 2, 2010, at 1:13 PM, Mick Collins wrote: > on doTest >-- before running this test, create a polygon graphic named "NW" >put 250 into theLeft >put 250 into theTop >repeat with i = 1 to 37 > put 6*i - 5 into theWid

Re: How to make a square topped, round rect bottomed graphic?

2010-12-03 Thread Francis Nugent Dixon
Hi from Beautiful Brittany, Please don't knock Fortran. It was my first language (except English, of course) .. or maybe it was Algol . Sigh ! the Sixties are so far away ! But now I program in LiveCode. Once a programmer, always a programmer. -Francis "Nothing should ever be done f

Re: How to make a square topped, round rect bottomed graphic?

2010-12-03 Thread Bob Sneidar
For some reason, maybe because I was once a mechanic, Fortran makes me thing of a transmission that is installed forward, instead of aft where it belongs. Odd huh? Bob On Dec 3, 2010, at 9:46 AM, Francis Nugent Dixon wrote: > Hi from Beautiful Brittany, > > Please don't knock Fortran. It wa

Re: How to make a square topped, round rect bottomed graphic?

2010-12-03 Thread Peter Haworth
And let's not forget COBOL! Pete Haworth http://www.mollysrevenge.com http://www.sonicbids.com/MollysRevenge http://www.myspace.com/mollysrevengeband On Dec 3, 2010, at 9:46 AM, Francis Nugent Dixon wrote: Hi from Beautiful Brittany, Please don't knock Fortran. It was my first

RE: How to make a square topped, round rect bottomed graphic?

2010-12-03 Thread Walt Brown
That's only if you use RPN, Bob. -Original Message- From: use-livecode-boun...@lists.runrev.com [mailto:use-livecode-boun...@lists.runrev.com] On Behalf Of Bob Sneidar Sent: Friday, December 03, 2010 12:55 PM To: How to use LiveCode Subject: Re: How to make a square topped, round

Re: How to make a square topped, round rect bottomed graphic?

2010-12-04 Thread Bob Earp
t's all of this "Howdy" ? Methinks you've been spending too much time in Montana !! best, Bob... Message: 7 Date: Wed, 01 Dec 2010 11:17:45 -0800 From: Roger Guay To: use-livecode@lists.runrev.com Subject: Re: How to make a square topped, round rect bottomed graphic? M

Re: How to make a square topped, round rect bottomed graphic?

2010-12-04 Thread Richard Gaskin
Bob Earp wrote: Wasn't this the Trace tool in SC ? You were always impressed with that ;-) Seeing it was in SC, I would have thought somebody that still has SC and is a lot brighter than the two of us put together, could "extract" and clone the appropriate script. If memory serves that was i

Re: How to make a square topped, round rect bottomed graphic?

2010-12-04 Thread J. Landman Gay
On 12/4/10 12:10 PM, Chipp Walters wrote: the original SuperPaint developers, including Jonathan Gay Whoa, there's another one? We're few enough that we keep track. Cool. -- Jacqueline Landman Gay | jac...@hyperactivesw.com HyperActive Software | http://www.hyperactiv

Re: How to make a square topped, round rect bottomed graphic?

2010-12-04 Thread Roger Guay
Bob Earp wrote: > Hey Roger, > Wasn't this the Trace tool in SC ? You were always impressed with > that ;-) > > Seeing it was in SC, I would have thought somebody that still has SC > and is a lot brighter than the two of us put together, could "extract" > and clone the appropriate script.

Re: How to make a square topped, round rect bottomed graphic?

2010-12-04 Thread J. Landman Gay
On 12/4/10 6:03 PM, Roger Guay wrote: Heck, I could do it myself if I could figure out how to get the color of a pixel by location programmatically. There's a really ugly hack for that. It's fast though. put the screenMouseLoc into oldX,oldY set the screenMouseLoc to x,y get the mouseColor

Re: How to make a square topped, round rect bottomed graphic?

2010-12-04 Thread Roger Guay
From: "J. Landman Gay" > To: How to use LiveCode > Subject: Re: How to make a square topped, round rect bottomed graphic? > Message-ID: <4cfaf40f.3080...@hyperactivesw.com> > Content-Type: text/plain; charset=ISO-8859-1; format=flowed > > On 12/4/10 6:03 P

Re: How to make a square topped, round rect bottomed graphic?

2010-12-06 Thread Bob Sneidar
Ooohhh... Dark Castle. I can attribute much of my current state of affairs, that I am not a filthy rich genius, to that insidious game! That and the fact that I am not a genius to start with. Details details... Bob On Dec 4, 2010, at 8:36 AM, Richard Gaskin wrote: > There was a fair bit of co

Re: How to make a square topped, round rect bottomed graphic?

2010-12-06 Thread Bob Sneidar
Also because for about half the year, if you are brave enough to go outside, you won't be able to see further than 25 to 30 feet in front of you on account of the blizzard. ;-) Bob On Dec 4, 2010, at 4:03 PM, Roger Guay wrote: > There are no verbal salutations in Montana since one doesn't enc