Ruby View Output

For general discussion related FlowStone
Post Reply
User avatar
MyCo
Posts: 718
Joined: Tue Jul 13, 2010 12:33 pm
Location: Germany
Contact:

Ruby View Output

Post by MyCo »

Hi,

I know how to use the View Input, to draw something in Ruby. But how do I use a View output? I can assign the connector type, but how do I get the next element to draw over my Ruby Drawings?

Thanks
User avatar
MyCo
Posts: 718
Joined: Tue Jul 13, 2010 12:33 pm
Location: Germany
Contact:

Re: Ruby View Output

Post by MyCo »

Just a follow up question, somehow related. You can also assign a Bitmap as output. How do I create one and draw onto it?
User avatar
support
Posts: 151
Joined: Fri Sep 07, 2012 2:10 pm

Re: Ruby View Output

Post by support »

The Ruby component doesn't support pass through of Views through an output. I know that it allows you to set the connector type and maybe this is a bit misleading.

To get something to draw over the top just use another link from whatever View output you have connected to your Ruby component. The link order then determines the draw order.

You can't create bitmaps inside a Ruby component either, sorry. Could be something we could add in the future though.
User avatar
trogluddite
Posts: 1730
Joined: Fri Oct 22, 2010 12:46 am
Location: Yorkshire, UK

Re: Ruby View Output

Post by trogluddite »

support wrote:You can't create bitmaps inside a Ruby component either, sorry. Could be something we could add in the future though

Would be great if you could do this - it makes all kind of interesting scrolling and fading animations possible, and is also useful for rasterising vector graphics for speedier re-drawing of complex panel backgrounds etc.
All schematics/modules I post are free for all to use - but a credit is always polite!
Don't stagnate, mutate to create!
Tronic
Posts: 539
Joined: Wed Dec 21, 2011 12:59 pm

Re: Ruby View Output

Post by Tronic »

+1
User avatar
Walter Sommerfeld
Posts: 250
Joined: Wed Jul 14, 2010 6:00 pm
Location: HH - Made in Germany
Contact:

Re: Ruby View Output

Post by Walter Sommerfeld »

+10
Post Reply