Re: adamdruppe: Drawing scaled image

2016-06-04 Thread Pie? via Digitalmars-d-learn
On Saturday, 4 June 2016 at 02:22:37 UTC, Adam D. Ruppe wrote: On Friday, 3 June 2016 at 20:06:50 UTC, Pie? wrote: Thanks! It is working. A few issues with my images being clipped and not throwing when file doesn't exist... That's weird.. I don't know what's going on there. BTW have you seen

Re: adamdruppe: Drawing scaled image

2016-06-03 Thread Adam D. Ruppe via Digitalmars-d-learn
On Friday, 3 June 2016 at 20:06:50 UTC, Pie? wrote: Thanks! It is working. A few issues with my images being clipped and not throwing when file doesn't exist... That's weird.. I don't know what's going on there. BTW have you seen my documentation site too? http://dpldocs.info/experimental-doc

Re: adamdruppe: Drawing scaled image

2016-06-03 Thread Pie? via Digitalmars-d-learn
On Friday, 3 June 2016 at 15:47:16 UTC, Adam D. Ruppe wrote: On Thursday, 2 June 2016 at 04:01:03 UTC, Pie? wrote: Thanks, I'll look into it. I have tried OpenGL with simpledisplay but I cannot draw to the window. I assume other drawing methods are required? Yeah, you have to use the OpenGL f

Re: adamdruppe: Drawing scaled image

2016-06-03 Thread Adam D. Ruppe via Digitalmars-d-learn
On Thursday, 2 June 2016 at 04:01:03 UTC, Pie? wrote: Thanks, I'll look into it. I have tried OpenGL with simpledisplay but I cannot draw to the window. I assume other drawing methods are required? Yeah, you have to use the OpenGL functions instead of my painter functions. If so, I can use

Re: adamdruppe: Drawing scaled image

2016-06-01 Thread Pie? via Digitalmars-d-learn
On Thursday, 2 June 2016 at 03:37:01 UTC, Adam D. Ruppe wrote: On Thursday, 2 June 2016 at 03:19:20 UTC, Pie? wrote: I'm curious about how to draw a scaled image. There's a few general options: 1) Scale it yourself in-memory then draw. This is a pain, I don't think my public libraries have a

Re: adamdruppe: Drawing scaled image

2016-06-01 Thread Adam D. Ruppe via Digitalmars-d-learn
On Thursday, 2 June 2016 at 03:19:20 UTC, Pie? wrote: I'm curious about how to draw a scaled image. There's a few general options: 1) Scale it yourself in-memory then draw. This is a pain, I don't think my public libraries have a scale method 2) If on MS Windows, you can resize the wind