107 |
// Implement me. |
// Implement me. |
108 |
return null; |
return null; |
109 |
} |
} |
110 |
|
|
111 |
|
/** |
112 |
|
* Maps coordinates from the <code>View</code>'s space into a position |
113 |
|
* in the document model. |
114 |
|
* |
115 |
|
* @param x the x coordinate in the view space |
116 |
|
* @param y the y coordinate in the view space |
117 |
|
* @param a the allocation of this <code>View</code> |
118 |
|
* @param b the bias to use |
119 |
|
* |
120 |
|
* @return the position in the document that corresponds to the screen |
121 |
|
* coordinates <code>x, y</code> |
122 |
|
*/ |
123 |
|
public int viewToModel(float x, float y, Shape a, Position.Bias b) |
124 |
|
{ |
125 |
|
// FIXME: Implement this properly. |
126 |
|
return 0; |
127 |
|
} |
128 |
} |
} |