imageDraw function

void imageDraw(
  1. Image dst,
  2. Image src,
  3. Rectangle srcRec,
  4. Rectangle dstRec,
  5. Color tint,
)

Draw a source image within a destination image (tint applied to source).

Implementation

void imageDraw(
  Image dst,
  Image src,
  Rectangle srcRec,
  Rectangle dstRec,
  Color tint,
) {
  return library.ImageDraw(
    dst.pointer,
    src.ref,
    srcRec.ref,
    dstRec.ref,
    tint.ref,
  );
}