API Reference | developer.brewmp.com API Reference | developer.brewmp.com

Developer

API Reference

IOBSERVER_GETLMCACHEDIST()

Brew Release
Brew MP 1.0.2
See Also
Description
This function retrieves the distance of the specified cached linear movement determined by the observer.
Params
pif
[]:
[in] Pointer to the IObserver interface object.
nIdx
[]:
[in] Index of the linear movement, starting from the last as 0th index.
pnDist
[]:
[out] The distance of the linear movement in pixels.
Interface
Prototype
  •    int IObserver_GetLMCacheDist(IObserver *pif, int nIdx, int *pnDist); 
    
Return
  •    AEE_SUCCESS - If the distance was retrieved.
       AEE_EFAILED - If the distance was not retrieved.
    
Side Effect
  • None
Comments
In case the movement is not linear the function returns AEE_EFAILED.