bezierColor function

int bezierColor(
  1. Pointer<SdlRenderer> renderer,
  2. Pointer<Int16> vx,
  3. Pointer<Int16> vy,
  4. int n,
  5. int s,
  6. int color,
)

Implementation

int bezierColor(Pointer<SdlRenderer> renderer, Pointer<Int16> vx,
    Pointer<Int16> vy, int n, int s, int color) {
  var co = Uint32List.fromList([color]).buffer.asUint8List();
  return bezierRgba(renderer, vx, vy, n, s, co[0], co[1], co[2], co[3]);
}