2.2.7 GradientRectangle Object

The GradientRectangle object defines a rectangle using TriVertex objects (section 2.2.26) in an EMR_GRADIENTFILL record (section 2.3.5.12).


0


1


2


3


4


5


6


7


8


9

1
0


1


2


3


4


5


6


7


8


9

2
0


1


2


3


4


5


6


7


8


9

3
0


1

UpperLeft

LowerRight

UpperLeft (4 bytes): An index into an array of TriVertex objects that specifies the upper-left vertex of a rectangle. The index MUST be smaller than the size of the array, as defined by the nVer field of the EMR_GRADIENTFILL record.

LowerRight (4 bytes): An index into an array of TriVertex objects that specifies the lower-right vertex of a rectangle. The index MUST be smaller than the size of the array, as defined by the nVer field of the EMR_GRADIENTFILL record.