1 /* -*- Mode: C++; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
6 * Moonlight List (moonlight-list@lists.ximian.com)
8 * Copyright 2007-2008 Novell, Inc. (http://www.novell.com)
10 * See the LICENSE file included with the distribution for details.
14 #ifndef __IMAGESOURCE_H__
15 #define __IMAGESOURCE_H__
17 #include "dependencyobject.h"
19 /* @Namespace=System.Windows.Media */
20 class ImageSource
: public DependencyObject
{
22 virtual ~ImageSource ();
25 /* @GenerateCBinding,GeneratePInvoke */
29 virtual void Unlock ();
31 virtual gint32
GetPixelWidth ();
32 virtual void SetPixelWidth (gint32 width
);
33 virtual gint32
GetPixelHeight ();
34 virtual void SetPixelHeight (gint32 height
);
35 virtual PixelFormats
GetPixelFormat ();
36 virtual void SetPixelFormat (PixelFormats weight
);
38 virtual cairo_surface_t
*GetSurface (cairo_t
*cr
);
41 #endif /* __IMAGESOURCE_H__ */