Custom Platform Support Development Kit  1.3
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
ISolidStrokeStyle.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 ISOLID_STROKE_STYLE_H_
27 #define ISOLID_STROKE_STYLE_H_
28 
29 #include "FCMPreConfig.h"
30 #include "FCMPluginInterface.h"
31 
32 
33 /* -------------------------------------------------- Forward Decl */
34 
35 namespace DOM
36 {
37  namespace StrokeStyle
38  {
39  FORWARD_DECLARE_INTERFACE(IStrokeWidth);
40  };
41 };
42 
43 
44 /* -------------------------------------------------- Enums */
45 
46 
47 /* -------------------------------------------------- Macros / Constants */
48 
49 namespace DOM
50 {
51  namespace StrokeStyle
52  {
60  {0x6a896201, 0xfd1d, 0x46db, {0x8a, 0xe2, 0xbe, 0x5b, 0x9a, 0xb2, 0x55, 0x29}};
61  }
62 }
63 
64 
65 /* -------------------------------------------------- Structs / Unions */
66 
67 namespace DOM
68 {
69  namespace StrokeStyle
70  {
77  {
84  };
85 
86 
92  struct CAP_STYLE
93  {
98  size_t structSize;
99 
100 
103  };
104 
105 
111  struct JOIN_STYLE
112  {
117  size_t structSize;
118 
119 
122 
123 
124  union
125  {
128  };
129  };
130  }
131 }
132 
133 
134 /* -------------------------------------------------- Class Decl */
135 
136 namespace DOM
137 {
138  namespace StrokeStyle
139  {
146 
147 
155  virtual FCM::Result _FCMCALL GetThickness(FCM::Double& thickness) = 0;
156 
157 
173  virtual FCM::Result _FCMCALL GetFillStyle(PIFCMUnknown& pFillStyle) = 0;
174 
175 
189  virtual FCM::Result _FCMCALL GetJoinStyle(JOIN_STYLE& joinStyle) = 0;
190 
191 
205  virtual FCM::Result _FCMCALL GetCapStyle(CAP_STYLE& capStyle) = 0;
206 
207 
218  virtual FCM::Result _FCMCALL GetScaleType(Utils::ScaleType& scaleType) = 0;
219 
220 
231  virtual FCM::Result _FCMCALL GetStrokeHinting(FCM::Boolean& strokeHinting) = 0;
232 
233 
244  virtual FCM::Result _FCMCALL GetStrokeWidth(DOM::StrokeStyle::PIStrokeWidth& pStrokeWidth) = 0;
245 
247  }
248 }
249 
250 
251 /* -------------------------------------------------- Inline / Functions */
252 
253 
254 #include "FCMPostConfig.h"
255 
256 #endif // ISOLID_STROKE_STYLE_H_
257 
Utils::JoinType type
Definition: ISolidStrokeStyle.h:121
JoinType
This enumerates different types of joins. Join is formed when two curves intersect at a point...
Definition: DOMTypes.h:100
#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
Defines cap style.
Definition: ISolidStrokeStyle.h:92
Provides interfaces and other definitions to access the FLA authored contents in the form of a DOM (D...
ScaleType
This enumerates the types of "scale" that can be applied to stroke.
Definition: DOMTypes.h:138
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
Defines the properties for the miter join.
Definition: ISolidStrokeStyle.h:76
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
FCM::ConstFCMIID IID_ISOLID_STROKE_STYLE
Defines the universally-unique interface ID for ISolidStrokeStyle.
Definition: ISolidStrokeStyle.h:59
Defines an interface that represents a "solid" stroke style of an edge.
Definition: ISolidStrokeStyle.h:145
Defines a join style.
Definition: ISolidStrokeStyle.h:111
size_t structSize
Definition: ISolidStrokeStyle.h:98
CapType
This enumerates different types of cap styles. Cap is formed for open ended lines/curves.
Definition: DOMTypes.h:119
Utils::CapType type
Definition: ISolidStrokeStyle.h:102
MITER_JOIN_PROP miterJoinProp
Definition: ISolidStrokeStyle.h:127
double Double
Type to define a IEEE double-precision floating point number.
Definition: FCMTypes.h:118
FCM::Double miterLimit
Definition: ISolidStrokeStyle.h:83
#define END_DECLARE_INTERFACE
Ends an interface.
Definition: FCMMacros.h:165
size_t structSize
Definition: ISolidStrokeStyle.h:117