MCPcopy Create free account
hub / github.com/ActiveState/code / plotPoint

Method plotPoint

recipes/Python/577674_Bitmap_Maker/recipe-577674.py:194–198  ·  view source on GitHub ↗
( self, x, y )

Source from the content-addressed store, hash-verified

192 return Color.fromLong( self.palette[self.currentPen] )
193
194 def plotPoint( self, x, y ):
195 if ( 0 <= x < self.wd and 0 <= y < self.ht ):
196 x = int(x)
197 y = int(y)
198 self.bitarray[y][x] = self.currentPen
199
200 def drawRect( self, x, y, wid, ht, fill=False ):
201 x = int(x)

Callers 4

create_imageFunction · 0.95
_drawLineMethod · 0.95
drawCircleMethod · 0.95
_drawFontMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected