This might be useful for some (New AGAIN)
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
This might be useful for some (New AGAIN)
Hi there
This little stack demonstrate resizing a rectangle in any direction
Its also an exersice in calculating pendicular lines
Michael
This little stack demonstrate resizing a rectangle in any direction
Its also an exersice in calculating pendicular lines
Michael
- Attachments
-
- Resize a rect in any direction.zip
- (1.6 KiB) Downloaded 506 times
Last edited by micmac on Mon Jan 20, 2014 3:44 pm, edited 4 times in total.
Re: This might be useful for some
Very nice job.
Congratulations.
Renaud
Congratulations.
Renaud
-
- VIP Livecode Opensource Backer
- Posts: 4015
- Joined: Sun Jan 07, 2007 9:12 pm
- Location: Bochum, Germany
Re: This might be useful for some
Hi Michael,
thanks for sharing this. Very useful.
You might want to add
right before
to avoid division by zero.
Kind regards
Bernd
thanks for sharing this. Very useful.
You might want to add
Code: Select all
if Læng = 0 then exit mouseMove
Code: Select all
put T/Læng into Skala
Kind regards
Bernd
-
- VIP Livecode Opensource Backer
- Posts: 2718
- Joined: Sat Dec 22, 2007 5:35 pm
- Location: Genève
- Contact:
Re: This might be useful for some
Hi Michael,
Nice. I played with it and i met the error about "Læng = 0"
but Bernd has been faster than me (salut Bernd)
I suggest a simple move constraint, something like that:
add just a line
Best regards
Jean-Marc
Nice. I played with it and i met the error about "Læng = 0"
but Bernd has been faster than me (salut Bernd)
I suggest a simple move constraint, something like that:
add just a line
Code: Select all
on mouseMove x,y
if x,y is within the rect of this cd then
if gDragging is true then
-- your script
end if
end if
end mouseMove
Jean-Marc
https://alternatic.ch
Re: This might be useful for some
Thanks to Renaud, Bernd and Jean-Marc
You are right about the corrections.
The thread is not so long – folks can easily read it and make the corrections
Therefore I leave the first upload as it is.
Thanks
Michael
You are right about the corrections.
The thread is not so long – folks can easily read it and make the corrections
Therefore I leave the first upload as it is.
Thanks
Michael
Re: This might be useful for some
Hi there
Here is a little page turning drill. Much more could be done.
You are welcome to improve on it.
Mic
EDIT
a new doc, doc
Here is a little page turning drill. Much more could be done.
You are welcome to improve on it.
Mic
EDIT
a new doc, doc
- Attachments
-
- Pageturn.rev.zip
- (1.95 KiB) Downloaded 416 times
-
- Pageturn.livecode.zip
- (1.92 KiB) Downloaded 506 times
Last edited by micmac on Tue Jan 15, 2013 5:28 pm, edited 1 time in total.
Re: This might be useful for some (New)
Here is a simple, humble reminder to folks...
Whether you are looking for help or just posting a sample to help others, it would be very beneficial and appreciated if you would use the legacy format whenever possible (presuming that the stack doesn't require any of the latest and greatest features). That will allow those of us using an older version of LC to participate in the fun and games, not wasting time, bandwidth and/or the joy of seeing the file opening errors as I've posted the screen shot of. Thanks.
Best regards,
-Doc-
Whether you are looking for help or just posting a sample to help others, it would be very beneficial and appreciated if you would use the legacy format whenever possible (presuming that the stack doesn't require any of the latest and greatest features). That will allow those of us using an older version of LC to participate in the fun and games, not wasting time, bandwidth and/or the joy of seeing the file opening errors as I've posted the screen shot of. Thanks.
Best regards,
-Doc-
- Attachments
-
- error_grab.png (9.54 KiB) Viewed 15280 times
Re: This might be useful for some (New)
Hi there
Sometimes you need some graphic that is round in one end and square in the other (at least on Mac)
This makes it easy for you.
Use it for tabs, custom menus, small palettes and more.
Mic
Sometimes you need some graphic that is round in one end and square in the other (at least on Mac)
This makes it easy for you.
Use it for tabs, custom menus, small palettes and more.
Mic
- Attachments
-
- FairandSquare.png (14.03 KiB) Viewed 15086 times
-
- Fair and Square.rev.zip
- (1.94 KiB) Downloaded 378 times
-
- Fair and Square.livecode.zip
- (1.96 KiB) Downloaded 455 times
Re: This might be useful for some (New NEW)
Collapsing Toolpalette
Hope it is usefull
Mic
Hope it is usefull
Mic
- Attachments
-
- Multi Palette-5 tabs.rev.zip
- (2.83 KiB) Downloaded 478 times
-
- Tool 2.png (13.33 KiB) Viewed 14711 times
Re: This might be useful for some (New NEW N E W)
Hi,
This is excellent work.
However, there is a slight visual discrepancy. In the sample stack the width of the title bar is slightly more than the width of the section buttons.
All the best
Terry
This is excellent work.
However, there is a slight visual discrepancy. In the sample stack the width of the title bar is slightly more than the width of the section buttons.
All the best
Terry
Re: This might be useful for some (New AGAIN)
Hi there
A Tracing stack
If you improve on it please repost.
Michael
A Tracing stack
If you improve on it please repost.
Michael
Re: This might be useful for some (New AGAIN)
Hi Michael,
Your Tracing stack shows a really clever use
of the mouseColor.
Works great under Lubuntu Linux
Excellent idea and presentation!
An enhancement could be adding more undos and redos
(with custom properties stored in a button or the polygon)
and offer some easy way to add a new point between
two points in the vector graphic.
Keep Up this great work!
Al
Your Tracing stack shows a really clever use
of the mouseColor.
Works great under Lubuntu Linux
Excellent idea and presentation!
An enhancement could be adding more undos and redos
(with custom properties stored in a button or the polygon)
and offer some easy way to add a new point between
two points in the vector graphic.
Keep Up this great work!
Al
-
- VIP Livecode Opensource Backer
- Posts: 4015
- Joined: Sun Jan 07, 2007 9:12 pm
- Location: Bochum, Germany
Re: This might be useful for some (New AGAIN)
Hi Michael,
here is my attempt at tracing.
Works with images that have transparency, e.g. png with transparency.
See stack for details.
see also sample images.
Kind regards
Bernd
EDIT: I posted a new version of this stack in a new thread
http://forums.runrev.com/phpBB2/viewtop ... 10&t=19040
here is my attempt at tracing.
Works with images that have transparency, e.g. png with transparency.
See stack for details.
see also sample images.
Kind regards
Bernd
EDIT: I posted a new version of this stack in a new thread
http://forums.runrev.com/phpBB2/viewtop ... 10&t=19040
- Attachments
-
- images with transparency.zip
- sample images to trace, they contain transparency
- (82.06 KiB) Downloaded 408 times
-
- TracingBN_0_3.livecode.zip
- tracing stack
- (9.91 KiB) Downloaded 443 times
Last edited by bn on Fri Feb 07, 2014 10:21 pm, edited 1 time in total.
-
- VIP Livecode Opensource Backer
- Posts: 2718
- Joined: Sat Dec 22, 2007 5:35 pm
- Location: Genève
- Contact:
Re: This might be useful for some (New AGAIN)
Salut Bernd,
I just played with "TracingBN_0_3".It will be very useful for a shadow theater in which we work
Thank one more
Kind regards
Jean-Marc
I just played with "TracingBN_0_3".It will be very useful for a shadow theater in which we work
Thank one more
Kind regards
Jean-Marc
https://alternatic.ch