Describes emboss effect properties.
typedef struct
{
long lLightAngle;
long lElevation;
long lDepth;
BOOL bEmbossp;
BOOL bEnabled;
long lDLightAngle;
long lDElevation;
long lDDepth;
BOOL bDEmbossp;
BOOL bDEnabled;
} EMBOSS_ATTRIBUTES;
The light Angle, 0 to 360 degrees, this parameter will control the light direction.
Elevation angle, 0 to 180 degrees, 0 value will have outer embossing, 180 will have inner embossing effect.
Depth of emboss effect, 1 to 100.
Indicates weather to emboss with a bump map (TRUE) or not (FALSE).
Indicates weather Emboss effect is enabled (TRUE) or not (FALSE).
Default light angle value. Original default value is 180.
Default elevation angle value. Original default value is 90.
Default depth value. Original default value is 1.
Default bump map value. Original default value is TRUE.
Default for bEnabled value. Original default value is TRUE.
Describes the area exposed to the emboss effect.
typedef struct
{
long lLeft;
long lTop;
long lRight;
long lBottom;
BOOL bEnabled;
long lDLeft;
long lDTop;
long lDRight;
long lDBottom;
BOOL bDEnabled;
} CROP_ATTRIBUTES;
The left coordinate of the cropped rectangle, 0 by default.
The top coordinate of the cropped rectangle, 0 by default.
The right coordinate of the cropped rectangle, 1 by default.
The bottom coordinate of the cropped rectangle, 1 by default.
Enable (TRUE) / Disable (FALSE) the effect area.
Default left.
Default top.
Default right.
Default bottom.
Default effect area enable status
Determines whether the filter input pin is currently connected.
Return | Description |
---|---|
S_OK | Connected. |
S_FALSE | Otherwise. |
Determines whether the filter output pin is currently connected.
Return | Description |
---|---|
S_OK | Connected. |
S_FALSE | Otherwise. |
Sets the properties for the emboss effect.
An EMBOSS_ATTRIBUTES structure that contains emboss attributes to set.
Return | Description |
---|---|
S_OK | Successful. |
S_FALSE | Otherwise. |
Retrieves the current emboss attributes.
A valid pointer to an EMBOSS_ATTRIBUTES structure to be updated with the current emboss attributes.
Return | Description |
---|---|
S_OK | Successful. |
S_FALSE | Otherwise. |
Sets the effect area attributes. If successful, effect is applied only to the passed rectangle.
A CROP_ATTRIBUTES structure that contains the effect area attributes to set.
Return | Description |
---|---|
S_OK | Successful. |
S_FALSE | Otherwise. |
Retrieves the current effect area attributes.
A valid pointer to a CROP_ATTRIBUTES structure to be updated with the current effect area attributes.
Return | Description |
---|---|
S_OK | Successful. |
S_FALSE | Otherwise. |
Retrieves the current media dimensions.
A valid pointer to a long variable to be updated with the input media width. NULL can be passed if this value is not needed.
A valid pointer to a long variable to be updated with the input media height. NULL can be passed if this value is not needed.
A valid pointer to a long variable to be updated with the output media width. NULL can be passed if this value is not needed.
A valid pointer to a long variable to be updated with the output media height. NULL can be passed if this value is not needed.
Return | Description |
---|---|
S_OK | Successful. |
S_FALSE | Otherwise. |
Gets the bits per pixel of the current connected input and output media formats.
A valid pointer to an integer to be updated with the input media bits per pixel value. NULL can be passed if this value is not needed.
A valid pointer to an integer to be updated with the output media bits per pixel value. NULL can be passed if this value is not needed.
Return | Description |
---|---|
S_OK | Successful. |
S_FALSE | Otherwise. |