Jump to content
  • Advertisement

Hannibal smith

Member
  • Content Count

    5
  • Joined

  • Last visited

Community Reputation

104 Neutral

About Hannibal smith

  • Rank
    Newbie
  1. my application is base on this exmple http://www.vbforums.com/showthread.php?737691-Drawing-Primitives-using-XNA-in-VB-Net
  2. using xna i draw a 2d chart on picturbox, now i want to  highlight a part o this chart with a trasparent rectangle. 
  3. I'm using XNA, i had already tried mixed it with windows basic graphics library but without success.
  4. Hi, i need to to draw a filled rectangle with trasparent color effect, but i can't find info anywhere.i'm coding in vb.net, someone can help?
  5. Hannibal smith

    XNA and vb.net problem

    Hi, i have build an application for 2d chart in vb.net, using XNA. Now i'd like to add a selection effect like this http://www.codeproject.com/Articles/27061/Image-Cropping-with-Image-Resizing-Using-VB-NET ; my problem is that: when i add the code for the selection in my xna application, visual studio said:   Error      Overload resolution failed because no accessible 'New' can be called with these arguments:     'Public Sub New(brush As System.Drawing.Brush, width As Single)': Value of type 'Microsoft.Xna.Framework.Color' cannot be converted to 'System.Drawing.Brush'.     'Public Sub New(color As System.Drawing.Color, width As Single)': Value of type 'Microsoft.Xna.Framework.Color' cannot be converted to 'System.Drawing.Color'.    C:\Users\zzzzzz\mydoc\apptest\transpPrivewForm.vb    70    27     Error    2    'FromArgb' is not a member of 'Microsoft.Xna.Framework.Color'.    C:\Users\zzzzzz\mydoc\apptest\transpPrivewForm.vb     61    36    Anyone know how can i do the same thing using only xna or how to solve this errors?  
  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!