Page 1 of 5

This might be useful for some (New AGAIN)

Posted: Mon Nov 19, 2012 11:51 am
by micmac
Hi there

This little stack demonstrate resizing a rectangle in any direction

Its also an exersice in calculating pendicular lines


Michael

Re: This might be useful for some

Posted: Mon Nov 19, 2012 5:39 pm
by NoN'
Very nice job.

Congratulations.

Renaud

Re: This might be useful for some

Posted: Mon Nov 19, 2012 7:06 pm
by bn
Hi Michael,

thanks for sharing this. Very useful.

You might want to add

Code: Select all

if Læng = 0 then exit mouseMove
right before

Code: Select all

put T/Læng into Skala
to avoid division by zero.

Kind regards
Bernd

Re: This might be useful for some

Posted: Mon Nov 19, 2012 7:32 pm
by jmburnod
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) :wink:

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 
Best regards
Jean-Marc

Re: This might be useful for some

Posted: Tue Nov 20, 2012 2:06 pm
by micmac
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

Re: This might be useful for some

Posted: Tue Jan 15, 2013 2:25 pm
by micmac
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

Re: This might be useful for some (New)

Posted: Tue Jan 15, 2013 4:17 pm
by doc
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. :D

Best regards,
-Doc-

Re: This might be useful for some (New)

Posted: Thu Feb 07, 2013 8:10 pm
by micmac
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

Re: This might be useful for some (New NEW)

Posted: Thu Jun 13, 2013 7:47 pm
by micmac
Collapsing Toolpalette

Hope it is usefull

Mic

Re: This might be useful for some (New NEW N E W)

Posted: Thu Jun 13, 2013 9:58 pm
by Mag
WOW!



....

Re: This might be useful for some (New NEW N E W)

Posted: Sat Jun 22, 2013 8:17 am
by tellboy
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

Re: This might be useful for some (New AGAIN)

Posted: Mon Jan 20, 2014 3:44 pm
by micmac
Hi there

A Tracing stack

If you improve on it please repost.

Michael
Splash.png
Trace.zip
(62.22 KiB) Downloaded 409 times

Re: This might be useful for some (New AGAIN)

Posted: Mon Jan 20, 2014 8:52 pm
by capellan
Hi Michael,

Your Tracing stack shows a really clever use
of the mouseColor. :o

Works great under Lubuntu Linux
Excellent idea and presentation! :D

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

Re: This might be useful for some (New AGAIN)

Posted: Thu Jan 23, 2014 10:50 pm
by bn
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

Re: This might be useful for some (New AGAIN)

Posted: Thu Jan 23, 2014 11:31 pm
by jmburnod
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