On Mar 22, 2012, at 12:24 PM, GigaNTes wrote:
> But I cannot understand is it posible to use Color, Point, Rectangle, Size
> classes (supplied by OpenTK)
My guess is that what you _really_ want is System.Drawing.Graphics, which has
all the methods for drawing in .NET (and in turns uses Color, Point, Rectangle,
etc.). Unfortunately, System.Drawing.Graphics is not currently provided in Mono
for Android.
OpenTK.dll provides the Point and Rectangle types for methods such as
OpenTK.Graphics.ES20.GL.Viewport(Rectangle):
http://androidapi.xamarin.com/index.aspx?link=M%3aOpenTK.Graphics.ES20.GL.Viewport(System.Drawing.Rectangle)
System.Drawing.Graphics is not currently exposed, so anything using that type
will need to be rewritten atop either OpenTK or Android.Graphics, or you'll
need to write your own System.Drawing.Graphics type which is implemented atop
OpenTK or Android.Graphics.
- Jon
_______________________________________________
Monodroid mailing list
[email protected]
UNSUBSCRIBE INFORMATION:
http://lists.ximian.com/mailman/listinfo/monodroid