using pic to draw tex image