Function CanvasItem.drawSetTransform

Sets a custom transform for drawing via components. Anything drawn afterwards will be transformed by this.

void drawSetTransform (
  const(Vector2) position,
  const(double) rotation,
  const(Vector2) scale
) nothrow @nogc;