## Presentation Device Driver Reference for OS/2

[prev][next][parent][TOC]

### GreDeviceSetDCOrigin Parameter - pptlDC

pptlDC (PPOINTL) - input Pointer to the DC origin.

This is the offset to the origin of the device context indicated by hdc. Convert does not add in this offset (see GreConvert). Therefore, the presentation driver must add it to all device coordinates to make them screen coordinates.

Note: WORLD_COORDINATE to SCREEN_COORDINATE is not a valid conversion.