cropImageRef

Crop an ImageRef and get an ImageRef instead of a Voldemort type. This also avoid adding offset to coordinates.

  1. ImageRef!COLOR cropImageRef(ImageRef!COLOR src, box2i rect)
    nothrow @nogc
    ImageRef!COLOR
    cropImageRef
    (
    COLOR
    )
  2. ImageRef!COLOR cropImageRef(ImageRef!COLOR src, int xmin, int ymin, int xmax, int ymax)

Meta