class MDrawDeviceOrigin |
MDrawDeviceOrigin interface manages the origin point of CFbsDrawDevice interface.
The interface could be retrieved calling CFbsDrawDevice::GetInterface() with KDrawDeviceOriginInterfaceID as an argument. If the drawing device does not have support for moving origin, MDrawDeviceOrigin cannot be retrieved.
MDrawDeviceOrigin interface lifetime is the same as the lifetime of CFbsDrawDevice interface, which creates it. Do not try to delete MDrawDeviceOrigin interface pointer!
MDrawDeviceOrigin interface offers following methods: Get() , Set() .
void | Get | ( | TPoint & | aOrigin | ) | [pure virtual] |
Retrieves origin point.
TPoint & aOrigin | Upon return contains origin point. |
TInt | Set | ( | const TPoint & | aOrigin | ) | [pure virtual] |
Sets the origin of the drawing device. By default drawing device origin is (0,0). If you want to set the default origin, call Set() with (0,0) point coordinates.
const TPoint & aOrigin | Specifies physical coordinates of the new origin of the drawing device. The drawing device maps the logical point (0,0) to the "aOrigin" physical point . |
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.