Text/Graphics on ePadInk

Revision
7853

The wedgelib static link win32 library is provided to allow the end-user an easy way to write text on the device. This library is only supported on win32 operating systems at this time (as it uses the OS-supplied fonts).

Although simple text and bitmap functions are provided, the preferred way of using this library will be to obtain the device's "DC" and perform GDI operations directly on the device.

Note that this library does not manage threads; this means that it is the caller's responsibility to ensure that the object has been created to allow for multiple thread calling *or* to ensure that the same thread that created the object is used to operate on the object using these methods.

This library does *not* increment the reference count on the object.

Example Usage:

    HEPADINKCONTEXT hContext = ePadInk_CreateContext(pWedge);
    if (NULL!=hContext) {
        int xPosn = (320*rand())/RAND_MAX/4 + 320/4;
        int yPosn = (240*rand())/RAND_MAX/4 + 240/4;
        ePadInk_TextOut(hContext,TEXT_LAYER1,xPosn,yPosn,
                        (LPCSTR)*pWedge->screenSaver.pText,
                        pWedge->screenSaver.pText->GetLength());
        ePadInk_DestroyContext(hContext);
    } // endif
See also:
ePadInk_CreateContext

ePadInk_DestroyContext

ePadInk_TextOut

ePadInk_SetFont

ePadInk_SyncToDevice

ePadInk_LoadBitmapToDevice

ePadInk_ClrScrn

ePadInk_GetDC

ePadInk_ReleaseDC

ePadInk_SetUseSlowMethod


Generated on Mon Dec 17 17:19:30 2007 for ePadAPIs by  doxygen 1.5.4