Also appears in: Pattern Fill Definition
Link to the Pattern Fill Definition object.
Also appears in: Background Surface, System Guide
Color and transparency (4 bytes)
The first three bytes specify the intensity of red (R), green (G) and blue (B) while the last byte specifies the transparency level (T). All values are in the 0-255 range. The value 0 means minimum intensity, 255 means maximum intensity.
The length of this field, when converted to the binary format, is precisely 4 bytes.
Sample values:
"00 00 00 00" (0, 0, 0, 0) = Fully Black, Fully Opaque
"00 00 00 7F" (0, 0, 0, 127) = Fully Black, 50% Transparent
"FF 00 00 00" (255, 0, 0, 0) = Fully Red, Fully Opaque
"00 FF 00 7F" (0, 255, 0, 127) = Fully Green, 50% Transparent
"FF FF FF FF" (255, 255, 255, 255) = Fully White, Fully Transparent
"00 7F 00 00" (0, 127, 0, 0) = 50% Green, Fully Transparent
"7F 7F 7F 7F" (127, 127, 127, 127) = Gray, 50% Transparent
Style Effect
Style effect to apply to a surface. The first byte is EffectID, the second byte is EffectParameter. Thus, the length of this field, when converted to the binary format, is precisely 2 bytes.
EffectID identifies one of D-Type's special effects. EffectParameter is used in conjunction with EffectID and provides effect specific parameters. Typically this is the value/amount of the effect. The following chart lists all currently supported style effects and explains how to use their parameters:
EffectID: 0 (DV_EFFECT_NONE)
Description: No special effect
EffectParameter: Has no meaning and should be set to 0.
EffectID: 1 (DV_EFFECT_HBLUR_FUZZY)
Description: Fuzzy Blur - only horizontal
EffectParameter: The amount of blur in pixels.
EffectID: 2 (DV_EFFECT_VBLUR_FUZZY)
Description: Fuzzy Blur - only vertical
EffectParameter: The amount of blur in pixels.
EffectID: 3 (DV_EFFECT_HVBLUR_FUZZY)
Description: Fuzzy Blur - horizontal and vertical
EffectParameter: The amount of blur in pixels.
EffectID: 4 (DV_EFFECT_HBLUR_GAUSS)
Description: Gaussian Blur - only horizontal
EffectParameter: The amount of blur in pixels.
EffectID: 5 (DV_EFFECT_VBLUR_GAUSS)
Description: Gaussian Blur - only vertical
EffectParameter: The amount of blur in pixels.
EffectID: 6 (DV_EFFECT_HVBLUR_GAUSS)
Description: Gaussian Blur - horizontal and vertical
EffectParameter: The amount of blur in pixels.
EffectID: 7 (DV_EFFECT_EMBOSS_50_NW)
Description: 50% Transparent Emboss - North-West
EffectParameter: The amount of emboss in pixels.
EffectID: 8 (DV_EFFECT_EMBOSS_50_NE)
Description: 50% Transparent Emboss - North-East
EffectParameter: The amount of emboss in pixels.
EffectID: 9 (DV_EFFECT_EMBOSS_50_SW)
Description: 50% Transparent Emboss - South-West
EffectParameter: The amount of emboss in pixels.
EffectID: 10 (DV_EFFECT_EMBOSS_50_SE)
Description: 50% Transparent Emboss - South-East
EffectParameter: The amount of emboss in pixels.
EffectID: 11 (DV_EFFECT_PATTERN_PHOTO)
Description: Pattern Group 1 - Photo Shades
EffectParameter: Pattern fill index. Refer to Appendix - Pattern Fills for a list of available pattern fills.
EffectID: 12 (DV_EFFECT_PATTERN_SHADES)
Description: Pattern Group 2 - Fine Shades
EffectParameter: Pattern fill index. Refer to Appendix - Pattern Fills for a list of available pattern fills.
EffectID: 13 (DV_EFFECT_PATTERN_STRIPES)
Description: Pattern Group 3 - Stripes
EffectParameter: Pattern fill index. Refer to Appendix - Pattern Fills for a list of available pattern fills.
EffectID: 14 (DV_EFFECT_PATTERN_ORNAMENTAL)
Description: Pattern Group 4 - Ornamental
EffectParameter: Pattern fill index. Refer to Appendix - Pattern Fills for a list of available pattern fills.
EffectID: 15 (DV_EFFECT_EDGE_50_NW)
Description: 50% Transparent Shaded Edge - North-West
EffectParameter: The shading factor in pixels.
EffectID: 16 (DV_EFFECT_EDGE_50_NE)
Description: 50% Transparent Shaded Edge - North-East
EffectParameter: The shading factor in pixels.
EffectID: 17 (DV_EFFECT_EDGE_50_SW)
Description: 50% Transparent Shaded Edge - South-West
EffectParameter: The shading factor in pixels.
EffectID: 18 (DV_EFFECT_EDGE_50_SE)
Description: 50% Transparent Shaded Edge - South-East
EffectParameter: The shading factor in pixels.
EffectID: 19 (DV_EFFECT_BODY_50_NW)
Description: 50% Transparent Shaded Body - North-West
EffectParameter: The shading factor in pixels.
EffectID: 20 (DV_EFFECT_BODY_50_NE)
Description: 50% Transparent Shaded Body - North-East
EffectParameter: The shading factor in pixels.
EffectID: 21 (DV_EFFECT_BODY_50_SW)
Description: 50% Transparent Shaded Body - South-West
EffectParameter: The shading factor in pixels.
EffectID: 22 (DV_EFFECT_BODY_50_SE)
Description: 50% Transparent Shaded Body - South-East
EffectParameter: The shading factor in pixels.
EffectID: 23 (DV_EFFECT_EDGE_100_NW)
Description: Opaque Shaded Edge - North-West
EffectParameter: The shading factor in pixels.
EffectID: 24 (DV_EFFECT_EDGE_100_NE)
Description: Opaque Shaded Edge - North-East
EffectParameter: The shading factor in pixels.
EffectID: 25 (DV_EFFECT_EDGE_100_SW)
Description: Opaque Shaded Edge - South-West
EffectParameter: The shading factor in pixels.
EffectID: 26 (DV_EFFECT_EDGE_100_SE)
Description: Opaque Shaded Edge - South-East
EffectParameter: The shading factor in pixels.
EffectID: 27 (DV_EFFECT_BODY_100_NW)
Description: Opaque Shaded Body - North-West
EffectParameter: The shading factor in pixels.
EffectID: 28 (DV_EFFECT_BODY_100_NE)
Description: Opaque Shaded Body - North-East
EffectParameter: The shading factor in pixels.
EffectID: 29 (DV_EFFECT_BODY_100_SW)
Description: Opaque Shaded Body - South-West
EffectParameter: The shading factor in pixels.
EffectID: 30 (DV_EFFECT_BODY_100_SE)
Description: Opaque Shaded Body - South-East
EffectParameter: The shading factor in pixels.
EffectID: 31 (DV_EFFECT_SHADE_INNER_A)
Description: Inner Shade A
EffectParameter: The shading factor in pixels.
EffectID: 32 (DV_EFFECT_SHADE_INNER_B)
Description: Inner Shade B
EffectParameter: The shading factor in pixels.
EffectID: 33 (DV_EFFECT_SHADE_INNER_C)
Description: Inner Shade C
EffectParameter: The shading factor in pixels.
EffectID: 34 (DV_EFFECT_HBOLD)
Description: Bold - only horizontal
EffectParameter: The amount of emboldening in pixels.
EffectID: 35 (DV_EFFECT_VBOLD)
Description: Bold - only vertical
EffectParameter: The amount of emboldening in pixels.
EffectID: 36 (DV_EFFECT_HVBOLD)
Description: Bold - horizontal and vertical
EffectParameter: The amount of emboldening in pixels.
EffectID: 37 (DV_EFFECT_HBOLD_VBLUR_FUZZY)
Description: Horizontal Bold with vertical Fuzzy Blur
EffectParameter: The amount of emboldening and blur in pixels.
EffectID: 38 (DV_EFFECT_VBOLD_HBLUR_FUZZY)
Description: Vertical Bold with horizontal Fuzzy Blur
EffectParameter: The amount of emboldening and blur in pixels.
EffectID: 39 (DV_EFFECT_PATTERN_INVPHOTO)
Description: Inverted Pattern Group 1 - Photo Shades
EffectParameter: Pattern fill index. Refer to Appendix - Pattern Fills for a list of available pattern fills.
EffectID: 40 (DV_EFFECT_PATTERN_INVSHADES)
Description: Inverted Pattern Group 2 - Fine Shades
EffectParameter: Pattern fill index. Refer to Appendix - Pattern Fills for a list of available pattern fills.
EffectID: 41 (DV_EFFECT_PATTERN_INVSTRIPES)
Description: Inverted Pattern Group 3 - Stripes
EffectParameter: Pattern fill index. Refer to Appendix - Pattern Fills for a list of available pattern fills.
EffectID: 42 (DV_EFFECT_PATTERN_INVORNAMENTAL)
Description: Inverted Pattern Group 4 - Ornamental
EffectParameter: Pattern fill index. Refer to Appendix - Pattern Fills for a list of available pattern fills.
EffectID: 43 (DV_EFFECT_PATTERN_CUSTOM)
Description: Custom Pattern Fill
EffectParameter: Custom pattern fill index.
EffectID: 44 (DV_EFFECT_RESERVED_A)
Description: Reserved for future use
EffectParameter: Has no meaning and should be set to 0.
EffectID: 45 (DV_EFFECT_RESERVED_B)
Description: Reserved for future use
EffectParameter: Has no meaning and should be set to 0.
EffectID: 46 (DV_EFFECT_HBLUR_STACK)
Description: Stack Blur - only horizontal
EffectParameter: The amount of blur in pixels.
EffectID: 47 (DV_EFFECT_VBLUR_STACK)
Description: Stack Blur - only vertical
EffectParameter: The amount of blur in pixels.
EffectID: 48 (DV_EFFECT_HVBLUR_STACK)
Description: Stack Blur - horizontal and vertical
EffectParameter: The amount of blur in pixels.
EffectID: 49 (DV_EFFECT_HBOLD_VBLUR_GAUSS)
Description: Horizontal Bold with vertical Gaussian Blur
EffectParameter: The amount of emboldening and blur in pixels.
EffectID: 50 (DV_EFFECT_VBOLD_HBLUR_GAUSS)
Description: Vertical Bold with horizontal Gaussian Blur
EffectParameter: The amount of emboldening and blur in pixels.
EffectID: 51 (DV_EFFECT_HBOLD_VBLUR_STACK)
Description: Horizontal Bold with vertical Stack Blur
EffectParameter: The amount of emboldening and blur in pixels.
EffectID: 52 (DV_EFFECT_VBOLD_HBLUR_STACK)
Description: Vertical Bold with horizontal Stack Blur
EffectParameter: The amount of emboldening and blur in pixels.
EffectID: 53 (DV_EFFECT_RESERVED_B)
Description: Reserved for future use
EffectParameter: Has no meaning and should be set to 0.
EffectID: 54 (DV_EFFECT_RESERVED_C)
Description: Reserved for future use
EffectParameter: Has no meaning and should be set to 0.
EffectID: 55 (DV_EFFECT_HOUTLINE)
Description: Outline - only horizontal
EffectParameter: Outline value in pixels.
EffectID: 56 (DV_EFFECT_VOUTLINE)
Description: Outline - only vertical
EffectParameter: Outline value in pixels.
EffectID: 57 (DV_EFFECT_HVOUTLINE)
Description: Outline - horizontal and vertical
EffectParameter: Outline value in pixels.
Notes:
Note 1: Effects 4, 5 and 6 (Gaussian Blur) are computationally intensive. The larger the amount of blur, the more time it takes to render the effect. Use Gaussian Blur with caution, especially on slower machines.
Note 2: Fuzzy Blur and Stack Blur are extremely fast and suitable for real-time blurring.
Note 3: Gaussian Blur and Stack Blur produce softer, more aesthetically pleasing look compared to Fuzzy Blur.
Note 4: In order to use effects 11, 12, 13, 14, 39, 40, 41 or 42, the engine must be initialized using the dtype.pat file. This file contains pattern fill definitions listed in Appendix - Pattern Fills.
Note 5: Effects 34, 35, 36 (Bold) can be used to simulate bold typefaces.
Sample values:
"18 0F" (24, 15) = Opaque Shaded Edge - North-East (DV_EFFECT_EDGE_100_NE) with the shading factor of 15 pixels
"03 0F" (3, 15) = Fuzzy Blur - horizontal and vertical (DV_EFFECT_HVBLUR_FUZZY) with the blur amount of 15 pixels
"0D 04" (13, 4) = Pattern Group 3 - Stripes (DV_EFFECT_PATTERN_STRIPES) with pattern fill #4
Array of Style Effects
Style effects to apply to a surface. This is an array that contains one or more effect values. The maximum number of values this array can hold is 64. The array begins with the first EffectID, which is followed by the first set of n EffectParameter values. The array continues with the second EffectID, which is followed by the second set of n EffectParameter values. The array continues with the third EffectID, which is followed by the third set of n EffectParameter values. And so on. Once again, the total number of EffectID and EffectParameter values in the array cannot exceed 64.
The number of EffectParameter values in each set (n) depends on the actual EffectID in that set. Some EffectID values have no parameters, while others have 1 or 2 parameters. See Appendix - Style Effects for details.
EffectID identifies one of D-Type's special effects, while EffectParameter values provide effect specific parameters. Some effects have no parameters, while others have 1 or 2 EffectParameter values. The following chart lists all currently supported style effects and explains how to use their parameters:
EffectID: 0 (DV_EFFECT_NONE)
Description: No special effect
Number of Required EffectParameter Values (n): 0
EffectID: 1 (DV_EFFECT_HBLUR_FUZZY)
Description: Fuzzy Blur - only horizontal
Number of Required EffectParameter Values (n): 1
1st EffectParameter: The amount of horizontal blur in pixels.
EffectID: 2 (DV_EFFECT_VBLUR_FUZZY)
Description: Fuzzy Blur - only vertical
Number of Required EffectParameter Values (n): 1
1st EffectParameter: The amount of vertical blur in pixels.
EffectID: 3 (DV_EFFECT_HVBLUR_FUZZY)
Description: Fuzzy Blur - horizontal and vertical
Number of Required EffectParameter Values (n): 2
1st EffectParameter: The amount of horizontal blur in pixels.
2nd EffectParameter: The amount of vertical blur in pixels.
EffectID: 4 (DV_EFFECT_HBLUR_GAUSS)
Description: Gaussian Blur - only horizontal
Number of Required EffectParameter Values (n): 1
1st EffectParameter: The amount of horizontal blur in pixels.
EffectID: 5 (DV_EFFECT_VBLUR_GAUSS)
Description: Gaussian Blur - only vertical
Number of Required EffectParameter Values (n): 1
1st EffectParameter: The amount of vertical blur in pixels.
EffectID: 6 (DV_EFFECT_HVBLUR_GAUSS)
Description: Gaussian Blur - horizontal and vertical
Number of Required EffectParameter Values (n): 2
1st EffectParameter: The amount of horizontal blur in pixels.
2nd EffectParameter: The amount of vertical blur in pixels.
EffectID: 7 (DV_EFFECT_EMBOSS_50_NW)
Description: 50% Transparent Emboss - North-West
Number of Required EffectParameter Values (n): 2
1st EffectParameter: The amount of horizontal emboss in pixels.
2nd EffectParameter: The amount of vertical emboss in pixels.
EffectID: 8 (DV_EFFECT_EMBOSS_50_NE)
Description: 50% Transparent Emboss - North-East
Number of Required EffectParameter Values (n): 2
1st EffectParameter: The amount of horizontal emboss in pixels.
2nd EffectParameter: The amount of vertical emboss in pixels.
EffectID: 9 (DV_EFFECT_EMBOSS_50_SW)
Description: 50% Transparent Emboss - South-West
Number of Required EffectParameter Values (n): 2
1st EffectParameter: The amount of horizontal emboss in pixels.
2nd EffectParameter: The amount of vertical emboss in pixels.
EffectID: 10 (DV_EFFECT_EMBOSS_50_SE)
Description: 50% Transparent Emboss - South-East
Number of Required EffectParameter Values (n): 2
1st EffectParameter: The amount of horizontal emboss in pixels.
2nd EffectParameter: The amount of vertical emboss in pixels.
EffectID: 11 (DV_EFFECT_PATTERN_PHOTO)
Description: Pattern Group 1 - Photo Shades
Number of Required EffectParameter Values (n): 1
1st EffectParameter: Pattern fill index. Refer to Appendix - Pattern Fills for a list of available pattern fills.
EffectID: 12 (DV_EFFECT_PATTERN_SHADES)
Description: Pattern Group 2 - Fine Shades
Number of Required EffectParameter Values (n): 1
1st EffectParameter: Pattern fill index. Refer to Appendix - Pattern Fills for a list of available pattern fills.
EffectID: 13 (DV_EFFECT_PATTERN_STRIPES)
Description: Pattern Group 3 - Stripes
Number of Required EffectParameter Values (n): 1
1st EffectParameter: Pattern fill index. Refer to Appendix - Pattern Fills for a list of available pattern fills.
EffectID: 14 (DV_EFFECT_PATTERN_ORNAMENTAL)
Description: Pattern Group 4 - Ornamental
Number of Required EffectParameter Values (n): 1
1st EffectParameter: Pattern fill index. Refer to Appendix - Pattern Fills for a list of available pattern fills.
EffectID: 15 (DV_EFFECT_EDGE_50_NW)
Description: 50% Transparent Shaded Edge - North-West
Number of Required EffectParameter Values (n): 2
1st EffectParameter: The horizontal shading factor in pixels.
2nd EffectParameter: The vertical shading factor in pixels.
EffectID: 16 (DV_EFFECT_EDGE_50_NE)
Description: 50% Transparent Shaded Edge - North-East
Number of Required EffectParameter Values (n): 2
1st EffectParameter: The horizontal shading factor in pixels.
2nd EffectParameter: The vertical shading factor in pixels.
EffectID: 17 (DV_EFFECT_EDGE_50_SW)
Description: 50% Transparent Shaded Edge - South-West
Number of Required EffectParameter Values (n): 2
1st EffectParameter: The horizontal shading factor in pixels.
2nd EffectParameter: The vertical shading factor in pixels.
EffectID: 18 (DV_EFFECT_EDGE_50_SE)
Description: 50% Transparent Shaded Edge - South-East
Number of Required EffectParameter Values (n): 2
1st EffectParameter: The horizontal shading factor in pixels.
2nd EffectParameter: The vertical shading factor in pixels.
EffectID: 19 (DV_EFFECT_BODY_50_NW)
Description: 50% Transparent Shaded Body - North-West
Number of Required EffectParameter Values (n): 2
1st EffectParameter: The horizontal shading factor in pixels.
2nd EffectParameter: The vertical shading factor in pixels.
EffectID: 20 (DV_EFFECT_BODY_50_NE)
Description: 50% Transparent Shaded Body - North-East
Number of Required EffectParameter Values (n): 2
1st EffectParameter: The horizontal shading factor in pixels.
2nd EffectParameter: The vertical shading factor in pixels.
EffectID: 21 (DV_EFFECT_BODY_50_SW)
Description: 50% Transparent Shaded Body - South-West
Number of Required EffectParameter Values (n): 2
1st EffectParameter: The horizontal shading factor in pixels.
2nd EffectParameter: The vertical shading factor in pixels.
EffectID: 22 (DV_EFFECT_BODY_50_SE)
Description: 50% Transparent Shaded Body - South-East
Number of Required EffectParameter Values (n): 2
1st EffectParameter: The horizontal shading factor in pixels.
2nd EffectParameter: The vertical shading factor in pixels.
EffectID: 23 (DV_EFFECT_EDGE_100_NW)
Description: Opaque Shaded Edge - North-West
Number of Required EffectParameter Values (n): 2
1st EffectParameter: The horizontal shading factor in pixels.
2nd EffectParameter: The vertical shading factor in pixels.
EffectID: 24 (DV_EFFECT_EDGE_100_NE)
Description: Opaque Shaded Edge - North-East
Number of Required EffectParameter Values (n): 2
1st EffectParameter: The horizontal shading factor in pixels.
2nd EffectParameter: The vertical shading factor in pixels.
EffectID: 25 (DV_EFFECT_EDGE_100_SW)
Description: Opaque Shaded Edge - South-West
Number of Required EffectParameter Values (n): 2
1st EffectParameter: The horizontal shading factor in pixels.
2nd EffectParameter: The vertical shading factor in pixels.
EffectID: 26 (DV_EFFECT_EDGE_100_SE)
Description: Opaque Shaded Edge - South-East
Number of Required EffectParameter Values (n): 2
1st EffectParameter: The horizontal shading factor in pixels.
2nd EffectParameter: The vertical shading factor in pixels.
EffectID: 27 (DV_EFFECT_BODY_100_NW)
Description: Opaque Shaded Body - North-West
Number of Required EffectParameter Values (n): 2
1st EffectParameter: The horizontal shading factor in pixels.
2nd EffectParameter: The vertical shading factor in pixels.
EffectID: 28 (DV_EFFECT_BODY_100_NE)
Description: Opaque Shaded Body - North-East
Number of Required EffectParameter Values (n): 2
1st EffectParameter: The horizontal shading factor in pixels.
2nd EffectParameter: The vertical shading factor in pixels.
EffectID: 29 (DV_EFFECT_BODY_100_SW)
Description: Opaque Shaded Body - South-West
Number of Required EffectParameter Values (n): 2
1st EffectParameter: The horizontal shading factor in pixels.
2nd EffectParameter: The vertical shading factor in pixels.
EffectID: 30 (DV_EFFECT_BODY_100_SE)
Description: Opaque Shaded Body - South-East
Number of Required EffectParameter Values (n): 2
1st EffectParameter: The horizontal shading factor in pixels.
2nd EffectParameter: The vertical shading factor in pixels.
EffectID: 31 (DV_EFFECT_SHADE_INNER_A)
Description: Inner Shade A
Number of Required EffectParameter Values (n): 2
1st EffectParameter: The horizontal shading factor in pixels.
2nd EffectParameter: The vertical shading factor in pixels.
EffectID: 32 (DV_EFFECT_SHADE_INNER_B)
Description: Inner Shade B
Number of Required EffectParameter Values (n): 2
1st EffectParameter: The horizontal shading factor in pixels.
2nd EffectParameter: The vertical shading factor in pixels.
EffectID: 33 (DV_EFFECT_SHADE_INNER_C)
Description: Inner Shade C
Number of Required EffectParameter Values (n): 2
1st EffectParameter: The horizontal shading factor in pixels.
2nd EffectParameter: The vertical shading factor in pixels.
EffectID: 34 (DV_EFFECT_HBOLD)
Description: Bold - only horizontal
Number of Required EffectParameter Values (n): 1
1st EffectParameter: The amount of horizontal emboldening in pixels.
EffectID: 35 (DV_EFFECT_VBOLD)
Description: Bold - only vertical
Number of Required EffectParameter Values (n): 1
1st EffectParameter: The amount of vertical emboldening in pixels.
EffectID: 36 (DV_EFFECT_HVBOLD)
Description: Bold - horizontal and vertical
Number of Required EffectParameter Values (n): 2
1st EffectParameter: The amount of horizontal emboldening in pixels.
2nd EffectParameter: The amount of vertical emboldening in pixels.
EffectID: 37 (DV_EFFECT_HBOLD_VBLUR_FUZZY)
Description: Horizontal Bold with vertical Fuzzy Blur
Number of Required EffectParameter Values (n): 2
1st EffectParameter: The amount of horizontal emboldening in pixels.
2nd EffectParameter: The amount of vertical blur in pixels.
EffectID: 38 (DV_EFFECT_VBOLD_HBLUR_FUZZY)
Description: Vertical Bold with horizontal Fuzzy Blur
Number of Required EffectParameter Values (n): 2
1st EffectParameter: The amount of horizontal blur in pixels.
2nd EffectParameter: The amount of vertical emboldening in pixels.
EffectID: 39 (DV_EFFECT_PATTERN_INVPHOTO)
Description: Inverted Pattern Group 1 - Photo Shades
Number of Required EffectParameter Values (n): 1
1st EffectParameter: Pattern fill index. Refer to Appendix - Pattern Fills for a list of available pattern fills.
EffectID: 40 (DV_EFFECT_PATTERN_INVSHADES)
Description: Inverted Pattern Group 2 - Fine Shades
Number of Required EffectParameter Values (n): 1
1st EffectParameter: Pattern fill index. Refer to Appendix - Pattern Fills for a list of available pattern fills.
EffectID: 41 (DV_EFFECT_PATTERN_INVSTRIPES)
Description: Inverted Pattern Group 3 - Stripes
Number of Required EffectParameter Values (n): 1
1st EffectParameter: Pattern fill index. Refer to Appendix - Pattern Fills for a list of available pattern fills.
EffectID: 42 (DV_EFFECT_PATTERN_INVORNAMENTAL)
Description: Inverted Pattern Group 4 - Ornamental
Number of Required EffectParameter Values (n): 1
1st EffectParameter: Pattern fill index. Refer to Appendix - Pattern Fills for a list of available pattern fills.
EffectID: 43 (DV_EFFECT_PATTERN_CUSTOM)
Description: Custom Pattern Fill
Number of Required EffectParameter Values (n): 1
1st EffectParameter: Custom pattern fill index.
EffectID: 44 (DV_EFFECT_RESERVED_A)
Description: Reserved for future use
Number of Required EffectParameter Values (n): 0
EffectID: 45 (DV_EFFECT_RESERVED_B)
Description: Reserved for future use
Number of Required EffectParameter Values (n): 0
EffectID: 46 (DV_EFFECT_HBLUR_STACK)
Description: Stack Blur - only horizontal
Number of Required EffectParameter Values (n): 1
1st EffectParameter: The amount of horizontal blur in pixels.
EffectID: 47 (DV_EFFECT_VBLUR_STACK)
Description: Stack Blur - only vertical
Number of Required EffectParameter Values (n): 1
1st EffectParameter: The amount of vertical blur in pixels.
EffectID: 48 (DV_EFFECT_HVBLUR_STACK)
Description: Stack Blur - horizontal and vertical
Number of Required EffectParameter Values (n): 2
1st EffectParameter: The amount of horizontal blur in pixels.
2nd EffectParameter: The amount of vertical blur in pixels.
EffectID: 49 (DV_EFFECT_HBOLD_VBLUR_GAUSS)
Description: Horizontal Bold with vertical Gaussian Blur
Number of Required EffectParameter Values (n): 2
1st EffectParameter: The amount of horizontal emboldening in pixels.
2nd EffectParameter: The amount of vertical blur in pixels.
EffectID: 50 (DV_EFFECT_VBOLD_HBLUR_GAUSS)
Description: Vertical Bold with horizontal Gaussian Blur
Number of Required EffectParameter Values (n): 2
1st EffectParameter: The amount of horizontal blur in pixels.
2nd EffectParameter: The amount of vertical emboldening in pixels.
EffectID: 51 (DV_EFFECT_HBOLD_VBLUR_STACK)
Description: Horizontal Bold with vertical Stack Blur
Number of Required EffectParameter Values (n): 2
1st EffectParameter: The amount of horizontal emboldening in pixels.
2nd EffectParameter: The amount of vertical blur in pixels.
EffectID: 52 (DV_EFFECT_VBOLD_HBLUR_STACK)
Description: Vertical Bold with horizontal Stack Blur
Number of Required EffectParameter Values (n): 2
1st EffectParameter: The amount of horizontal blur in pixels.
2nd EffectParameter: The amount of vertical emboldening in pixels.
EffectID: 53 (DV_EFFECT_RESERVED_B)
Description: Reserved for future use
Number of Required EffectParameter Values (n): 0
EffectID: 54 (DV_EFFECT_RESERVED_C)
Description: Reserved for future use
Number of Required EffectParameter Values (n): 0
EffectID: 55 (DV_EFFECT_HOUTLINE)
Description: Outline - only horizontal
Number of Required EffectParameter Values (n): 1
1st EffectParameter: Horizontal outline value in pixels.
EffectID: 56 (DV_EFFECT_VOUTLINE)
Description: Outline - only vertical
Number of Required EffectParameter Values (n): 1
1st EffectParameter: Vertical outline value in pixels.
EffectID: 57 (DV_EFFECT_HVOUTLINE)
Description: Outline - horizontal and vertical
Number of Required EffectParameter Values (n): 2
1st EffectParameter: Horizontal outline value in pixels.
2nd EffectParameter: Vertical outline value in pixels.
Notes:
Note 1: Effects 4, 5 and 6 (Gaussian Blur) are computationally intensive. The larger the amount of blur, the more time it takes to render the effect. Use Gaussian Blur with caution, especially on slower machines.
Note 2: Fuzzy Blur and Stack Blur are extremely fast and suitable for real-time blurring.
Note 3: Gaussian Blur and Stack Blur produce softer, more aesthetically pleasing look compared to Fuzzy Blur.
Note 4: In order to use effects 11, 12, 13, 14, 39, 40, 41 or 42, the engine must be initialized using the dtype.pat file. This file contains pattern fill definitions listed in Appendix - Pattern Fills.
Note 5: Effects 34, 35, 36 (Bold) can be used to simulate bold typefaces.
Sample values:
"24, 15, 1" = Single Style Effect: Opaque Shaded Edge - North-East (DV_EFFECT_EDGE_100_NE) with the horizontal shading factor of 15 pixels and vertical shading factor of 1 pixel
"24, 15, 1, 13, 6" = First Style Effect: Opaque Shaded Edge - North-East (DV_EFFECT_EDGE_100_NE) with the horizontal shading factor of 15 pixels and vertical shading factor of 1 pixel; Second Style Effect: Pattern Group 3 - Stripes (DV_EFFECT_PATTERN_STRIPES) with pattern fill #6
"3, 5, 10" = Single Style Effect: Fuzzy Blur - horizontal and vertical (DV_EFFECT_HVBLUR_FUZZY) with the horizontal blur amount of 5 pixels and vertical blur amount of 10 pixels
"11, 22" = Single Style Effect: Pattern Group 1 - Photo Shades (DV_EFFECT_PATTERN_PHOTO) with pattern fill #22
"3, 5, 10, 11, 22" = First Style Effect: Fuzzy Blur - horizontal and vertical (DV_EFFECT_HVBLUR_FUZZY) with the horizontal blur amount of 5 pixels and vertical blur amount of 10 pixels; Second Style Effect: Pattern Group 1 - Photo Shades (DV_EFFECT_PATTERN_PHOTO) with pattern fill #22
"11, 22, 3, 5, 10" = First Style Effect: Pattern Group 1 - Photo Shades (DV_EFFECT_PATTERN_PHOTO) with pattern fill #22; Second Style Effect: Fuzzy Blur - horizontal and vertical (DV_EFFECT_HVBLUR_FUZZY) with the horizontal blur amount of 5 pixels and vertical blur amount of 10 pixels
C/C++
INTEGRAL DSL