Hello All,<br><br>I want to know the size of cairo surface which i created as when i do <b>malloc(sizeof(cairo_surface_t))</b>, compiler says <b>cairo_surface_t is unrecognised.<br></b>I try to find the size by doing <b>(cairo_format_stride_for_width(format,widthimage)*heightimage),  </b>but i guess, this is somewhat wrong as I see error while accessing some data location.<br>
<br>Looking forward to hear from someone.<br><br>Thanks in advance.<br><br>Deepak<br clear="all"><br>-- <br><div><font color="#000099" face="Verdana, Arial, Helvetica, sans-serif">&quot;<i style="color:rgb(0, 0, 0)">I err therefore I am </i>&quot;- Saint Augustine</font><br>
 </div>
<div></div>
<div></div>
<div></div><div style="padding:0px;margin-left:0px;margin-top:0px;overflow:hidden;word-wrap:break-word;color:black;font-size:10px;text-align:left;line-height:130%"></div><div style="padding:0px;margin-left:0px;margin-top:0px;overflow:hidden;word-wrap:break-word;color:black;font-size:10px;text-align:left;line-height:130%">
</div><div style="padding:0px;margin-left:0px;margin-top:0px;overflow:hidden;word-wrap:break-word;color:black;font-size:10px;text-align:left;line-height:130%"></div><div style="padding:0px;margin-left:0px;margin-top:0px;overflow:hidden;word-wrap:break-word;color:black;font-size:10px;text-align:left;line-height:130%">
</div><div style="padding:0px;margin-left:0px;margin-top:0px;overflow:hidden;word-wrap:break-word;color:black;font-size:10px;text-align:left;line-height:130%"></div><br>