home *** CD-ROM | disk | FTP | other *** search
- // pdrawconst.h
- // this file contains constants for Polar Draw 2.0 ActiveX control types and methodes
- // these constants can be used by C/C++ developers
-
- // polShapeType - shape type constants:
- #define polFreeform 0
- #define polRectangle 1
- #define polRoundRectangle 2
- #define polEllipse 3
- #define polDiamond 4
- #define polIsoscelesTriangle 5
- #define polRightTriangle 6
- #define polParallelogram 7
- #define polTrapezoid 8
- #define polHexagon 9
- #define polOctagon 10
- #define polPlusSign 11
- #define polStar 12
- #define polArc 19
- #define polLine 20
- #define polPentagon 56
- #define polLeftArrow 66
- #define polPlainText 136
- #define polTextBox 202
- #define polLink 10000
- #define polDimensionBar 10250
-
- // polLineDash - line dashing constants
- #define polCustomDash -1
- #define polSolid 0
- #define polDot 2
- #define polShort_Dash 6
- #define polShort_Dash_Dot 7
- #define polLong_Dash 8
- #define polLong_Dash_Dot 9
- #define polDash_Dot_Dot 10
-
- // polEditMode - control edit mode constants
- #define polResize 1
- #define polRotate 2
- #define polEditPoints 3
- #define polCreateNew 4
- #define polView 6
-
- // polArrowType - arrow type constants
- #define polNothing 0
- #define polSimpleArrow 1
- #define polStealthArrow 2
- #define polDiamondArrow 3
- #define polOvalArrow 4
- #define polOpenArrow 5
-
-
- // polArrowWidth - arrow width constants
- #define polNarrowArrow 0
- #define polMediumArrowW 1
- #define polWideArrow 2
-
- // polArrowLength - arrow length constants
- #define polShortArrow 0
- #define polMediumArrowL 1
- #define polLongArrow 2
-
- // polAppearance - control appearance constants
- #define ccFlat 0
- #define cc3D 1
-
-
- // polTextures - shape texture constants
- #define polDrops 1
- #define polPaperbag 2
- #define polWood 3
- #define polFishFossil 4
- #define polNewsprint 5
- #define polRecycledPaper 6
- #define polParchment 7
- #define polStationery 8
- #define polGreenMarble 9
- #define polWhiteMarble 10
- #define polBrownMarble 11
- #define polGranite 12
- #define polBlueTissuePaper 13
- #define polPinkTissuePaper 14
- #define polPurpleMesh 15
- #define polBouquet 16
- #define polPapyrus 17
- #define polCanvas 18
- #define polDenim 19
- #define polWovenMat 20
- #define polSand 21
- #define polCork 22
- #define polWalnut 23
- #define polOak 24
-
-
- // polPatterns - fill pattern constants
- #define pol5Percent 1
- #define pol50Percent 2
- #define polLightDownwardDiagonal 3
- #define polLightVertical 4
- #define polDashedDownwardDiagonal 5
- #define polZigZag 6
- #define polDivot 7
- #define polSmallGrid 8
- #define pol10Percent 9
- #define pol60Percent 10
- #define polLightUpwardDiagonal 11
- #define polLightHorizontal 12
- #define polDashedUpwardDiagonal 13
- #define polWave 14
- #define polDottedGrid 15
- #define polLargeGrid 16
- #define pol20Percent 17
- #define pol70Percent 18
- #define polDarkDownwardDiagonal 19
- #define polNarrowVertical 20
- #define polDashedHorizontal 21
- #define polDiagonalBrick 22
- #define polDottedDiamond 23
- #define polSmallCheckerBoard 24
- #define pol25Percent 25
- #define pol75Percent 26
- #define polDarkUpwardDiagonal 27
- #define polNarrowHorizontal 28
- #define polDashedVertical 29
- #define polHorizontalBrick 30
- #define polShingle 31
- #define polLargeCheckerBoard 32
- #define pol30Percent 33
- #define pol80Percent 34
- #define polWideDownwardDiagonal 35
- #define polDarkVertical 36
- #define polSmallConfetti 37
- #define polWeave 38
- #define polTrellis 39
- #define polOutlinedDiamond 40
- #define pol40Percent 41
- #define pol90Percent 42
- #define polWideUpwardDiagonal 43
- #define polDarkHorizontal 44
- #define polLargeConfetti 45
- #define polPlaid 46
- #define polSphere 47
- #define polSolidDiamond 48
-
-
- // polFillType - shape fill type constants
- #define polSolidColor 0
- #define polPattern 1
- #define polTexture 2
- #define polPicture 3
- #define polShade 7
-
-
- // polShadowType - shape shadow type constants
- #define polOffShadow 0
- #define polDoubleOffShadow 1
- #define polEmboss 5
-
-
- // polMeasurementUnits - measurement unit constants
- #define polUnitsHimetric 0
- #define polUnitsMilimeter 1
- #define polUnitsCentimeter 2
- #define polUnitsTwips 3
- #define polUnitsHienglish 4
- #define polUnitsInch 5
- #define polUnitsPoint 6
- #define polUnitsPica 7
- #define polUnitsPixel 8
-
-
- // polPolygonTypes - #define polygon type constants
- #define polCurvePoly 1
- #define polFreeformPoly 2
- #define polScribblePoly 3
-
-
- // polLensType - lens type constants
- #define polBrighten 0
- #define polColorAdd 1
- #define polColorLimit 2
- #define polCustomPalette 3
- #define polHeatmapPalette 5
- #define polInvert 6
- #define polTintedGrayscale 8
- #define polTransparency 9
-
-
- // polFitType - window resizing constants
- #define polFitToPage 0
- #define polFitToSelection 1
- #define polFitToWidth 2
- #define polFitToHeight 3
-
-
- // polObjectType - object type constants
- #define polDrawControlObject 1
- #define polPagesObject 11
- #define polPageObject 12
- #define polShapesObject 13
- #define polShapeObject 14
- #define polFillObject 15
- #define polGuidelinesObject 16
- #define polGuidelineObject 17
- #define polSelectionObject 18
- #define polShapeRangeObject 19
- #define polLineObject 21
- #define polArrowsObject 22
- #define polLensObject 23
- #define polShadowObject 24
- #define polTextObject 25
- #define polConnectionObject 28
- #define polLockObject 29
- #define polFontObject 30
- #define polVerticesObject 32
- #define polVertexObject 33
- #define polHyperlinkObject 35
- #define polWindowObject 36
- #define polEnvironmentObject 37
-
-
- // polZOrderCmd - ZOrder command constants
- #define polSendToBack 0
- #define polSendBackward 1
- #define polBringForward 2
- #define polBringToFront 3
-
-
- // polLinkType - link type constants
- #define polDirectLink 0
- #define polManhattanLink 1