typedef struct _BUMPDATA
{
L_UINT uStructSize;
L_INT nAzimuth;
L_UINT uElevation;
L_UINT uDepth;
L_INT nXOffset;
L_INT nYOffset;
L_INT nXDst;
L_INT nYDst;
L_BOOL bTile;
L_INT nBright;
L_INT nIntensity;
L_UINT *pLut;
} BUMPDATA, * pBUMPDATA;
The BUMPDATA structure contains information about the bump map parameter.
Size of this structure, in bytes. Use the sizeof operator to calculate this value.
The Azimuth describes the light source's angular position in the horizontal plane. The valid range is between 360 to 360.
The elevation describes the light source's angular position in the vertical plane. The valid range is between 0 to 180.
The apparent depth of this three-dimensional effect. Valid values are 0 to 1000, with 500 as normal.
The X coordinate of the origin of the Bump rectangle.
The Y coordinate of the origin of the Bump rectangle.
The X coordinate of the origin of the destination rectangle.
The Y coordinate of the origin of the destination rectangle.
Boolean flag that indicates whether to use tiling. Possible values are:
Value | Meaning |
---|---|
TRUE | use tiling. |
FALSE | do not to use tiling. |
Amount to change the intensity. The intensity ranges from -1000 to 1000. A positive value increases (or lightens) the brightness of the resulting image. A negative value decreases (or darkens) the brightness of the resulting image.
Amount to change the intensity. The intensity ranges from -1000 to 1000. A positive value increases (or lightens) the brightness of the destination image. A negative value decreases (or darkens) the brightness of the destination image.
Table of 256 integers containing lookup values that re-map bump bitmap data.
If the bTile member is set to TRUE, the nXOffset and nYOffset members represent the offset in the bump image. If there is a region on the bump image, this region rectangle will represent the bump bitmap.
If the bTile member is set to FALSE, the nXOffset and nYOffset members represent the position in the bump image. If a region is defined for either the bump or destination bitmap, or both bitmaps, the effect applies only to the intersection of regions.
Help Collections
Raster .NET | C API | C++ Class Library | HTML5 JavaScript
Document .NET | C API | C++ Class Library | HTML5 JavaScript
Medical .NET | C API | C++ Class Library | HTML5 JavaScript
Medical Web Viewer .NET
Multimedia
Direct Show .NET | C API | Filters
Media Foundation .NET | C API | Transforms
Supported Platforms
.NET, Java, Android, and iOS/macOS Assemblies
Imaging, Medical, and Document
C API/C++ Class Libraries
Imaging, Medical, and Document
HTML5 JavaScript Libraries
Imaging, Medical, and Document