MCPcopy Create free account
hub / github.com/Distrotech/reportlab / drawTopRight

Method drawTopRight

tools/pythonpoint/customshapes.py:249–266  ·  view source on GitHub ↗
(self, canvas)

Source from the content-addressed store, hash-verified

247
248
249 def drawTopRight(self, canvas):
250 controls = [(100, 70),
251 (99, 70), (1, 70), (0, 70),
252 (0, 69), (0, 51), (0, 50),
253 (5, 50), (10, 45), (10, 40),
254 (10, 35), (15, 30), (20, 30),
255 (25, 30), (30, 25), (30, 20),
256 (30, 15), (35, 10), (40, 10),
257 (45, 10), (50, 5), (50, 0),
258 (51, 0), (69, 0), (70, 0),
259 (70, -5), (68, -5), (68, -10),
260 (68, -15), (75, -15), (80, -15),
261 (85, -15), (92, -15), (92, -10),
262 (92, -5), (90, -5), (90, 0),
263 (91, 0), (99, 0), (100, 0)
264 ]
265
266 self.drawShape(canvas, controls, colors.magenta)
267
268
269class Logo:

Callers 1

drawOnMethod · 0.95

Calls 1

drawShapeMethod · 0.95

Tested by

no test coverage detected