Function DrawBuf.makeRoundedRectPath

builds outer rounded rect path the last parameter optionally writes out indices of first segment of corners excluding top-left

static vec2[] makeRoundedRectPath(
  Rect rect,
  vec4 corners,
  bool keepSquareXY,
  ulong[] outCornerSegmentsStart = null
);