Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/SimHacker/micropolis
/ loadCmap
Method
loadCmap
MicropolisCore/src/CellEngine/python/test.py:273–275 ·
view source on GitHub ↗
(self, ctx)
Source
from the content-addressed store, hash-verified
271
272
273
def
loadCmap(self, ctx):
274
275
self.cmapSurface = cairo.ImageSurface.create_from_png(self.cmapFileName)
276
277
278
def
setScale(self, scale):
Callers
1
loadGraphics
Method · 0.95
Calls
no outgoing calls
Tested by
no test coverage detected