draw strokes with binary data