Function DrawBuf.transformColors

create drawbuf with copy of current buffer with changed colors (returns this if not supported)

DrawBuf transformColors(
  ref ColorTransform transform
);