import "EpadInk.idl";
Public Member Functions | |
| void | AboutBox () |
| SHORT | GetNumDevices (void) |
| SHORT | OpenConnection (SHORT nNumDevice) |
| void | CloseConnection (void) |
| SHORT | connClearScreen (void) |
| SHORT | connRefreshScreen (SHORT layer) |
| SHORT | connStartDraw (void) |
| SHORT | connStopDraw (SHORT fSyncToDevice) |
| SHORT | connTextOut (SHORT Layer, SHORT xStart, SHORT yStart, BSTR lpString, SHORT nStrlen) |
| SHORT | connSetFont (BSTR LogFontStr, SHORT FontStrLen) |
| SHORT | connLoadBitmapToDevice (SHORT layer, BSTR lpFileName, SHORT nFileNameLen, SHORT nStretch, SHORT xPos, SHORT yPos) |
| SHORT | connGetWhiteThreshold (void) |
| SHORT | connGetBlackThreshold (void) |
| SHORT | connSetWhiteThreshold (SHORT WhiteVal) |
| SHORT | connSetBlackThreshold (SHORT BlackVal) |
| SHORT | connDrawLine (SHORT Layer, SHORT nColor, SHORT xStart, SHORT yStart, SHORT xEnd, SHORT yEnd) |
| BSTR | connGetSerialNumber (void) |
| LONG | connGetDataRangeMinX (void) |
| LONG | connGetDataRangeMinY (void) |
| LONG | connGetDataRangeMinZ (void) |
| LONG | connGetDataRangeMaxX (void) |
| LONG | connGetDataRangeMaxY (void) |
| LONG | connGetDataRangeMaxZ (void) |
| DOUBLE | connGetPhysicalX (void) |
| DOUBLE | connGetPhysicalY (void) |
| LONG | connMapToLcdX (LONG lValue) |
| LONG | connMapToLcdY (LONG lValue) |
| SHORT | connSetInkRegion (SHORT upperLeft_x, SHORT upperLeft_y, SHORT lowerRight_x, SHORT lowerRight_y) |
| BSTR | connGetDebugParam (BSTR pKey) |
| SHORT | connSetDebugParam (BSTR pKey, BSTR pValue) |
| SHORT | connSetUseSlowMethod (SHORT nUseSlowMethod) |
| SHORT | connSetInkColor (SHORT InkColor) |
| SHORT | connSetInkOptions (SHORT backlight, SHORT seconds) |
| SHORT | connSetBgImg (SHORT bgImgOpt, BSTR bgImgPath) |
| SHORT | connSetBacklight (SHORT BkLight, SHORT BkOnSeconds, SHORT BkIntensify) |
| BSTR | connGetFriendlyName (BSTR GUIDstr) |
| SHORT | connSetFriendlyName (BSTR sGUID, BSTR sNewName) |
| SHORT | connSaveDefaults (void) |
| SHORT | connResetDeviceDefaults (void) |
| SHORT | connGetInkRegion_ULX (void) |
| SHORT | connGetInkRegion_ULY (void) |
| SHORT | connGetInkRegion_LRX (void) |
| SHORT | connGetInkRegion_LRY (void) |
| SHORT | connGetUseSlowMethod (void) |
| SHORT | connGetInkColor (void) |
| SHORT | connGetInkingBacklight (void) |
| SHORT | connGetInkingSecond (void) |
| SHORT | connGetBgImgOptions (void) |
| BSTR | connGetBgImgPath (void) |
| SHORT | connGetBacklightOption (void) |
| SHORT | connGetBacklightSecond (void) |
| SHORT | connGetBacklightIntensity (void) |
| SHORT | connClearInk (void) |
| LONG | connGetMapInkingRegionOnly (void) |
| LONG | connSetMapInkingRegionOnly (SHORT sMapInkingRegionOnly) |
| LONG | ConnSetLayer (SHORT layer, SHORT intensity) |
| LONG | connGetDC (void) |
| LONG | connReleaseDC (LONG dc, LONG fSyncToDevice) |
| SHORT | connDrawScreen (SHORT nLayer, SHORT xOrig, SHORT yOrig, BSTR sFileName) |
Definition at line 36 of file EpadInk.idl.
|
|
Displays aboutBox dialog |
|
|
Closes the active connection to a device, if it exists.
|
|
|
Clears default inking layer. Note that this does not require a call to 'startDraw' first. Clearing the inking layer has no effect on the other 2 graphics layers. |
|
|
Clears all layers of the LCD display via the graphics library. Requires previous execution of connStartDraw. |
|
||||||||||||||||||||||||||||
|
Draws a line on the LCD bypassing the graphics library. Use of this is not recommended if a graphics context is active as the PC-side cache will not be aware of the device's changed LCD graphics state.
|
|
||||||||||||||||||||
|
Given a bitmap file with same width and height as ePad device, connDrawScreen converts it to monochrome format and retrieves bitmap bits then displays on the ePad's (xOrig, yOrig) position at nLayer. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Gets the current black threshold for the graphics library. Requires previous execution of connStartDraw.
|
|
|
Returns max X value of current device
|
|
|
Returns max Y value of current device
|
|
|
Returns max Z value of current device
|
|
|
Returns min X value of current device
|
|
|
Returns min Y value of current device
|
|
|
Returns min Z value of current device
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Returns physical extents in inches of current device.
|
|
|
Returns physical extents in inches of current device.
|
|
|
Returns the serial # of the current opened device
|
|
|
|
|
|
Gets the current white threshold for the graphics library. Requires previous execution of connStartDraw.
|
|
||||||||||||||||||||||||||||
|
Loads a bitmap to the device via the graphics library. Requires previous execution of connStartDraw.
|
|
|
|
|
|
|
|
|
Refreshes the device's LCD from the cached image in PC memory. Requires previous execution of connStartDraw. |
|
||||||||||||
|
|
|
|
|
|
|
|
|
||||||||||||||||
|
|
|
||||||||||||
|
|
|
|
Sets the current black threshold for the graphics library. Requires previous execution of connStartDraw.
|
|
||||||||||||
|
This method can be called before openConnection() is issued. One of the functions frequently used is to suppress the configuration dialog. To do so, set pKey = "openConfig" and pValue = "0".
|
|
||||||||||||
|
Sets the current font. Requires previous execution of connStartDraw.
|
|
||||||||||||
|
|
|
|
|
|
||||||||||||
|
|
|
||||||||||||||||||||
|
|
|
||||||||||||
|
|
|
|
|
|
|
|
|
|
Gets the current white threshold for the graphics library. Requires previous execution of connStartDraw.
|
|
|
Creates a graphics context for the current device. Requires that the device be opened previously with OpenConnection.
|
|
|
Destroys the active graphics context for the current device.
|
|
||||||||||||||||||||||||
|
Draws the given text on the LCD at the given location using the current font. Requires previous execution of connStartDraw.
|
|
|
Returns the # of attached ePadInk devices. Note that the index # is zero-based, thus if a single unit is reported it's index will be 0:
SHORT sNumDevices = pInk->GetNumDevices();
if ( sNumDevices>0 ) {
...
SHORT sResult = pInk->OpenConnection(0);
...
} // endif
|
|
|
Opens a connection to the indicated device, if it exists.
|
1.4.6-NO