an class="ident">BitmapContext</span></span>
<span>(</span><span>size)</span>
</code></dt>
<dd>
<div class="desc"></div>
<details class="source">
<summary>
<span>Expand source code</span>
</summary>
<pre><code class="python">class BitmapContext(object):
    def __init__(self, size):

        if PYFLOWSHEET_PILLOW_MISSING:
            Warning(&#34;Pillow is not installed. You cannot render to the bitmap context!&#34;)
        self.img = Image.new(&#34;RGBA&#34;, size, (255, 255, 255, 255))
        self.draw 