You are taking [itex]\theta[/itex] to be 0 at the "top", (a,b+ r) and measuring it clockwise? If you were using the "standard", [itex]\theta= 0[/itex] to the right, (a+r, 0), and measuring counter clockwise, then you could use the parametric equations, [itex]x= r cos(\theta)+ a[/itex], [itex]y= r sin(\theta)+ b[/itex]. The fact that you starting 90 degrees off that means you need to swap sine and cosine: [itex]x= r sin(\theta)+ a[/itex] and [itex]y= r cos(\theta)+ a[/itex]. Now, taking [itex]\theta= 0[/itex] you can see that [itex]x= r(0)+ a= a[/itex], [itex]y= r(1)+ b= b+ r[/itex] as you want. Further taking [itex]\theta= \pi/2[/itex], we have [itex]x= r(1)+ a= a+ r[/itex], [itex]y= r(0)+ b= b[/itex] as wanted.
[itex]x= r sin(\theta)+ a[/itex], [itex]y= r cos(\theta)+ b[/itex].