|
-
Jul 18th, 2005, 12:59 PM
#1
Thread Starter
Hyperactive Member
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.
-
Jul 19th, 2005, 11:36 AM
#2
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|