On Tue, 2010-10-19 at 12:11 +0100, Ian Norton wrote:
> Hello,
> 
> I'm trying out Mono.Cairo, I can happily draw circles and other
> primitives quite well now, I confess I don't fully understand how to
> drive cairo. I have a fairly simple short term objective:
> 
> I want to take a small png file from disk and insert it into multiple
> places on my cairo area (I'm basically drawing a map and want to put
> icons on different parts)
> 
> Any tips?

Context g;
..
using ( ImageSurface foo = new ImageSurface( filename ) ){
  foo.Show( g, x, y );
}


Worked for me :)

Ian

_______________________________________________
Mono-list maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-list

Reply via email to