1 /* -*- Mode: C++; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
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__
18 #include "dependencyobject.h"
20 /* @Namespace=System.Windows.Media */
21 class CacheMode
: public DependencyObject
{
23 /* @GenerateCBinding,GeneratePInvoke,ManagedAccess=Protected */
27 virtual ~CacheMode ();
30 /* @Namespace=System.Windows.Media */
31 class BitmapCache
: public CacheMode
{
33 /* @GenerateCBinding,GeneratePInvoke */
36 /* @PropertyType=double,DefaultValue=1.0,Validator=DoubleGreaterThanZeroValidator,GenerateAccessors */
37 const static int RenderAtScaleProperty
;
39 double GetRenderAtScale ();
40 void SetRenderAtScale (double scale
);
43 virtual ~BitmapCache ();
46 #endif /* __MOONLIGHT_BITMAPCACHE_H__ */