Image.pixel

access to pixel

  1. T pixel(in C[] crd...)
    struct Image
    pure ref
    T
    pixel
    (
    T
    C
    )
    (
    in C[] crd...
    )
    if (
    isIntegral!C
    )
    in { assert (isAllCompPositive(crd), "negative coordinate"); assert (all!"a[0]>a[1]"(zip(size.dup, crd.dup)), "range violation"); assert (crd.length == size.length); }
  2. const(T) pixel(in C[] crd...)
  3. T pixel(in Vector!(N, C) crd)
  4. const(T) pixel(in Vector!(N, C) crd)

Meta