Share via


Test Cases for the Graphics Device Interface Performance Test (Windows CE 5.0)

Send Feedback

The following table shows test cases and supported keywords for the Graphics Device Interface Performance Test that you can specify in a script file.

Note   For some keywords, the following table shows <value> for the value of the keyword. For information about acceptable values for these keywords, see Keywords for a Script for the Graphics Device Interface Performance Test.

Test case Supported keywords Notes
[BitBlt] Source=<value>

Dest=<value>

ROP=<ROP3 value>

Brush=<value>

Coordinates=(<left>, <top>, <width>, <height>, <source_left>, <source_top>), (<left>, <top>, <width>, <height>, <source_left>, <source_top>), ...

Height=<min> - <max>

Width=<min> - <max>

Heightstep=<increment>

Widthstep=<increment>

Use the Coordinates keyword, or use the Height, Width, Heightstep, and Widthstep keywords.

For Height and Width, you can specify a single value. If you specify a range for Height or Width, specify an increment for Heightstep and Widthstep, respectively.

[MaskBitBlt] Source=<value>

Dest=<value>

ROP=<ROP4 value>

Brush=<value>

Coordinates=(<left>, <top>, <width>, <height>, <source_left>, <source_top>), (<left>, <top>, <width>, <height>, <source_left>, <source_top>), ...

Height=<min> - <max>

Width=<min> - <max>

Heightstep=<increment>

Widthstep=<increment>

Use the Coordinates keyword, or use the Height, Width, Heightstep, and Widthstep keywords.

For Height and Width, you can specify a single value. If you specify a range for Height or Width, specify an increment for Heightstep and Widthstep, respectively.

[PatBlt] Dest=<value>

ROP=<ROP3 value>

Brush=<value>

Coordinates=(<left>, <top>, <width>, <height>), (<left>, <top>, <width>, <height>), ...

Height=<min> - <max>

Width=<min> - <max>

Heightstep=<increment>

Widthstep=<increment>

Use the Coordinates keyword, or use the Height, Width, Heightstep, and Widthstep keywords.

For Height and Width, you can specify a single value. If you specify a range for Height or Width, specify an increment for Heightstep and Widthstep, respectively.

[StretchBlt] Source=<value>

Dest=<value>

ROP=<ROP3 value>

Brush=<value>

StretchMode=<value>

Coordinates=(<left>, <top>, <width>, <height>, <source_left>, <source_top>, <source_width>, <source_height>), (<left>, <top>, <width>, <height>, <source_left>, <source_top>, <source_width>, <source_height>), ...

Height=<min> - <max>

Width=<min> - <max>

Heightstep=<increment>

Widthstep=<increment>

Use the Coordinates keyword or use the Height, Width, Heightstep, and Widthstep keywords. These keywords are mutually exclusive.

For Height and Width, you can specify a single value. If you specify a range for Height or Width, specify an increment for Heightstep and Widthstep, respectively.

If you do not specify a Coordinates keyword and instead specify a range of rectangles, the test assumes that the source and destination rectanges have the same width and height.

[AlphaBlend] Source=<value>

Dest=<value>

Brush=<value>

BlendFunction=<value>

Coordinates=(<left>, <top>, <width>, <height>, <source_left>, <source_top>, <source_width>, <source_height>), (<left>, <top>, <width>, <height>, <source_left>, <source_top>, <source_width>, <source_height>), ...

Height=<min> - <max>

Width=<min> - <max>

Heightstep=<increment>

Widthstep=<increment>

Use the Coordinates keyword, or use the Height, Width, Heightstep, and Widthstep keywords.

For Height and Width, you can specify a single value. If you specify a range for Height or Width, specify an increment for Heightstep and Widthstep, respectively.

If you do not specify a Coordinates keyword and instead specify a range of rectangles, the test assumes that the source and destination rectanges have the same width and height.

[TransparentBlt] Source=<value>

Dest=<value>

Coordinates=(<left>, <top>, <width>, <height>, <source_left>, <source_top>, <source_width>, <source_height>), (<left>, <top>, <width>, <height>, <source_left>, <source_top>, <source_width>, <source_height>), ...

Height=<min> - <max>

Width=<min> - <max>

Heightstep=<increment>

Widthstep=<increment>

Use the Coordinates keyword, or use the Height, Width, Heightstep, and Widthstep keywords.

For Height and Width, you can specify a single value. If you specify a range for Height or Width, specify an increment for Heightstep and Widthstep, respectively.

If you do not specify a Coordinates keyword and instead specify a range of rectangles, the test assumes that the source and destination rectanges have the same width and height.

[SetPixel] Dest=<value>

Coordinates=(<x>, <y>), (<x>, <y>), ...

The default value for the Coordinates keyword is (1, 1).
[GetPixel] Dest=<value>

Coordinates=(<x>, <y>), (<x>, <y>), ...

The default value for the Coordinates keyword is (1, 1).
[FillRgn] Dest=<value>

Brush=<value>

None.
[LineTo] Dest=<value>

ROP=<value>

Pen=<value>

None.
[Polygon] Dest=<value>

ROP=<value>

Brush=<value>

Pen=<value>

Coordinates0=(<x>, <y>), (<x>, <y>), ...

Coordinates1=(<x>, <y>), (<x>, <y>), ...

...

CoordinatesN=(<x>, <y>), (<x>, <y>), ...

None.
[Polyline] Dest=<value>

ROP=<ROP2 value>

Pen=<value>

Coordinates0=(<x>, <y>), (<x>, <y>), ...

Coordinates1=(<x>, <y>), (<x>, <y>), ...

...

CoordinatesN=(<x>, <y>), (<x>, <y>), ...

None.
[Ellipse] Dest=<value>

ROP=<ROP2 value>

Brush=<value>

Pen=<value>

Coordinates=(<left>, <top>, <right>, <bottom>), (<left>, <top>, <right>, <bottom>), ...

Top=<offset>

Left=<offset>

Height=<min> - <max>

Width=<min> - <max>

Heightstep=<increment>

Widthstep=<increment>

Use the Coordinates keyword, or use the Top, Left, Height, Width, Heightstep, and Widthstep keywords.

For Height and Width, you can specify a single value. If you specify a range for Height or Width, specify an increment for Heightstep and Widthstep, respectively.

[RoundRect] Dest=<value>

ROP=<ROP2 value>

Brush=<value>

Pen=<value>

Coordinates=(<left>, <top>, <right>, <bottom>, <ellipse_width>, <ellipse_height>), (<left>, <top>, <right>, <bottom>, <ellipse_width>, <ellipse_height>), ...

Top=<offset>

Left=<offset>

RectHeight=<min> - <max>

RectWidth=<min> - <max>

RectHeightstep=<increment>

RectWidthstep=<increment>

EllipseHeight=<min> - <max>

EllipseWidth=<min> - <max>

EllipseHeightstep=<increment>

EllipseWidthstep=<increment>

Use the Coordinates keyword, or use the Top, Left, RectHeight, RectWidth, RectHeightstep, RectWidthstep, EllipseHeight, EllipseWidth, EllipseHeightstep, and EllipseWidthstep keywords.

For RectHeight, RectWidth, EllipseHeight, and EllipseWidth, you can specify a single value. If you specify a range for RectHeight, RectWidth, EllipseHeight, or EllipseWidth, specify an increment for RectHeightstep, RectWidthstep, EllipseHeightstep, and EllipseWidthstep, respectively.

[Rectangle] Dest=<value>

ROP=<ROP2 value>

Brush=<value>

Pen=<value>

Coordinates=(<left>, <top>, <right>, <bottom>), (<left>, <top>, <right>, <bottom>), ...

Top=<offset>

Left=<offset>

Height=<min> - <max>

Width=<min> - <max>

Heightstep=<increment>

Widthstep=<increment>

Use the Coordinates keyword, or use the Top, Left, Height, Width, Heightstep, and Widthstep keywords.

For Height and Width, you can specify a single value. If you specify a range for Height or Width, specify an increment for Heightstep and Widthstep, respectively.

[ExtTextOut] Dest=<value>

<One or more font-related keywords>

<One or more string-related keywords>

PositionCoordinates=(<x>, <y>), (<x>, <y>), ...

ClipCoordinates=(<left>, <top>, <right>, <bottom>), (<left>, <top>, <right>, <bottom>), ...

Top=<offset>

Left=<offset>

Height=<min> - <max>

Width=<min> - <max>

Heightstep=<increment>

Widthstep=<increment>

Clipped=<0 or 1>

Opaque=<0 or 1>

For information about font-related keywords, see Font-related Keywords for a Script for the Graphics Device Interface Performance Test.

For information about string-related keywords, see String-related Keywords for a Script for the Graphics Device Interface Performance Test.

The default value for the PositionCoordinates keyword is (1, 1).

Use the ClipCoordinates keyword, or use the Top, Left, Height, Width, Heightstep, and Widthstep keywords.

For Height and Width, you can specify a single value. If you specify a range for Height or Width, specify an increment for Heightstep and Widthstep, respectively.

For keywords that can have a value of 0 or 1, setting the value to 1 enables the associated functionality. Setting the value to zero disables the associated functionality.

[DrawText] Dest=<value>

<One or more font-related keywords>

<One or more string-related keywords>

FormatCoordinates=(<left>, <top>, <right>, <bottom>), (<left>, <top>, <right>, <bottom>), ...

Top=<offset>

Left=<offset>

Height=<min> - <max>

Width=<min> - <max>

Heightstep=<increment>

Widthstep=<increment>

DT_BOTTOM=<0 or 1>

DT_CALCRECT=<0 or 1>

DT_CENTER=<0 or 1>

DT_EXPANDTABS=<0 or 1>

DT_INTERNAL=<0 or 1>

DT_LEFT=<0 or 1>

DT_NOCLIP=<0 or 1>

DT_NOPREFIX=<0 or 1>

DT_RIGHT=<0 or 1>

DT_SINGLELINE=<0 or 1>

DT_TABSTOP=<0 or 1>

DT_TOP=<0 or 1>

DT_VCENTER=<0 or 1>

DT_WORDBREAK=<0 or 1>

For information about font-related keywords, see Font-related Keywords for a Script for the Graphics Device Interface Performance Test.

For information about string-related keywords, see String-related Keywords for a Script for the Graphics Device Interface Performance Test.

Use the FormatCoordinates keyword, or use the Top, Left, Height, Width, Heightstep, and Widthstep keywords.

For Height and Width, you can specify a single value. If you specify a range for Height or Width, specify an increment for Heightstep and Widthstep, respectively.

For keywords that can have a value of 0 or 1, setting the value to 1 enables the associated functionality.

See Also

Script Development for the Graphics Device Interface Performance Test | Keywords for a Script for the Graphics Device Interface Performance Test

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.