STARINFO

typedef struct _STARINFO 
{ 
   L_UINT uStructSize; 
   POINT pCenter; 
   L_UINT uSpoke; 
   L_UINT uStarWidth; 
   L_UINT uStarHeight; 
   L_UINT uHoleSize; 
   L_INT nPhase; 
   L_INT nAngle; 
   L_INT nDistOpac; 
   L_INT nSpokeDiv; 
   L_INT nAngleOpac; 
   L_INT nBorderOpac; 
   COLORREF crFillLower; 
   COLORREF crFillUpper; 
   L_UINT uOpacity; 
   L_UINT uFlag; 
} STARINFO, *pSTARINFO; 

The STARINFO structure provides star information to the L_DrawStarBitmap function.

Member Description
uStructSize Size of this structure, in bytes. Use the sizeof operator to calculate this value.
pCenter POINT structure that contains the star center.
uSpoke Number of spokes or rays directed inside or outside the star.
uStarWidth Star width.
uStarHeight Star height.
uHoleSize The hole size. This value is given as a percent of the whole star from which the rays start or in which they end. The valid range is from 0 to 100.
nPhase Angle to shift the star's rays. This value is given in hundredths of a degree (+/-). This can be a number from 0 to 36,000. A positive value will rotate the rays clockwise, while a negative value will rotate the rays counter-clockwise.
nAngle Angle to rotate the star. This value is given in hundredths of a degree (+/-). This can be a number from 0 to 36,000. A positive value will rotate the star clockwise, while a negative value will rotate the star counter-clockwise.
nDistOpac Percent of feathering in towards or outward from the spoke center. The valid range is from -100 to 100.
nSpokeDiv The percent by which to increment or decrement the size of the low part spoke. The valid range is from -100 to 100.
nAngleOpac Percent of feathering in towards or outward from the spoke border. The valid range is from -100 to 100.
nBorderOpac Transparency, in percent, of the spoke border. The valid range is from -100 to 100.
crFillLower Lower spoke side color.
crFillUpper Upper spoke side color.
uOpacity Transparency, in percent, between the star and the applied image. The valid range is from 0 to 100.
uFlag Flag that indicates the direction of the rays. Possible values are:
  Value Meaning
  STR_INSIDE [0x0000] The rays are directed toward the center of the star.
  STR_OUTSIDE [0x0001] The rays are directed out from the center of the star.
  STR_INNER [0x0010] The rays fill the star outward from the center. This flag can only be used with STR_OUTSIDE.
Help Version 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.
LEADTOOLS Raster Imaging C API Help