Exemplo n.º 1
0
 internal static MediaVision.Point ToMarshalable(this Tizen.Multimedia.Point pt)
 {
     return(new MediaVision.Point()
     {
         x = pt.X, y = pt.Y
     });
 }
Exemplo n.º 2
0
 internal static Quadrangle ToApiStruct(this MediaVision.Quadrangle quadrangle)
 {
     Tizen.Multimedia.Point[] points = new Tizen.Multimedia.Point[4];
     for (int i = 0; i < 4; ++i)
     {
         points[i] = quadrangle.points[i].ToApiStruct();
     }
     return(new Quadrangle(points));
 }