diamond and rect halftone implemented