*This is a function in the Matrix class:*


public boolean *setPolyToPoly *(float[] src, int srcIndex, float[] dst, int 
dstIndex, int pointCount)

Since: API Level 
1<http://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels>

Set the matrix such that the specified src points would map to the 
specified dst points. The "points" are represented as an array of floats, 
order [x0, y0, x1, y1, ...], where each "point" is 2 float values.

*Parameters*
  
*src*
 
The array of src [x,y] pairs (points)
  
*srcIndex*
 
Index of the first pair of src values
  
*dst*
 
The array of dst [x,y] pairs (points)
  
*dstIndex*
 
Index of the first pair of dst values
  
*pointCount*
 
The number of pairs/points to be used. Must be [0..4]
  
*Returns*

   - true if the matrix was set to the specified transformation 
   - 


*Anyone know under what circumstances it will return false?*

*
*

*Can it generally map any quadrilateral to any other quadrilateral?*



-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to