docs: def _handleDecodeHextileSubrectsColoured(self, block, bg, color, subrects, x, y, width, height, tx, ty, tw, th):
          """subrects with their own color"""
          sz = self.bypp + 2
          pos = 0
          end = len(block)
          while pos < end:
              pos2 = pos + self.bypp
              color = block[pos:pos2]
              xy = ord(block[pos2])
              wh = ord(block[pos2+1])
              sx = xy >> 4
              sy = xy & 0xf
              sw = (wh >> 4) + 1
              sh = (wh & 0xf) + 1
              self.fillRectangle(tx + sx, ty + sy, sw, sh, color)
              pos += sz
          self._doNextHextileSubrect(bg, color, x, y, width, height, tx, ty)