Flat spots on edge of rounded graphic

Got a LiveCode personal license? Are you a beginner, hobbyist or educator that's new to LiveCode? This forum is the place to go for help getting started. Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller

Post Reply
doobox
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 284
Joined: Tue May 24, 2011 11:47 pm

Flat spots on edge of rounded graphic

Post by doobox » Sun Jan 12, 2014 3:43 pm

Hi there,

I have a rounded rectangle graphic 500x500
It has a background pattern (an image 500x500
If i set an outline of 1 everything is fine and i see perfection.

But i don't really want a border, but without a border i see flat spots on each edge of the rounded graphic (see image)

Image

The perfect circle is actually full & those spots appear black.
I tried with a larger image just in case i was a pixel or 2 out, but thats not the issue.
Docs say they backgroundpattern will be drawn inside the borders, but as i have no border i would expect this to be fine.

Is there anything i could be missing, like, is there actually still a border there, even though i have set the linesize to 0 in the property inspector (there does not appear to be an explicit border setting for the graphic).
Kind Regards
Gary

https://www.doobox.co.uk

bn
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 4003
Joined: Sun Jan 07, 2007 9:12 pm
Location: Bochum, Germany

Re: Flat spots on edge of rounded graphic

Post by bn » Sun Jan 12, 2014 4:28 pm

Hi Gary,

is this in LC 5.5? That is where I can see it. In LC 6.5.1 it is round.

Could you upload a small stack which shows what you describe? Just a smaller monochrome circle set as background pattern of a rounded rectangle graphic?
Then I could try to replicate this and play around with it.


Kind regards
Bernd

doobox
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 284
Joined: Tue May 24, 2011 11:47 pm

Re: Flat spots on edge of rounded graphic

Post by doobox » Sun Jan 12, 2014 4:46 pm

Thanks for looking at it Bernd.

I back peddled a little, and replaced the graphic that gets the background pattern applied.
It now works as expected, and i have no idea why. I simply deleted the graphic, and created a new one with the same name.
I did not change any more of the code associated with the issue.

It is 6.5.1 i am using.

If i see the issue again i will try and catch it in a sample stack.
Kind Regards
Gary

https://www.doobox.co.uk

Post Reply

Return to “Getting Started with LiveCode - Complete Beginners”