Custom Platform Support Development Kit  1.3
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
IShapeService.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 
27 #ifndef ISHAPE_SERVICE_H_
28 #define ISHAPE_SERVICE_H_
29 
30 #include "FCMPreConfig.h"
31 #include "FCMPluginInterface.h"
32 #include "Utils/DOMTypes.h"
33 
34 
35 /* -------------------------------------------------- Forward Decl */
36 
37 namespace FCM
38 {
39  FORWARD_DECLARE_INTERFACE(IFCMList);
40 }
41 
42 
43 namespace DOM
44 {
45  namespace FrameElement
46  {
48  }
49 }
50 
51 
52 
53 /* -------------------------------------------------- Enums */
54 
55 
56 /* -------------------------------------------------- Macros / Constants */
57 
58 namespace DOM
59 {
60  namespace Service
61  {
62  namespace Shape
63  {
71  {0x8365e61d, 0x558d, 0x4540, {0xa7, 0xa4, 0xf4, 0xf9, 0x8e, 0x6a, 0xf0, 0x9b}};
72  }
73  }
74 }
75 
76 
77 /* -------------------------------------------------- Structs / Unions */
78 
79 
80 /* -------------------------------------------------- Class Decl */
81 
82 namespace DOM
83 {
84  namespace Service
85  {
86  namespace Shape
87  {
94 
95 
112  virtual FCM::Result _FCMCALL ConvertStrokeToFill(
113  DOM::FrameElement::PIShape pSrcShape,
114  DOM::FrameElement::PIShape& pDstShape) = 0;
115 
116 
138  virtual FCM::Result _FCMCALL TestShapeSimilarity(
139  DOM::FrameElement::PIShape pShapeA,
140  DOM::FrameElement::PIShape pShapeB,
141  FCM::Boolean& similar,
142  DOM::Utils::MATRIX2D& mapAtoB) = 0;
143 
145  }
146  }
147 }
148 
149 
150 /* -------------------------------------------------- Inline / Functions */
151 
152 
153 #include "FCMPostConfig.h"
154 
155 #endif // ISHAPE_SERVICE_H_
156 
#define FORWARD_DECLARE_INTERFACE(ifx)
Used to forward declare an interface ifx.
Definition: FCMMacros.h:114
#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
Provides interfaces and other definitions to access the FLA authored contents in the form of a DOM (D...
FCM::ConstFCMIID IID_ISHAPE_SERVICE
Defines the universally-unique interface ID for IShapeService.
Definition: IShapeService.h:70
U_Int8 Boolean
Type to define a boolean.
Definition: FCMTypes.h:140
This file contains core definitions of the framework Flash Component Model (FCM). ...
#define _FCMCALL
Defines calling convention for interface methods.
Definition: FCMMacros.h:176
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
Defines a service that provides shape-related utility methods.
Definition: IShapeService.h:93
#define END_DECLARE_INTERFACE
Ends an interface.
Definition: FCMMacros.h:165