24 #ifndef __IGraphicAttributeUtils__ 25 #define __IGraphicAttributeUtils__ 28 const PMReal kMinCornerRadius = 0;
29 const PMReal kMaxCornerRadius = 800;
31 const PMReal kMinMiterLimit = 1;
32 const PMReal kMaxMiterLimit = 500;
33 const PMReal kDefaultMiterLimit = 4;
35 const PMReal kMinStrokeWeight = 0;
36 const PMReal kMaxStrokeWeight = 800;
38 const PMReal kMinTintPercentage = 0;
39 const PMReal kMaxTintPercentage = 100;
41 const PMReal kMinGradientMidPointStop = 13;
42 const PMReal kMaxGradientMidPointStop = 87;
44 const PMReal kMinGradientStop = 0;
45 const PMReal kMaxGradientStop = 100;
47 const PMReal kMinOpacityPercentage = 0;
48 const PMReal kMaxOpacityPercentage = 100;
50 const PMReal kMinColorCMYKValue = 0;
51 const PMReal kMaxColorCMYKValue = 100;
53 const PMReal kMinColorLValue = 0;
54 const PMReal kMinColorAValue = -128;
55 const PMReal kMinColorBValue = -128;
56 const PMReal kMaxColorLValue = 100;
57 const PMReal kMaxColorAValue = 127;
58 const PMReal kMaxColorBValue = 127;
60 const PMReal kMinColorRGBValue = 0;
61 const PMReal kMaxColorRGBValue = 255;
63 const PMReal kMinColorHSBHValue = 0;
64 const PMReal kMinColorHSBSValue = 0;
65 const PMReal kMinColorHSBBValue = 0;
66 const PMReal kMaxColorHSBHValue = 360;
67 const PMReal kMaxColorHSBSValue = 100;
68 const PMReal kMaxColorHSBBValue = 100;
71 const PMReal kMinGradientAngleValue = -180;
72 const PMReal kMaxGradientAngleValue = 180;
74 const PMReal kDefaultStrokeWt = 1.0;
75 const PMReal kJDefaultStrokeWt = (0.1 / 25.4 * 72.0);
77 const PMReal kDefaultCornerRadius = 12.0;
78 const PMReal kJDefaultCornerRadius = (5.0 / 25.4 * 72.0);
80 const PMReal kMinArrowHeadScale = 1.0;
81 const PMReal kMaxArrowHeadScale = 1000.0;
82 const PMReal kDefaultArrowHeadScale = 100.0;
84 #ifndef __ODFRC__ // when used for core resource compilation, provide just the parameter range constants 86 #include "GraphicsID.h" 87 #include "IPMUnknown.h" 90 #include "ShuksanID.h" 123 enum { kDefaultIID = IID_IGRAPHICATTRIBUTEUTILS };
206 bool16 enableDoNotify
257 bool16 enableDoNotify
313 bool16 enableDoNotify
373 bool16 enableDoNotify
428 bool16 enableDoNotify
482 bool16 enableDoNotify
536 bool16 enableDoNotify
587 bool16 enableDoNotify
639 bool16 enableDoNotify
654 PMReal& gradientHiliteLength,
664 PMReal gradientHiliteLength
674 PMReal gradientHiliteLength,
687 PMReal gradientHiliteLength,
690 bool16 enableDoNotify
706 PMReal& gradientHiliteLength,
716 PMReal gradientHiliteLength
726 PMReal gradientHiliteLength,
739 PMReal gradientHiliteLength,
742 bool16 enableDoNotify
757 PMReal& gradientHiliteAngle,
767 PMReal gradientHiliteAngle
777 PMReal gradientHiliteAngle,
790 PMReal gradientHiliteAngle,
793 bool16 enableDoNotify
809 PMReal& gradientHiliteAngle,
819 PMReal gradientHiliteAngle
829 PMReal gradientHiliteAngle,
842 PMReal gradientHiliteAngle,
845 bool16 enableDoNotify
903 bool16 enableDoNotify,
955 bool16 enableDoNotify
971 bool16& overprintFill,
991 bool16 overprintFill,
1004 bool16 overprintFill,
1005 const UIDList* targetItemList,
1007 bool16 enableDoNotify
1023 bool16& overprintStroke,
1033 bool16 overprintStroke
1043 bool16 overprintStroke,
1056 bool16 overprintStroke,
1057 const UIDList* targetItemList,
1059 bool16 enableDoNotify
1112 const UIDList* targetItemList,
1114 bool16 enableDoNotify
1166 const UIDList* targetItemList,
1168 bool16 enableDoNotify
1184 int32& arrowHeadAlignment,
1195 int32 arrowHeadAlignment
1206 int32 arrowHeadAlignment,
1220 int32 arrowHeadAlignment,
1221 const UIDList* targetItemList,
1223 bool16 enableDoNotify
1244 UID& lineImplementationUID,
1257 UID lineImplementationUID
1270 UID lineImplementationUID,
1286 UID lineImplementationUID,
1287 const UIDList* targetItemList,
1289 bool16 enableDoNotify
1307 ClassID& lineEndStartImplementation,
1318 ClassID lineEndStartImplementation
1329 ClassID lineEndStartImplementation,
1343 ClassID lineEndStartImplementation,
1344 const UIDList* targetItemList,
1346 bool16 enableDoNotify
1364 ClassID& lineEndEndImplementation,
1375 ClassID lineEndEndImplementation
1386 ClassID lineEndEndImplementation,
1400 ClassID lineEndEndImplementation,
1401 const UIDList* targetItemList,
1403 bool16 enableDoNotify
1416 PMReal arrowHeadScaleFactor
1429 PMReal arrowHeadScaleFactor,
1430 const UIDList* targetItemList,
1432 bool16 enableDoNotify
1444 PMReal& arrowHeadScaleFactor,
1456 PMReal arrowHeadScaleFactor,
1484 const UIDList* targetItemList,
1486 bool16 enableDoNotify
1530 ClassID& cornerImplementation,
1574 const UIDList* targetItemList,
1576 bool16 enableDoNotify,
1598 UID& strokeRenderingUID,
1621 UID strokeRenderingUID
1634 UID strokeRenderingUID,
1650 UID strokeRenderingUID,
1651 const UIDList* targetItemList,
1653 bool16 enableDoNotify
1672 UID& fillRenderingUID,
1696 UID fillRenderingUID
1708 UID fillRenderingUID,
1724 UID fillRenderingUID,
1725 const UIDList* targetItemList,
1727 bool16 enableDoNotify
1777 const UIDList* targetItemList,
1779 bool16 enableDoNotify
1829 const UIDList* targetItemList,
1831 bool16 enableDoNotify
1846 bool16& evenOddFill,
1880 const UIDList* targetItemList,
1882 bool16 enableDoNotify
1932 const UIDList* targetItemList,
1934 bool16 enableDoNotify
1977 UID& gapRenderingUID,
2015 UID gapRenderingUID,
2031 UID gapRenderingUID,
2032 const UIDList* targetItemList,
2034 bool16 enableDoNotify
2084 const UIDList* targetItemList,
2086 bool16 enableDoNotify
2101 bool16& overprintGap,
2121 bool16 overprintGap,
2134 bool16 overprintGap,
2135 const UIDList* targetItemList,
2137 bool16 enableDoNotify
2153 int32& strokeAlignment,
2164 int32 strokeAlignment
2176 int32 strokeAlignment,
2190 int32 strokeAlignment,
2191 const UIDList* targetItemList,
2193 bool16 enableDoNotify
2225 #endif // __IGraphicAttributeUtils__