Click here to Skip to main content
15,902,275 members
Home / Discussions / Graphics
   

Graphics

 
GeneralRe: More than one 'SwapBuffers(HDC)' Pin
XTAL25618-May-07 16:59
XTAL25618-May-07 16:59 
GeneralRe: More than one 'SwapBuffers(HDC)' Pin
XTAL25631-May-07 15:16
XTAL25631-May-07 15:16 
AnswerRe: More than one 'SwapBuffers(HDC)' Pin
Rilhas20-May-07 2:25
Rilhas20-May-07 2:25 
Questionsaving my drawing as atext file...!! Pin
mr jets9-May-07 23:55
mr jets9-May-07 23:55 
AnswerRe: saving my drawing as atext file...!! Pin
PandemoniumPasha10-May-07 1:28
PandemoniumPasha10-May-07 1:28 
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 

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.