예제 #1
0
 ////////////////////////////////////////////////////////////
 /// <summary>
 /// Construct the view from a rectangle
 /// </summary>
 /// <param name="viewRect">Rectangle defining the position and size of the view</param>
 ////////////////////////////////////////////////////////////
 public View(FloatRect viewRect) :
     base(sfView_createFromRect(viewRect))
 {
 }
예제 #2
0
 static extern void sfView_reset(IntPtr View, FloatRect Rectangle);
예제 #3
0
 static extern IntPtr sfView_createFromRect(FloatRect Rect);
예제 #4
0
 static extern void sfView_setViewport(IntPtr View, FloatRect Viewport);
예제 #5
0
 ////////////////////////////////////////////////////////////
 /// <summary>
 /// Rebuild the view from a rectangle
 /// </summary>
 /// <param name="rectangle">Rectangle defining the position and size of the view</param>
 ////////////////////////////////////////////////////////////
 public void Reset(FloatRect rectangle)
 {
     sfView_reset(CPointer, rectangle);
 }