Lines Matching refs:pykms

3 import pykms
7 card = pykms.Card()
10 card = pykms.Card()
11 res = pykms.ResourceManager(card)
30 fbs.append(pykms.DumbFramebuffer(card, w, h, "XR24"))
31 fbs.append(pykms.DumbFramebuffer(card, w, h, "XR24"))
34 pykms.draw_rect(fb, 0, 0, fb.width, fb.height, pykms.purple)
35 pykms.draw_rect(fb, 100, 100, 100, 200, pykms.green)
36 pykms.draw_rect(fb, 300, 100, 100, 200, pykms.red)
37 pykms.draw_rect(fb, 500, 100, 100, 200, pykms.white)
40 pykms.draw_rect(fb, 0, 0, fb.width, fb.height, pykms.cyan)
41 pykms.draw_rect(fb, 250, 100, 200, 200, pykms.yellow)
45 "trans-key": pykms.purple.rgb888,
70 fbs.append(pykms.DumbFramebuffer(card, w, h, "XR24"))
71 fbs.append(pykms.DumbFramebuffer(card, w, h, "XR24"))
74 pykms.draw_rect(fb, 0, 0, fb.width, fb.height, pykms.white)
75 pykms.draw_rect(fb, 200, 200, 100, 100, pykms.red)
76 pykms.draw_rect(fb, fb.width - 300, 200, 100, 100, pykms.green)
79 pykms.draw_rect(fb, 0, 0, fb.width, fb.height, pykms.cyan)
80 pykms.draw_rect(fb, 100, 100, fb.width - 200, fb.height - 200, pykms.purple)
84 "trans-key": pykms.purple.rgb888,
109 fbs.append(pykms.DumbFramebuffer(card, w, h, "XR24"))
110 fbs.append(pykms.DumbFramebuffer(card, w * 2 // 3, h, "XR24"))
111 fbs.append(pykms.DumbFramebuffer(card, w * 2 // 3, h, "XR24"))
114 pykms.draw_rect(fb, 0, 0, w, h, pykms.purple)
115 pykms.draw_rect(fb, 100, 50, 50, 200, pykms.green)
116 pykms.draw_rect(fb, 200, 50, 50, 200, pykms.red)
117 pykms.draw_rect(fb, 300, 50, 50, 200, pykms.white)
120 pykms.draw_rect(fb, 0, 0, fb.width, fb.height, pykms.blue)
123 pykms.draw_rect(fb, 0, 0, fb.width, fb.height, pykms.cyan)
127 "trans-key": pykms.purple.rgb888,
180 fbs.append(pykms.DumbFramebuffer(card, w, h, "XR24"))
181 fbs.append(pykms.DumbFramebuffer(card, w // 2, h, "XR24"))
182 fbs.append(pykms.DumbFramebuffer(card, w // 2, h, "XR24"))
185 pykms.draw_rect(fb, 0, 0, w, h, pykms.RGB(128, 255, 255))
186 pykms.draw_rect(fb, 200, 100, 50, 200, pykms.red)
187 pykms.draw_rect(fb, w - 200 - 50, 100, 50, 200, pykms.green)
190 pykms.draw_rect(fb, 0, 0, fb.width, fb.height, pykms.blue)
191 pykms.draw_rect(fb, 100, 100, fb.width - 200, fb.height - 200, pykms.purple)
194 pykms.draw_rect(fb, 0, 0, fb.width, fb.height, pykms.cyan)
195 pykms.draw_rect(fb, 100, 100, fb.width - 200, fb.height - 200, pykms.purple)
199 "trans-key": pykms.purple.rgb888,
252 fbs.append(pykms.DumbFramebuffer(card, w, h, "XR24"))
253 fbs.append(pykms.DumbFramebuffer(card, w // 2, h, "XR24"))
254 fbs.append(pykms.DumbFramebuffer(card, w // 2, h, "XR24"))
257 pykms.draw_rect(fb, 0, 0, w, h, pykms.purple)
258 pykms.draw_rect(fb, 200, 100, 50, 200, pykms.red)
259 pykms.draw_rect(fb, w - 200 - 50, 100, 50, 200, pykms.green)
262 pykms.draw_rect(fb, 0, 0, fb.width, fb.height, pykms.blue)
263 pykms.draw_rect(fb, 100, 100, fb.width - 200, fb.height - 200, pykms.purple)
266 pykms.draw_rect(fb, 0, 0, fb.width, fb.height, pykms.cyan)
267 pykms.draw_rect(fb, 100, 100, fb.width - 200, fb.height - 200, pykms.purple)
271 "trans-key": pykms.purple.rgb888,