code: def scale_to(self, width_height=Vector2()):
          
          scale_amt = Vector2()
          scale_amt.X = float(width_height.X) / self.image.get_width()
          scale_amt.Y = float(width_height.Y) / self.image.get_height()
          self.set_scale(scale_amt)
docs: Scale the texture to the specfied width and height.