[Mono-list] Cairo Help
Ian Norton
ian.norton-badrul at thales-esecurity.com
Fri Oct 22 11:17:15 EDT 2010
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
More information about the Mono-list
mailing list