Adding example for drawing a device directly.