int = ExtTextOut(hdc, int , int , int , rect , string , tuple )

Writes text to a DC.


hdc : PyHANDLE

Handle to a device context

int : x

The x coordinate to write the text to.

int : y

The y coordinate to write the text to.

int : nOptions

Specifies the rectangle type. This parameter can be one, both, or neither of ETO_CLIPPED and ETO_OPAQUE

rect : PyRECT

Specifies the text's bounding rectangle. (Can be None.)

string : text

The text to write.

tuple : (width1, width2, ...)

Optional array of values that indicate distance between origins of character cells.

Win32 API References

Search for ExtTextOut at msdn, google or google groups.

Return Value

Always none. If the function fails, an exception is raised.