Results 1 to 2 of 2

Thread: How can a graphic figure be represented as code

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    Jul 2005
    Posts
    283

    How can a graphic figure be represented as code

    Hi guys,
    I am new in Visual Basic and I am trying to develop an application which would be able to connect two or more graphic figures and perform some analysis by passing some values from one figure to another. My question is how can a figure be represented in terms of Visual Basic Code in order to pass the value. How can characteristic of that figure be added in the VB code.
    Thank you very much.

  2. #2
    Super Moderator FunkyDexter's Avatar
    Join Date
    Apr 2005
    Location
    An obscure body in the SK system. The inhabitants call it Earth
    Posts
    7,957

    Re: How can a graphic figure be represented as code

    What do you mean by representing graphic figures as code? What sort of graphic figures?

    Most graphics tend to be bmp, png, img files etc. but you could also be talking about figures you've 'drawn' yourself. As for how you'd represent them as code, if it's a file type you could maybe use the filename and path, or you could drill into all the individual pixels and store their colour values in a matrix (not sure if vb has the facility for this though). If it's a graphic you've drawn you could maybe store all the points and colours, or just the overall dimensions of the graphic. It all really comes down to how you define 2 graphics as being equal.

    Sorry if this wasn't the most helpfull post but your questions a bit vague.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width