Attr- All constants

From Vectorlab
Jump to: navigation, search


Useful constants for attributes. By Orso B. Schmid


{ Fill Types }
{ used by GetObjectVariableInt(h, 696) }
k_FillNone	= 1;
k_FillSolid	= 2;
k_FillPattern	= 3;
k_FillHatch	= 4;
k_FillGradient	= 5;
k_FillImage	= 6;
k_FillClass	= 7;

(*
Fill style/type selectors
ovFillStyle	= 695;		// long,	read/write
ovFillType	= 696;		// short,	read only
*)

{ gradient types }
k_GradientGeometryLinear	= 1;
k_GradientGeometryRadial	= 2;
k_GradientGeometryRectangular	= 3;
k_GradientGeometryAngle		= 4;

{ EGradientSliderMarkerType - gradient slider marker types. }
k_GradientSliderMarkerSpot	= 1;
k_GradientSliderMarkerMidpoint	= 2;

{ Dash Styles }
{ /SDKLib/Include/Kernel/MiniCadCallBacks.h }
const short kMaxDashSegs	= 10;	{ Maximum # of segments per pattern }
const short kMaxDashPats	= 32767; { Maximum number of dash patterns 
was 16 until VW 7
was 32 until VW 14
was 128 until VW 16
}