Click here to Skip to main content
15,922,696 members
Home / Discussions / Graphics
   

Graphics

 
QuestionVideo on OpenGL window, from image frames Pin
DoctorDoctor22-May-07 21:29
DoctorDoctor22-May-07 21:29 
AnswerRe: Video on OpenGL window, from image frames Pin
El Corazon23-May-07 1:46
El Corazon23-May-07 1:46 
GeneralRe: Video on OpenGL window, from image frames Pin
DoctorDoctor23-May-07 2:11
DoctorDoctor23-May-07 2:11 
GeneralRe: Video on OpenGL window, from image frames Pin
El Corazon23-May-07 6:31
El Corazon23-May-07 6:31 
QuestionDirectX help!! Pin
Young.wu22-May-07 19:28
Young.wu22-May-07 19:28 
AnswerRe: DirectX help!! Pin
Sarath C23-May-07 2:35
Sarath C23-May-07 2:35 
AnswerRe: DirectX help!! Pin
Mark Salsbery23-May-07 7:22
Mark Salsbery23-May-07 7:22 
QuestionRead from text file ..! Pin
mr jets17-May-07 8:24
mr jets17-May-07 8:24 
heloo guys..thanks alot u really doing agreat job ..any way i have finally created strings for each shape (lines,polygons,..) each string contains informations about the shape( x1,y1,x2,y2,R,G,B,pen width) ..Now how can i make my prog read from the text and draw the shapes ..as example the line string :
public void AddSv(Line l , ref string str)
{
if(drawwhat==1)// as one means lines
str +="1"+"\n"+l.First.X.ToString()+"\n"+
l.First.Y.ToString()+"\n"+
l.Second.X.ToString()+"\n"+
l.Second.Y.ToString()+"\n"+
l.Pen.Color.R.ToString()+"\n"+
l.Pen.Color.G.ToString()+"\n"+
l.Pen.Color.B.ToString()+"\n"+
l.Pen.Width.ToString()+"\n\n";
after i draw the line i click on save to send the informations to the text :
private void button1_Click(object sender, System.EventArgs e)
{
//save
System.IO.FileStream fs = new System.IO.FileStream("c:\\graphics.txt", System.IO.FileMode.OpenOrCreate, System.IO.FileAccess.Write, System.IO.FileShare.ReadWrite);
StreamWriter streamWriter=new StreamWriter(fs);
streamWriter.WriteLine(LineSv);
streamWriter.Flush();
streamWriter.Close();
fs.Close();
}
Regards;);



AnswerRe: Read from text file ..! Pin
Mark Salsbery17-May-07 8:59
Mark Salsbery17-May-07 8:59 
GeneralRe: Read from text file ..! Pin
mr jets17-May-07 13:30
mr jets17-May-07 13:30 
GeneralRe: Read from text file ..! Pin
Mark Salsbery18-May-07 5:47
Mark Salsbery18-May-07 5:47 
AnswerRe: Read from text file ..! Pin
Christian Graus17-May-07 13:53
protectorChristian Graus17-May-07 13:53 
QuestionI need to re-broadcast IP camera Pin
xlthim15-May-07 9:45
xlthim15-May-07 9:45 
AnswerRe: I need to re-broadcast IP camera Pin
Jain Mohit24-May-07 22:10
Jain Mohit24-May-07 22:10 
AnswerRe: I need to re-broadcast IP camera Pin
Rilhas25-May-07 9:36
Rilhas25-May-07 9:36 
QuestionCorel CMX plugin? Pin
Chals15-May-07 5:43
Chals15-May-07 5:43 
QuestionDirectShow - Analyze audio stream from AVI - as fast as possible Pin
Claudiu Bucur13-May-07 6:30
Claudiu Bucur13-May-07 6:30 
QuestionRe: DirectShow - Analyze audio stream from AVI - as fast as possible Pin
Mark Salsbery14-May-07 11:50
Mark Salsbery14-May-07 11:50 
AnswerRe: DirectShow - Analyze audio stream from AVI - as fast as possible Pin
Claudiu Bucur15-May-07 4:58
Claudiu Bucur15-May-07 4:58 
QuestionRe: DirectShow - Analyze audio stream from AVI - as fast as possible Pin
Mark Salsbery15-May-07 5:12
Mark Salsbery15-May-07 5:12 
AnswerRe: DirectShow - Analyze audio stream from AVI - as fast as possible Pin
Claudiu Bucur15-May-07 5:20
Claudiu Bucur15-May-07 5:20 
GeneralRe: DirectShow - Analyze audio stream from AVI - as fast as possible Pin
Mark Salsbery15-May-07 7:33
Mark Salsbery15-May-07 7:33 
AnswerRe: DirectShow - Analyze audio stream from AVI - as fast as possible Pin
Claudiu Bucur15-May-07 7:43
Claudiu Bucur15-May-07 7:43 
GeneralRe: DirectShow - Analyze audio stream from AVI - as fast as possible Pin
Mark Salsbery15-May-07 7:59
Mark Salsbery15-May-07 7:59 
Questionurgent..pzzz!! Pin
mr jets10-May-07 17:38
mr jets10-May-07 17:38 

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.