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)
  2. ImageRef!COLOR cropImageRef(ImageRef!COLOR src, int xmin, int ymin, int xmax, int ymax)
    nothrow @nogc
    ImageRef!COLOR
    cropImageRef
    (
    COLOR
    )
    (,
    int xmin
    ,
    int ymin
    ,
    int xmax
    ,
    int ymax
    )

Meta