aatrigonColor function
Implementation
bool aatrigonColor(
Pointer<SdlRenderer> renderer,
double x1,
double y1,
double x2,
double y2,
double x3,
double y3,
SdlxColor color, {
int blendMode = SDL_BLENDMODE_BLEND,
}) {
final points = List<SdlxFPoint>.generate(3, (index) => SdlxFPoint(0, 0));
points[0].x = x1;
points[1].x = x2;
points[2].x = x3;
points[0].y = y1;
points[1].y = y2;
points[2].y = y3;
final result = aapolygonColor(renderer, points, color, blendMode: blendMode);
return result;
}