Update contrib.
2 * Copyright (c) 2005 Nokia Corporation and/or its subsidiary(-ies).
4 * This component and the accompanying materials are made available
5 * under the terms of the License "Eclipse Public License v1.0"
6 * which accompanies this distribution, and is available
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
9 * Initial Contributors:
10 * Nokia Corporation - initial contribution.
14 * Description: Transformation cache interface
18 #ifndef __M3G_TCACHE_H__
19 #define __M3G_TCACHE_H__
24 * \brief Transformation cache interface
27 typedef struct TCacheImpl TCache;
31 /*----------------------------------------------------------------------
33 *--------------------------------------------------------------------*/
35 static TCache* m3gCreateTransformCache (Interface *m3g);
36 static void m3gDeleteTransformCache (TCache *cache);
38 static void m3gCacheComposite (TCache *cache, const Transformable *t, const Matrix *m);
39 static void m3gCachePath (TCache *cache, const Node *from, const Node *to, const Matrix *m);
41 static M3Gbool m3gGetCachedComposite (const TCache *cache, const Transformable *t, Matrix *m);
42 static M3Gbool m3gGetCachedPath (const TCache *cache, const Node *from, const Node *to, Matrix *m);
44 static void m3gInvalidateCachedPaths(TCache *cache, const Node *n);
45 static void m3gInvalidateCachedTransforms(TCache *cache, const Transformable *t);
48 #endif /*__M3G_TCACHE_H__*/