ADDFRAMEINFO

typedef struct _ADDFRAMEINFO 
{ 
   L_UINT uStructSize; 
   pBITMAPHANDLE pBitmapFrame; 
   L_BOOL bKeepFrameState; 
   L_BOOL bUseMask; 
   COLORREF crMask; 
   L_UCHAR SmoothEdge; 
   L_INT nLocation; 
   L_INT nQuality; 
} ADDFRAMEINFO, *pADDFRAMEINFO; 

The ADDFRAMEINFO structure contains information about the frame to add to the bitmap.

 

crMask COLORREF value used to specify the region on the frame bitmap, in which to put the bitmap. This value is used only if the bUseMask member is TRUE. The default value is black.
SmoothEdge Value that indicates the amount to smooth the edge between the frame and the original bitmap. In most cases, useful values are 30 and 50. This value is used only when the bUseMask member is FALSE. The default value is 0.
nLocation Flag that indicates the location of the frame with respect to the bitmap. Possible values are:
  Value Meaning
  FRAME_INSIDE [0] The frame will be within the original bitmap. This is the default.
  FRAME_OUTSIDE [1] The frame will be outside the original bitmap.
nQuality Flag that specifies the quality of the resulting bitmap. Possible values are:
  Value Meaning
  FRAME_QUALITY_LOW [0] Give the resulting bitmap normal quality.
  FRAME_QUALITY_HIGH [1] Give the resulting bitmap high quality.

Comments

This structure is used by the L_AddFrame function.

Help Version 20.0.2018.7.30
Products | Support | Contact Us | Copyright Notices
© 1991-2018 LEAD Technologies, Inc. All Rights Reserved.

LEADTOOLS Raster Imaging C API Help