Click here to Skip to main content
15,917,176 members
Home / Discussions / Graphics
   

Graphics

 
GeneralRe: saving my drawing as atext file...!! Pin
mr jets10-May-07 2:01
mr jets10-May-07 2:01 
GeneralRe: saving my drawing as atext file...!! Pin
PandemoniumPasha10-May-07 21:52
PandemoniumPasha10-May-07 21:52 
AnswerRe: saving my drawing as atext file...!! Pin
Christian Graus13-May-07 12:44
protectorChristian Graus13-May-07 12:44 
You have been asking the same questions for some time now. Realistically, the best way to do this is to create a class for each shape you want to draw, with a common base class, and make a list of that base class. Then you can make the class know how to build itself from the string you store in your file, and to generate a string which identifies the shape type and the details of that shape.

I'd go for something less verbose, you really only need to store numbers, just assign each shape type a number.


Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )

Questiondrawing algorithms Pin
sarah_malik6-May-07 10:06
sarah_malik6-May-07 10:06 
AnswerRe: drawing algorithms Pin
El Corazon6-May-07 10:43
El Corazon6-May-07 10:43 
GeneralRe: drawing algorithms Pin
sarah_malik6-May-07 11:11
sarah_malik6-May-07 11:11 
GeneralRe: drawing algorithms Pin
El Corazon6-May-07 11:47
El Corazon6-May-07 11:47 
Answer[Message Deleted] Pin
#1236-May-07 15:19
#1236-May-07 15:19 
GeneralRe: drawing algorithms Pin
El Corazon7-May-07 2:16
El Corazon7-May-07 2:16 
GeneralRe: drawing algorithms Pin
sarah_malik7-May-07 2:42
sarah_malik7-May-07 2:42 
GeneralRe: drawing algorithms Pin
El Corazon7-May-07 5:31
El Corazon7-May-07 5:31 
GeneralRe: drawing algorithms Pin
sarah_malik7-May-07 6:52
sarah_malik7-May-07 6:52 
GeneralRe: drawing algorithms Pin
El Corazon7-May-07 7:22
El Corazon7-May-07 7:22 
GeneralRe: drawing algorithms Pin
sarah_malik7-May-07 10:56
sarah_malik7-May-07 10:56 
GeneralRe: drawing algorithms Pin
El Corazon7-May-07 11:25
El Corazon7-May-07 11:25 
GeneralRe: drawing algorithms Pin
El Corazon7-May-07 15:34
El Corazon7-May-07 15:34 
GeneralRe: drawing algorithms Pin
El Corazon7-May-07 16:20
El Corazon7-May-07 16:20 
GeneralRe: drawing algorithms Pin
sarah_malik8-May-07 0:55
sarah_malik8-May-07 0:55 
QuestionHow to code for flipping an image myself ? Pin
coolguynp5-May-07 8:44
coolguynp5-May-07 8:44 
AnswerRe: How to code for flipping an image myself ? Pin
Mark Salsbery5-May-07 9:10
Mark Salsbery5-May-07 9:10 
AnswerRe: How to code for flipping an image myself ? Pin
Hamid_RT22-May-07 2:52
Hamid_RT22-May-07 2:52 
AnswerRe: How to code for flipping an image myself ? Pin
stevepqr29-May-07 4:12
stevepqr29-May-07 4:12 
QuestionOpenGL problems Pin
XTAL2565-May-07 2:57
XTAL2565-May-07 2:57 
AnswerRe: OpenGL problems Pin
Rilhas19-May-07 10:59
Rilhas19-May-07 10:59 
GeneralRe: OpenGL problems Pin
XTAL25619-May-07 14:21
XTAL25619-May-07 14:21 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.