Round Corners
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
-
- Livecode Opensource Backer
- Posts: 10090
- Joined: Fri Feb 19, 2010 10:17 am
Round Corners
There's been a lot of "Hoo Haa" over on the Use-List:
The stack is here:
https://www.dropbox.com/s/ce57yiy7xj4k9 ... e.zip?dl=0
The stack is here:
https://www.dropbox.com/s/ce57yiy7xj4k9 ... e.zip?dl=0
-
- Livecode Opensource Backer
- Posts: 10090
- Joined: Fri Feb 19, 2010 10:17 am
Re: Round Corners
If one really wants to be daft this can be extended to ridiculous lengths:
-
- Livecode Opensource Backer
- Posts: 10090
- Joined: Fri Feb 19, 2010 10:17 am
Re: Round Corners
Here's a "moronic start" to a stack for importing images and rounding their corners,
then exporting the result:
In NO way should this be considered "a done deal":
1. Suggest changes / improvements to me,
or
2. Change / improve the thing yourself and upload it here.
then exporting the result:
In NO way should this be considered "a done deal":
1. Suggest changes / improvements to me,
or
2. Change / improve the thing yourself and upload it here.
Last edited by richmond62 on Mon Apr 04, 2016 8:05 am, edited 1 time in total.
Re: Round Corners
Hi Richmond,
Where is the stack "Floater" named in the script?
Where is the stack "Floater" named in the script?
-
- Livecode Opensource Backer
- Posts: 10090
- Joined: Fri Feb 19, 2010 10:17 am
Re: Round Corners
Ha, Ha, Ha: "Floater" is a stack in my Devawriter Pro stacks: I swiped some of the code from there.
Well spotted, that man!
Here's an "adjusted" version.
Now removed as superseded by stack below.
Well spotted, that man!
Here's an "adjusted" version.
Now removed as superseded by stack below.
Last edited by richmond62 on Mon Apr 04, 2016 4:19 pm, edited 1 time in total.
-
- Livecode Opensource Backer
- Posts: 10090
- Joined: Fri Feb 19, 2010 10:17 am
Re: Round Corners
Here's the next step; using absolutely the most bog-basic code you can imagine
(all you purists can check out the button script in "Export Image" and get upset)
will export the image with rounded corners AND ink effects.
(all you purists can check out the button script in "Export Image" and get upset)
will export the image with rounded corners AND ink effects.
- Attachments
-
- CHOPPER.livecode.zip
- Here's the stack.
- (45.32 KiB) Downloaded 356 times