home *** CD-ROM | disk | FTP | other *** search
/ CD Actual Thematic 25: Programming / pc_actual_25.iso / Delphi / PolarDraw / data1.cab / ProgramFiles / pdrawconst.h < prev    next >
Encoding:
C/C++ Source or Header  |  2001-08-31  |  9.5 KB  |  232 lines

  1. // pdrawconst.h
  2. // this file contains constants for Polar Draw 2.0 ActiveX control types and methodes
  3. // these constants can be used by C/C++ developers
  4.  
  5. // polShapeType - shape type constants:
  6. #define polFreeform                        0
  7. #define polRectangle                        1
  8. #define polRoundRectangle                2
  9. #define polEllipse                        3
  10. #define polDiamond                        4   
  11. #define polIsoscelesTriangle            5
  12. #define polRightTriangle                6     
  13. #define polParallelogram                7
  14. #define polTrapezoid                        8
  15. #define polHexagon                        9
  16. #define polOctagon                        10
  17. #define polPlusSign                        11
  18. #define polStar                           12
  19. #define polArc                              19
  20. #define polLine                           20
  21. #define polPentagon                        56
  22. #define polLeftArrow                        66
  23. #define polPlainText                        136
  24. #define polTextBox                        202
  25. #define polLink                           10000
  26. #define polDimensionBar                    10250
  27.  
  28. // polLineDash    - line dashing constants
  29. #define polCustomDash              -1
  30. #define polSolid                    0
  31. #define polDot                      2
  32. #define polShort_Dash               6
  33. #define polShort_Dash_Dot           7
  34. #define polLong_Dash                8
  35. #define polLong_Dash_Dot            9
  36. #define polDash_Dot_Dot             10
  37.  
  38. // polEditMode     - control edit mode constants
  39. #define polResize                   1
  40. #define polRotate                   2
  41. #define polEditPoints               3
  42. #define polCreateNew                4
  43. #define polView                     6
  44.  
  45. // polArrowType - arrow type constants
  46. #define polNothing                  0
  47. #define polSimpleArrow              1
  48. #define polStealthArrow             2
  49. #define polDiamondArrow             3
  50. #define polOvalArrow                4
  51. #define polOpenArrow                5
  52.  
  53.  
  54. // polArrowWidth - arrow width constants
  55. #define polNarrowArrow              0
  56. #define polMediumArrowW             1
  57. #define polWideArrow                2
  58.  
  59. // polArrowLength - arrow length constants
  60. #define polShortArrow               0
  61. #define polMediumArrowL             1
  62. #define polLongArrow                2
  63.  
  64. // polAppearance - control appearance constants
  65. #define ccFlat 0
  66. #define cc3D    1
  67.  
  68.  
  69. // polTextures - shape texture constants
  70. #define polDrops                    1
  71. #define polPaperbag                 2
  72. #define polWood                     3
  73. #define polFishFossil               4
  74. #define polNewsprint                5
  75. #define polRecycledPaper                        6
  76. #define polParchment                        7
  77. #define polStationery                        8
  78. #define polGreenMarble                        9
  79. #define polWhiteMarble                        10
  80. #define polBrownMarble                        11
  81. #define polGranite                        12
  82. #define polBlueTissuePaper                        13
  83. #define polPinkTissuePaper                        14
  84. #define polPurpleMesh                        15
  85. #define polBouquet                        16
  86. #define polPapyrus                        17
  87. #define polCanvas                        18
  88. #define polDenim                        19
  89. #define polWovenMat                        20
  90. #define polSand                        21
  91. #define polCork                        22
  92. #define polWalnut                        23
  93. #define polOak                        24
  94.  
  95.  
  96. // polPatterns - fill pattern constants
  97. #define pol5Percent                        1                
  98. #define pol50Percent                        2               
  99. #define polLightDownwardDiagonal                        3   
  100. #define polLightVertical                        4           
  101. #define polDashedDownwardDiagonal                        5  
  102. #define polZigZag                        6                  
  103. #define polDivot                        7                   
  104. #define polSmallGrid                        8               
  105. #define pol10Percent                        9               
  106. #define pol60Percent                        10              
  107. #define polLightUpwardDiagonal                        11    
  108. #define polLightHorizontal                        12        
  109. #define polDashedUpwardDiagonal                        13   
  110. #define polWave                        14                   
  111. #define polDottedGrid                        15             
  112. #define polLargeGrid                        16              
  113. #define pol20Percent                        17              
  114. #define pol70Percent                        18              
  115. #define polDarkDownwardDiagonal                        19
  116. #define polNarrowVertical                        20         
  117. #define polDashedHorizontal                        21       
  118. #define polDiagonalBrick                        22          
  119. #define polDottedDiamond                        23          
  120. #define polSmallCheckerBoard                        24      
  121. #define pol25Percent                        25              
  122. #define pol75Percent                        26              
  123. #define polDarkUpwardDiagonal                        27     
  124. #define polNarrowHorizontal                        28       
  125. #define polDashedVertical                        29         
  126. #define polHorizontalBrick                        30        
  127. #define polShingle                        31                
  128. #define polLargeCheckerBoard                        32      
  129. #define pol30Percent                        33              
  130. #define pol80Percent                        34              
  131. #define polWideDownwardDiagonal                        35   
  132. #define polDarkVertical                        36           
  133. #define polSmallConfetti                        37          
  134. #define polWeave                        38                  
  135. #define polTrellis                        39                
  136. #define polOutlinedDiamond                        40        
  137. #define pol40Percent                        41              
  138. #define pol90Percent                        42              
  139. #define polWideUpwardDiagonal                        43     
  140. #define polDarkHorizontal                        44         
  141. #define polLargeConfetti                        45          
  142. #define polPlaid                        46                  
  143. #define polSphere                        47                 
  144. #define polSolidDiamond                        48           
  145.  
  146.  
  147. // polFillType - shape fill type constants
  148. #define polSolidColor                        0
  149. #define polPattern                        1
  150. #define polTexture                        2
  151. #define polPicture                        3
  152. #define polShade                        7
  153.  
  154.  
  155. // polShadowType - shape shadow type constants
  156. #define polOffShadow                        0
  157. #define polDoubleOffShadow                        1
  158. #define polEmboss                        5
  159.  
  160.  
  161. // polMeasurementUnits - measurement unit constants
  162. #define polUnitsHimetric                        0
  163. #define polUnitsMilimeter                        1
  164. #define polUnitsCentimeter                        2
  165. #define polUnitsTwips                        3
  166. #define polUnitsHienglish                        4
  167. #define polUnitsInch                        5
  168. #define polUnitsPoint                        6
  169. #define polUnitsPica                        7
  170. #define polUnitsPixel                        8
  171.  
  172.               
  173. // polPolygonTypes - #define polygon type constants
  174. #define polCurvePoly                        1
  175. #define polFreeformPoly                        2
  176. #define polScribblePoly                        3
  177.  
  178.  
  179. // polLensType - lens type constants
  180. #define polBrighten                        0
  181. #define polColorAdd                        1
  182. #define polColorLimit                        2
  183. #define polCustomPalette                        3
  184. #define polHeatmapPalette                        5
  185. #define polInvert                        6
  186. #define polTintedGrayscale                        8
  187. #define polTransparency                        9
  188.  
  189.           
  190. // polFitType - window resizing constants
  191. #define polFitToPage                        0
  192. #define polFitToSelection                        1
  193. #define polFitToWidth                        2
  194. #define polFitToHeight                        3
  195.  
  196.  
  197. // polObjectType - object type constants
  198. #define polDrawControlObject                        1
  199. #define polPagesObject                        11
  200. #define polPageObject                        12
  201. #define polShapesObject                        13
  202. #define polShapeObject                        14
  203. #define polFillObject                        15
  204. #define polGuidelinesObject                        16
  205. #define polGuidelineObject                        17
  206. #define polSelectionObject                        18
  207. #define polShapeRangeObject                        19
  208. #define polLineObject                        21
  209. #define polArrowsObject                        22
  210. #define polLensObject                        23
  211. #define polShadowObject                        24
  212. #define polTextObject                        25
  213. #define polConnectionObject                        28
  214. #define polLockObject                        29
  215. #define polFontObject                        30
  216. #define polVerticesObject                        32
  217. #define polVertexObject                        33
  218. #define polHyperlinkObject                        35
  219. #define polWindowObject                        36
  220. #define polEnvironmentObject                        37
  221.  
  222.  
  223. // polZOrderCmd - ZOrder command constants
  224. #define polSendToBack                        0
  225. #define polSendBackward                        1
  226. #define polBringForward                        2
  227. #define polBringToFront                        3
  228.  
  229.  
  230. // polLinkType - link type constants
  231. #define polDirectLink                        0 
  232. #define polManhattanLink                        1