Automatic Path-Planning Algorithm for Realistic Decorative Robotic Painting