2009-11-13 Jeffrey Stedfast <fejj@novell.com>
[moon.git] / src / bitmapcache.h
blobd81e3c99074af449894c40f4fdc8d3fbba364930
1 /* -*- Mode: C++; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
3 /*
4 * Contact:
5 * Moonlight List (moonlight-list@lists.ximian.com)
7 * Copyright 2009 Novell, Inc. (http://www.novell.com)
9 * See the LICENSE file included with the distribution for details.
13 #ifndef __MOONLIGHT_BITMAPCACHE_H__
14 #define __MOONLIGHT_BITMAPCACHE_H__
16 #include <glib.h>
17 #include "enums.h"
18 #include "dependencyobject.h"
20 /* @Namespace=System.Windows.Media */
21 class CacheMode : public DependencyObject {
22 public:
23 /* @GenerateCBinding,GeneratePInvoke,ManagedAccess=Protected */
24 CacheMode ();
26 protected:
27 virtual ~CacheMode ();
30 /* @Namespace=System.Windows.Media */
31 class BitmapCache : public CacheMode {
32 public:
33 /* @GenerateCBinding,GeneratePInvoke */
34 BitmapCache ();
36 /* @PropertyType=double,DefaultValue=1.0,Validator=DoubleGreaterThanZeroValidator,GenerateAccessors */
37 const static int RenderAtScaleProperty;
39 double GetRenderAtScale ();
40 void SetRenderAtScale (double scale);
42 protected:
43 virtual ~BitmapCache ();
46 #endif /* __MOONLIGHT_BITMAPCACHE_H__ */