Implementing Special Effects

The LEADTOOLS special effects functions give you precise control over a large variety of effects when you paint bitmaps, text, patterns, and shapes to a device context.

Painting Bitmaps

To apply a transitional effect when painting a bitmap, you can use L_EfxPaintBitmap or L_EfxEffectBlt, and you can specify the following:

Painting Rectangular Areas

You can paint a rectangular area with a solid color, a gradient color transition, or a pattern. The following functions are available:

Painting Three-Dimensional Text

You can paint rotated text using L_EfxDrawRotated3dText or unrotated text using L_EfxDraw3dText. For rotated text, you can specify the angle of rotation. With either of the functions, you can also specify the following:

Painting a Frame

You can use L_EfxDrawFrame to paint a frame. The interior is transparent. The frame, itself, has a three-dimensional apperance. You can specify the following:

Painting a Three-Dimensional Shape

You can use L_EfxDraw3dShape to paint a three-dimensional shape, such as a circle or triangle. For each shape, you can specify the following:

See Also

Topics:

Raster Image Functions: Using Custom Paint