256
Themes / Re: PanAndScan module v1.1 release
« on: March 14, 2016, 11:47:15 AM »
This does allow customization, but it's not working as hoped...more of a proof of concept...or proof of failure.
I am enjoying your plugin...the zoom feature reminds me of a Prezi...
layout.nut:
customx <- 1; <2 this is what the width is divided by for the zoom until it's reached.
customy <- 2; <2 this is what the height is divided by for the zoom until it's reached.
preserve-art-nut
::Anchor <-
{
Custom = "Custom",
___________________________
case ::Anchor.Custom:
art.x -= (art.width - _prev_art_width) / ::customx
art.y -= (art.height - _prev_art_height) / ::customy
break;
pan-and-scan.nut
case ::Anchor.Custom:
art.x -= (art.width - _prev_art_width) / ::customx
art.y -= (art.height - _prev_art_height) / ::customy
break;
I am enjoying your plugin...the zoom feature reminds me of a Prezi...
layout.nut:
customx <- 1; <2 this is what the width is divided by for the zoom until it's reached.
customy <- 2; <2 this is what the height is divided by for the zoom until it's reached.
preserve-art-nut
::Anchor <-
{
Custom = "Custom",
___________________________
case ::Anchor.Custom:
art.x -= (art.width - _prev_art_width) / ::customx
art.y -= (art.height - _prev_art_height) / ::customy
break;
pan-and-scan.nut
case ::Anchor.Custom:
art.x -= (art.width - _prev_art_width) / ::customx
art.y -= (art.height - _prev_art_height) / ::customy
break;