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.
16 #include "application.h"
17 #include "bitmapsource.h"
19 ImageSource::ImageSource ()
21 SetObjectType (Type::IMAGESOURCE
);
24 ImageSource::~ImageSource ()
34 ImageSource::Unlock ()
39 ImageSource::GetPixelWidth ()
45 ImageSource::SetPixelWidth (gint32 width
)
50 ImageSource::GetPixelHeight ()
56 ImageSource::SetPixelHeight (gint32 height
)
61 ImageSource::GetPixelFormat ()
63 return PixelFormatBgr32
;
67 ImageSource::SetPixelFormat (PixelFormats weight
)
72 ImageSource::GetSurface (cairo_t
*cr
)