Custom Platform Support Development Kit  1.3
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
IMatrix2D.h
Go to the documentation of this file.
1 /******************************************************************************
2 * ADOBE CONFIDENTIAL
3 * ___________________
4 *
5 * Copyright [2013] Adobe Systems Incorporated
6 * All Rights Reserved.
7 *
8 * NOTICE: All information contained herein is, and remains
9 * the property of Adobe Systems Incorporated and its suppliers,
10 * if any. The intellectual and technical concepts contained
11 * herein are proprietary to Adobe Systems Incorporated and its
12 * suppliers and are protected by all applicable intellectual
13 * property laws, including trade secret and copyright laws.
14 * Dissemination of this information or reproduction of this material
15 * is strictly forbidden unless prior written permission is obtained
16 * from Adobe Systems Incorporated.
17 ******************************************************************************/
18 
26 #ifndef IMatrix2D_H_
27 #define IMatrix2D_H_
28 
29 #include "FCMPreConfig.h"
30 #include "FCMTypes.h"
31 #include "IFCMUnknown.h"
32 #include "Utils/DOMTypes.h"
33 
34 
35 /* -------------------------------------------------- Forward Decl */
36 
37 
38 /* -------------------------------------------------- Enums */
39 
40 
41 /* -------------------------------------------------- Macros / Constants */
42 
43 namespace DOM
44 {
45  namespace Utils
46  {
53  {0xbebdd0f, 0xed7a, 0x4410, {0x95, 0x9d, 0x15, 0x2d, 0xa4, 0xee, 0xc2, 0xef}};
54  }
55 }
56 
57 
58 /* -------------------------------------------------- Structs / Unions */
59 
60 
61 /* -------------------------------------------------- Class Decl */
62 
63 namespace DOM
64 {
65  namespace Utils
66  {
73 
74 
82  virtual FCM::Result _FCMCALL SetMatrix(const MATRIX2D& matrix) = 0;
83 
84 
93  virtual FCM::Result _FCMCALL GetRotation(FCM::Float& rotation) = 0;
94 
95 
104  virtual FCM::Result _FCMCALL GetScale(POINT2D& scale) = 0;
105 
106 
115  virtual FCM::Result _FCMCALL GetSkew(POINT2D& skew) = 0;
116 
118  }
119 };
120 
121 
122 /* -------------------------------------------------- Inline / Functions */
123 
124 
125 #include "FCMPostConfig.h"
126 
127 #endif // IMatrix2D_H_
128 
This file contains definitions for various data types.
#define BEGIN_DECLARE_INTERFACE(ifx, iid)
Used to begin the interface ifx with ID iid, which inherits from IFCMUnknown.
Definition: FCMMacros.h:147
The definitions contained in this namespace define a framework called Flash Component Model (FCM)...
Definition: IGroup.h:36
float Float
Type to define a IEEE single precision floating point number.
Definition: FCMTypes.h:111
This file contains interface for IFCMUnknown. All FCM interfaces inherit from IFCMUnknown. This interface is similar to Microsoft's COM IUnknown. Primary purpose of this interface is to facilitate a way to obtain pointers to other interfaces through QueryInterface method.
Provides interfaces and other definitions to access the FLA authored contents in the form of a DOM (D...
#define _FCMCALL
Defines calling convention for interface methods.
Definition: FCMMacros.h:176
Represents a transformation matrix.
Definition: DOMTypes.h:199
This file contains the types used for DOM traversal and access.
U_Int32 Result
Type to define a result. This is usually the return type for most APIs.
Definition: FCMTypes.h:126
Represents a 128 bit or 16-byte GUID (Globally Unique IDentifier) value.
Definition: FCMTypes.h:189
Represents a 2-dimensional point.
Definition: DOMTypes.h:226
FCM::ConstFCMIID IID_IMATRIX2D
Defines the universally-unique Interface ID for IMatrix2D.
Definition: IMatrix2D.h:52
Defines an interface that decomposes a Matrix2D.
Definition: IMatrix2D.h:72
#define END_DECLARE_INTERFACE
Ends an interface.
Definition: FCMMacros.h:165