Hi, I'm starting to get my feet wet with v1.9.0 of the SDK, specifically the C API.
I noticed that drawEllipse
has a lineWidth
parameter:
void playdate->graphics->drawEllipse(
int x, int y, int width, int height, int lineWidth, float startAngle, float endAngle, LCDColor color
);
and drawLine
has a width
parameter for setting the line width, different name but whatever, functions the same:
void playdate->graphics->drawLine(
int x1, int y1, int x2, int y2, int width, LCDColor color
);
But drawRect
doesn't have a parameter for line width:
void playdate->graphics->drawRect(
int x, int y, int width, int height, LCDColor color
);
I expected the signature of drawRect
to be:
void playdate->graphics->drawRect(
int x, int y, int width, int height, int lineWidth, LCDColor color
);
to be consistent with, and have the same functionality as, drawEllipse
and drawLine
.
I searched for drawEllipse
, drawRect
, and drawLine
and didn't see anyone else mentioning this.
I totally understand if this is low priority or can't be changed now due to API stability guarantees, but wanted to mention it. Thank you for the awesome platform!