/// Populates source and destination map points to exactly match the object.
/// </summary>
/// <param name="obj">The object to use unmapped geometry to populate map coordinates</param>
+ public void PopulatePoints(EvasObject obj)
+ {
+ Interop.Evas.evas_map_util_points_populate_from_object_full(_evasMap, obj, 0);
+ }
+
+ /// <summary>
+ /// Populates source and destination map points to exactly match the object.
+ /// </summary>
+ /// <param name="obj">The object to use unmapped geometry to populate map coordinates</param>
/// <param name="z">
/// The point Z coordinate hint (pre-perspective transform)This value is used for all four points.
/// </param>
}
/// <summary>
+ /// Rotate the map
+ /// </summary>
+ /// <param name="degrees">The abount of degrees from 0.0 to 360.0 to rotate</param>
+ /// <param name="cx">rotation's center horizontal position.</param>
+ /// <param name="cy">rotation's center vertical position.</param>
+ public void Rotate(double degrees, int cx, int cy)
+ {
+ Interop.Evas.evas_map_util_rotate(_evasMap, degrees, cx, cy);
+ }
+
+ /// <summary>
/// Rotates the map around 3 axes in 3D.
/// </summary>
/// <param name="dx">The amount of degrees from 0.0 to 360.0 to rotate around X axis</param>
internal static extern void evas_map_util_points_populate_from_geometry(IntPtr map, int x, int y, int w, int h, int z);
[DllImport(Libraries.Evas)]
+ internal static extern void evas_map_util_rotate(IntPtr map, double degree, int cx, int cy);
+
+ [DllImport(Libraries.Evas)]
internal static extern void evas_map_util_3d_rotate(IntPtr map, double dx, double dy, double dz, int cx, int cy, int cz);
[DllImport(Libraries.Evas)]