MCPcopy Create free account
hub / github.com/OpenDriveLab/TCP / rotozoom

Method rotozoom

scenario_runner/no_rendering_mode.py:424–426  ·  view source on GitHub ↗
(self, angle, scale)

Source from the content-addressed store, hash-verified

422 self.surfaces = dict(self._original_surfaces)
423
424 def rotozoom(self, angle, scale):
425 for key, surface in self._original_surfaces.items():
426 self.surfaces[key] = pygame.transform.rotozoom(surface, angle, scale)
427
428
429# ==============================================================================

Callers 1

renderMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected