<div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote">On 16 June 2016 at 12:35, Yash Agarwal <span dir="ltr"><<a href="mailto:agrwal.ysh94@gmail.com" target="_blank">agrwal.ysh94@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><span class=""><div dir="ltr">On Thu, Jun 16, 2016 at 7:01 PM Dave Crossland <<a href="mailto:dave@lab6.com" target="_blank">dave@lab6.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">1. How does TruFont do it?</div></blockquote><div><br></div></span><div>Trufont used PyQt's inbuilt features to create widgets any where on the screen</div><div>Gtk also has something like this but I'm yet to figure it out </div><span class=""><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div></div><div>2. Do any other Activities have bezier vector drawing?</div></div></blockquote><div><br></div></span><div>I don't know of any, </div><span class=""><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div></div><div>3. Are there any example of bezier vector drawing on the web?</div></div></blockquote><div> <span style="line-height:1.5"> </span></div></span><div>bezier curvers are not the issue here, I need a way to make buttons of the shape of small circular shapes to be displayed over a Gtk.Drawing area </div></blockquote></div><div class="gmail_extra"><br></div><div class="gmail_extra">I think perhaps the smallest font editor codebase I know of is Raph Levien's old (GTK v1) "ppedit" editor, which (I think) does this by having a draw_dots() method:</div><div class="gmail_extra"><br></div><div class="gmail_extra"><a href="http://cd8ba0b44a15c10065fd-24461f391e20b7336331d5789078af53.r23.cf1.rackcdn.com/typeboard.vanillaforums.com/editor/4y/ujtkahwkzbir.gif">http://cd8ba0b44a15c10065fd-24461f391e20b7336331d5789078af53.r23.cf1.rackcdn.com/typeboard.vanillaforums.com/editor/4y/ujtkahwkzbir.gif</a><br></div><br><a href="http://levien.com/garden/ppedit/ppedit_gtk1.c">http://levien.com/garden/ppedit/ppedit_gtk1.c</a><br>
</div><div class="gmail_extra"><br></div><div class="gmail_extra">There's an example of drawing a circle here: <a href="http://zetcode.com/gfx/pycairo/basicdrawing/">http://zetcode.com/gfx/pycairo/basicdrawing/</a></div></div>