Vector Circle Zoom In Out



  • Hello ppl

    Any Idea How I Can Make This SVG Path Zoom In / Out With My Knob1 ?!!
    Any Help Is Much Appreciated
    Here Is The Code:

    HiseSnippet 1245.3ocsW8taaaCDmJIJs1atXEXO.B9CCJ.doR4ON1KXndwId0qKIFysECKnqfQh1lHxjFRzIwMH.6C6EcuA6MX6NJIaoXWmBCTKm.w6teG+wi73ctSnziEEICIFEdyjQLhwWa1chPMn4.JWPZeLw3YlmRiTrPqXQGMYDMJh4SLLV+mQAFE1fn+7uu7HZ.U3wlIhPdmj6w9U9PtZlzQMdMOHnE0m8F9vLVuWi1dRQSYfbLvm0McHindWQ6yNihlslIwXyS74JYXWEUwhHFabjzeR2AxaDw1+NdD+x.FNvkzEbTr3Vx.ejwnTRyA7.+Noq6HB3kNyhBqGGE9VyS497oxmEM9FsBqYHxFOLVaYzyMK8b97omQF5sQL8dtYWuP9H0LMH29Jy1BXipGE1BxRqXaIq81MMaJAKDpsGRuh0JDFLEgsqSsJVt0b15vREKUD1HhTVWSCs9Cobn0OZkhj562gJXA1kQEkqX4.e25PKKKDFJaaepht8HpZPFXdgLHlzADZCF+P+eLf.L9BsObccp35TuhC7TqVkpU0uUcO7a8ZU12E+5hiypAeaG.IHL1hcbNnR08yJelCA2Lm8IdbN2OG3LBmRmEOYwLaIDNGa.YkJN09DONm6eH3YxlOlgO3157Rgozce.x96Vws9to9N6yRTG6pTGmWZ8Zy6gpGnsedGtia0LgVXwWMq34YdhhrjO12OvYoNXoFkeULmh50VnqhI+B7b9vviD8qCJbwWwy6Vu+PqW7BHSwmEY8JVHa9DosCjTeHeUmnXmlwDmollgEwvqCFwBUbVDZ6uz87yllkdGLOvmx2v8UCJ+CVHwRDMfw6OPkWFMHPdSS3+WB2.GA5J2LfCuY8cVuRdMKrbpgQzqYsEcBYvzCloBGCz+9XlkrJPhAWep9M4XEWvr6MV3o3Rgc+sJU7NK8MG3+6iVFe6usyssZUW+ftJVaOnng9Bj7wlJVW3nuEBoO726im7obX1MMuVHuzMycR8woa3Ho.FXWVqsbJJtH.3pUJWsjBsdDZnLv1KEWEvyAiY3JoTwBEzTKjMBWu1nutO2dzBmw3ks1uoQb67SG5nLL4Lohctvdqh2UrPw6KZ8PU85sPcINKfEtP0Xs3vkAzVLd3krvzUbpgPQo7U8L+zU8xVT1KNljwPonsfqNeDS7opERRBjPUw0RXEXpRWSrTZMQr5DgCU91zD2NHZ5lsmDxCg9rDncC39rPM1mXp2.xA1Z2c60f711XtGVWNgLyx5.YGytFZ3ItJcAyiYQWojizrMYamX7zGgu2BgPCjlSReQmzB9ayfjEPbJaVIYyCQXHt7IwXuK4Shw.wTV8jGMTba1X3joC9q+rAzd3nt7OlFmZ7Oe7ue4PZF64MRWBIBtnAY9tZfdqj9iCnp7MbgcYln.NOlqyFr6EQDWMIaWneQ5B6yktO2rCW4MXw7csEvW7n7WX9lzSaIyS50i4olQ1MLa86e4afkDewe+SopPNd39rwC6BWx6w.lHfC+3cFFqg4kwicRO22kI70C9O3ShR2zS2nR2TkjgTuP4G7hSrwtlepVBvIg9GOT.9ULvXqoYzllNa6PFBMy+AOOLT78.2WLlcVAL6tBX1aEvr+Jfo5Jf4fU.SskhA+cT+zXkbXbZBHnyI5aVMLNQPgSY5Sjj+Wc.H6d
    


  • I Need This So Bad 😔
    Any Help



  • @Natanr Just use Knob1.getValue()in the paint routine to change the different parameters of the area proportionally [x, y, width, height]...



  • @ustk Did That, But It Just Moves The Circle In Xy Axis, Or Cuts The Right OR Bottom Side OF The Circle.

    I Just Want To Make It In/Out And Fixed In It's Place



  • Like This
    DeliriousNeglectedGoldenmantledgroundsquirrel-size_restricted.gif



  • @Natanr That's what I said, proportionally. If you move x and y, reduce the width and height accordingly
    Alternatively you can use getBounds fed with the ratio value



  • @ustk Nope, No Glory

    Here Is The Code

    HiseSnippet 1048.3ocyW8taaaCDmxIJH1qtqEnO.BAXCN.YoxooaEnnnZQIY0nKoFUccKepkVhNlHRjZTTN1sneqOX8UYuA6Mn6n9iEcr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edCt9l1lJJJEiEL0aho4zki1c2wnMJuuSOjmiPPUU1H9cxGwmxYAzDDCbxWYmchhx.e0csned7.hhT3FviPThoIJlNYrFP+.r30r4ng8.Z5EJYLrCcSqNjvlf1rXuhtYOKl211z3iVsIf+wrdqKi9u06RcOzFF+YRuvr1kpbPUBU8OY9sp5kFqqRf9uqBgExxfkbhZ6sz5qixE.c.asNTuxSjxTqqVB+BVc6syU26778yDt2ydBS4Gta7VaG3ENo++Fu4WD1zd374TeUIXqaO5W22a89BfhYA6hSIpDFzPXe1xnov5ReJfDAzQBAx1pldFxP6oo0UloTQPFweCe4B6posxE1sPHJh3mHeuuYxSeU6sy3.XRj8JiFvyc.Z7lQNaauNdnH3E.u22WWJdDf8cayQ6gMOdOr4I6gMGuG17z8vlmsG17c2nM5Ge8pkJYjYLAXLYX1pOKqgBBzkk0Qh9GfK.5ct
    


  • @d-healey Thank You Thank You 👏 You're A Magician 👊 👋


Log in to reply
 

7
Online

622
Users

2.5k
Topics

20.3k
Posts