add DrawPixel sample code