Rounded Corner

BlitzPlus Forums/BlitzPlus Programming/Rounded Corner

I want to create a piece of code to create a rounded corner that changes color from outside to inside. The upperleft corner will get darker from outside to in.. To draw the next pixel of an angle from -90 to 0 i use cos and sin, but the multiplicator needs to decrease in a proper way the more towards the inner of the corner i get (smaller and smaller arcs with darker color, but all going from angle -90 to 0)