Support

If you have a problem or need to report a bug please email : support@dsprobotics.com

There are 3 sections to this support area:

DOWNLOADS: access to product manuals, support files and drivers

HELP & INFORMATION: tutorials and example files for learning or finding pre-made modules for your projects

USER FORUMS: meet with other users and exchange ideas, you can also get help and assistance here

NEW REGISTRATIONS - please contact us if you wish to register on the forum

Users are reminded of the forum rules they sign up to which prohibits any activity that violates any laws including posting material covered by copyright

Mirror /Flip Gui ?

For general discussion related FlowStone

Mirror /Flip Gui ?

Postby lalalandsynth » Tue Jul 04, 2017 12:04 pm

Is there a way to mirror/flip a gui , I can rotate it but that does not have the same result.

Sub question :
Actually I might solve this particular problem if I could invert Array values , possibly ?

Thanks.
User avatar
lalalandsynth
 
Posts: 600
Joined: Sat Oct 01, 2016 12:48 pm

Re: Mirror /Flip Gui ?

Postby tulamide » Tue Jul 04, 2017 12:29 pm

I wouldn't know why you need to mirror a whole GUI, but in general you can mirror/flip bitmaps by passing negative width or height values. So, for the whole GUI you'd need to invert the values of each bitmap, and mirror the positions as well. This only works for bitmaps, of course, if there are runtime graphics, you'd need to alter the individual RubyEdits.
"There lies the dog buried" (German saying translated literally)
tulamide
 
Posts: 2714
Joined: Sat Jun 21, 2014 2:48 pm
Location: Germany

Re: Mirror /Flip Gui ?

Postby lalalandsynth » Tue Jul 04, 2017 2:12 pm

Yep , seeing that I am not a programmer at all I was thinking if I could invert the output from an array ?
That way I would invert the "Gui", as it were ...I think ?

Here is why I want to rotate and mirror the GUI , or parts of the gui , namely the Envelope.

I can invert the envelope output , so rather then a fully open envelope having max volume it now has min volume, lets say you like the envelope but want it inverted for a variation on what you are processing.

Original envelope - I have a invert button to invert and offset the phase so it is only unipolar like the original.
Basically achieving what I want , but the envelope does not represent that.
Invert pre.jpg
Invert pre.jpg (59.15 KiB) Viewed 9257 times


Then I can rotate the GUI , but it still does not represent the envelope inversion , although , If I could work on the Ruby code or array output , this would be a cool function.
Rotate Gui.jpg
Rotate Gui.jpg (53.85 KiB) Viewed 9257 times


This is essentially what I want to achieve , Rotate and Mirror , and now it represents an inversion.
Rotate Mirror Gui.jpg
Rotate Mirror Gui.jpg (54.5 KiB) Viewed 9257 times


This is all just a workaround , If I could work on the output array from the Line editor it would make everything simpler I am sure.
User avatar
lalalandsynth
 
Posts: 600
Joined: Sat Oct 01, 2016 12:48 pm


Return to General

Who is online

Users browsing this forum: No registered users and 28 guests