Function ColorDrawBuf.transformColors

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

override DrawBuf transformColors(
  ref ColorTransform transform
);