Slightly more complex Panel shapes



  • It could be nice to be able to select which corners of a panel are rounded, so that, for example, the bottom is squared, but the top is rounded....



  • You can do that with a paint routine

    95c2c520-518c-4921-b023-541a8005d5cf-image.png

    HiseSnippet 816.3ocsU8+SSCDE+twpgUcFIw+.ZH9CcFjzg.ZBwHxFSWTfEFhlXHji1aqWV6cKsWAWH7ul+M4+A560aisgCBrDaVxt2W9b8Se2m26Zkn74oopDBszQC5yIzmX0dfTGVKjIjjl0IzmZsGKUySbLt1YPeVZJOfPoK7QzAsTQR9yue+NrHlzmO1EgbrR3y+hHVnG6s01eVDE0fEvORDOQ1qucSekrlJRkA7YAKOReleOVW99LLsBVD5i1MPnUIs0LMOExYGUvf1gpKjl7OVjJNKhiFUIsgMx3lTKTDEzZz2ZJgPK1Z7W9Blu7masmHPbs+wUfmkGvYLhIqAzBSSohSQop2FkZnhBvM3VnGcB5UzPukrZ6mH5qGGA41isZJgCmNLnrOIsL4RJ7KpUMEjgTuZLqGuQBXbMB2M87VwYCOuJaU1trMT7S0NmyRbZwj7npNuyYD1tbcMUbekDLbW1DdYDkY4pobcKnboOTkoERtamLouVnjtcqT19xx1NvSWLKyoqq4uzUS3A3tXB2ATEGx80t+.XE7SGJRw272DA5P2JHSO4FYqxjPYDAwjci32JxQN9DWzMT6V4jUbVC9pwcx9pJaMhtNJ49JM+.oaE6KsKYeksyMC0oyLigEpDUTDOYlgQgdxcAzUlEeFOYEn7GkwuNQ3zeZ40itexKey41DIpjMkB8A84CsGK.qNCAHY3AOr5qMqyzLTSNzGjWedhVfzgVmeNzfaTnkrpyS6oU8yycnZAnrNOZ4Q5WTwPDvqdQKi5g7SB0h1CdWCvEuDVbAdvgFMnDRX9gFZ8BJN93eZMfFTUPVDSOcWKNdZX.nVOU6A1BHSE5ASN95AzJ6MyV4YVIumzcIqVBse3r4agYvW3D4+MeGNXrr0tc5.sXiIaQqFeedmB9.nhYZR28X5DApQ1OKtML1vmCLQBJmTTST.UqFaOzFqLs4xfbi+.OCCVE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2RyfuXi+9luiV4VwpUud3z6Txtn0de49e+Jwrmp+9LHQfRQqCxh6hpAeNxDIJP0iZzR5gBism1VWY5xkA4F+AeFErl1lNJXswAIwL+D0w9lAb8R8kx8fbRle2VY7RVz1oFIenGwY4slGIFuq4Xeeco3YH2mMl0mCLOeNvrwbfYy4.yVyAlWLGXd4shQeM+NYfJ1LlfN5zJeSHk1RxPUVthj7WF81b9C
    


  • Sure (this is actually how I should of done the first example because it uses one less line of code 🙂 )

    HiseSnippet 829.3ocsU8uSSCEE9dGThq5LZhO.M9WcQfzgfZBw3jsgtn.KLDMZL3k16Vug16co8LgEBuF973ijuA54161ZQFDxRn+QSO+5ludNeemamDkOOMUkPnkOXz.Ng9.qtijPXiPlPRZ2jPen0NrTfm3Xbs0nArzTd.gRW3cZGzxKRxd9ya1hEwj97bWDxgJgO+ihXAj6sS8OHhh1lEvOPDWH60q21WIanhTCQ7rfkGY.y+DVe9tLcZkrHzkZEH.URWfA7TBcwsTAi5FpNUZx+PQp33Ht1nFoKdPF2aqhBzHV6kzHTDEzYx+cJAOkN4cgELcgmXsiHPL0ed23QYAbxqnX+fV5lfWshvy61COZA3snAdO1pqehX.jGQis6a0VhCpdLbDTDVlbIk9E0pgByPBqFyNgucBZLsB2W34sryFddU2rhcEabPjBN+jk3zgI4Q0bdsyjZ6ygFp3AJIZ39TS3mpqx74pobnC1tf8UCAgj61anzGDJoa+pUrOuhsC9zWmkYR65c1VdMe6FM8VWeHln8PBBVuD6K6y8AlreD28aH.WYM7EDJR0v3yh.HzsZti2yE8CA2pNOyYMuuuL9p5l5Cz9hpaNAFNJ4tJfumzsp841ksuv14+C0q2Lioa.IpnHdxLCqIyI2TgtxgwGySVFaqQC4SSDmpWl1Xc8zlhrZey7nPhJYao.1a.WdcjIx3gH90mZ2jALM+ZrOLuA7DPng.sI+mnv0v1Ja0jmdBnFjk63IOgZCYQqLgKpm9DAx3tmkgIPNap192es9nbgdq5mpmbSc7CndX1japm5I0Ot+jMAkWZx1DAviuIuqUzMvOCtZxjqplPMsJXXDCtrPWucab.bLdIEkV0HSEvnha+tST+2V39XqNBvOb13szLvKN3uqw63coUrZ0qGJhyA6hVa+k69EmDyBn96vfDAREs1cXbWjM3yQjHQBpVpQKoEEFaOsstyzkKCxL9K9LNXMsMcbvZSBRhY9Ipi7MBb8156k4AwjL6Rqx3smnsSMRlnGqyxaUORLdIxQ995VwJH1mcMqMG0774nl0miZ1XNp4EyQMubNp4U2XM56ue6PPEajIniNsx1DRosjLjkkwHI+CrPLZ9.
    


  • @d-healey nice, thanks 🙂


Log in to reply
 

16
Online

1.2k
Users

3.9k
Topics

34.4k
Posts