• Home
  • Raw
  • Download

Lines Matching refs:pykms

3 import pykms
32 card = pykms.Card()
33 res = pykms.ResourceManager(card)
53 fbs.append(pykms.DumbFramebuffer(card, w, h, "XR24"))
54 fbs.append(pykms.DumbFramebuffer(card, w, h, "XR24"))
60 pykms.draw_rect(fb, 0, 0, fb.width, fb.height, pykms.purple)
61 pykms.draw_rect(fb, stepX, stepY,
63 pykms.green)
64 pykms.draw_rect(fb, stepX * 3, stepY,
66 pykms.red)
67 pykms.draw_rect(fb, stepX * 5, stepY,
69 pykms.white)
72 pykms.draw_rect(fb, 0, 0,
74 pykms.cyan)
75 pykms.draw_circle(fb, (stepX * 3) + (stepX // 2), fb.height // 2,
77 pykms.yellow)
81 "trans-key": pykms.purple.rgb888,
124 fbs.append(pykms.DumbFramebuffer(card, w, h, "XR24"))
125 fbs.append(pykms.DumbFramebuffer(card, w, h, "XR24"))
132 pykms.draw_rect(fb, 0, 0, fb.width, fb.height, pykms.white)
133 pykms.draw_rect(fb, stepX * 2, stepY * 2,
135 pykms.red)
136 pykms.draw_rect(fb, halfX + stepX * 2, stepY * 2,
138 pykms.green)
141 pykms.draw_rect(fb, 0, 0, fb.width, fb.height, pykms.cyan)
142 pykms.draw_rect(fb, stepX, stepY,
144 pykms.purple)
148 "trans-key": pykms.purple.rgb888,
190 fbs.append(pykms.DumbFramebuffer(card, w, h, "XR24"))
191 fbs.append(pykms.DumbFramebuffer(card, w, h, "XR24"))
197 pykms.draw_rect(fb, 0, 0, fb.width, fb.height, pykms.purple)
198 pykms.draw_rect(fb, stepX, stepY,
200 pykms.green)
201 pykms.draw_rect(fb, stepX * 3, stepY,
203 pykms.red)
204 pykms.draw_rect(fb, stepX * 5, stepY,
206 pykms.white)
209 pykms.draw_rect(fb, 0, 0,
211 pykms.cyan)
212 pykms.draw_circle(fb, (stepX * 3) + (stepX // 2), fb.height // 2,
214 pykms.yellow)
218 "trans-key": pykms.purple.rgb888,
260 fbs.append(pykms.DumbFramebuffer(card, w, h, "XR24"))
261 fbs.append(pykms.DumbFramebuffer(card, w, h, "XR24"))
268 pykms.draw_rect(fb, 0, 0, fb.width, fb.height, pykms.white)
269 pykms.draw_rect(fb, stepX * 2, stepY * 2,
271 pykms.red)
272 pykms.draw_rect(fb, halfX + stepX * 2, stepY * 2,
274 pykms.green)
277 pykms.draw_rect(fb, 0, 0, fb.width, fb.height, pykms.cyan)
278 pykms.draw_rect(fb, stepX, stepY,
280 pykms.purple)
284 "trans-key": pykms.purple.rgb888,
326 fbs.append(pykms.DumbFramebuffer(card, w, h, "XR24"))
327 fbs.append(pykms.DumbFramebuffer(card, w // 2, h, "XR24"))
328 fbs.append(pykms.DumbFramebuffer(card, w // 2, h, "XR24"))
335 pykms.draw_rect(fb, 0, 0, w, h, pykms.purple)
336 pykms.draw_rect(fb, stepX * 2, stepY * 2,
338 pykms.red)
339 pykms.draw_rect(fb, halfX + stepX * 2, stepY * 2,
341 pykms.green)
344 pykms.draw_rect(fb, 0, 0, fb.width, fb.height, pykms.blue)
345 pykms.draw_rect(fb, stepX, stepY,
347 pykms.purple)
350 pykms.draw_rect(fb, 0, 0, fb.width, fb.height, pykms.cyan)
351 pykms.draw_rect(fb, stepX, stepY,
353 pykms.purple)
357 "trans-key": pykms.purple.rgb888,