I just updated the repo with separated snippets for SublimeText.
Best posts made by Hugo Jourdan
-
RE: DrawBot Auto-completion Snippet
-
Rounded Rectangle
Snippet do draw rectangle with rounded corner:
def rectRounded(x,y,w,h,radius): path = BezierPath() sR=0.5*radius w=w-radius h=h-radius path.rect(x,y+sR,w+radius,h) path.rect(x+sR,y,w,h+radius) path.oval(x,y,radius,radius) path.oval(x+w,y,radius,radius) path.oval(x,y+h,radius,radius) path.oval(x+w,y+h,radius,radius) path.removeOverlap() drawPath(path)
It is possible to manually add it in drawBot module ?