m1(buf1, 100, 100); <span class="comment">// image that encapsulates the pixel buffer buf1</span></div>
<div class="line">    </div>
<div class="line"><span class="comment">// ... draw some things on im...</span></div>
<div class="line">    </div>
<div class="line"><a class="code hl_struct" href="structtgx_1_1_r_g_b24.html">tgx::RGB24</a> buf2[50 * 50]; <span class="comment">// buffer for a 50x50 image in RGB24 color format</span></div>
<div class="line"><a class="code hl_class" href="classtgx_1_1_image.htm