Click here to Skip to main content
15,900,108 members
Home / Discussions / Graphics
   

Graphics

 
QuestionUnable to properly load PPM texture data Pin
Cyrilix3-Jul-07 15:39
Cyrilix3-Jul-07 15:39 
QuestionImage appears blurred some times?? Pin
SandipG 28-Jun-07 20:36
SandipG 28-Jun-07 20:36 
AnswerRe: Image appears blurred some times?? Pin
Christian Graus29-Jun-07 15:05
protectorChristian Graus29-Jun-07 15:05 
GeneralRe: Image appears blurred some times?? Pin
SandipG 1-Jul-07 18:55
SandipG 1-Jul-07 18:55 
QuestionAbout the GPU Gems 2 Pin
Tal Rasha's Guardianship27-Jun-07 17:17
Tal Rasha's Guardianship27-Jun-07 17:17 
AnswerRe: About the GPU Gems 2 Pin
Dave Kreskowiak29-Jun-07 13:05
mveDave Kreskowiak29-Jun-07 13:05 
AnswerRe: About the GPU Gems 2 Pin
El Corazon1-Jul-07 18:20
El Corazon1-Jul-07 18:20 
QuestionResolution of GDI+ bitmap from resource Pin
bozalina27-Jun-07 10:28
bozalina27-Jun-07 10:28 
I'm relatively new to GDI+. I'm trying to create a texture brush from a bitmap stored in a resource file in a Visual C++ project. However, the image comes out much too small when I fill a shape with the texture brush.

The bitmap I'm using is 32x32 and is monochrome.

Bitmap bmpPattern(AfxGetResourceHandle(), (WCHAR*)lpszBmpName);<br />
TextureBrush *pBrush = new TextureBrush(&bmpPattern);


If I want to see the image as it's drawn when using GDI's CreateDIBPatternBrushPt, I have to do a scale tranform on the texture brush by about 10 times.

I'm not sure what's causing this, but I'm guessing it's something to do with the page units. Any clues? Thanks in advance!
AnswerRe: Resolution of GDI+ bitmap from resource Pin
Mark Salsbery27-Jun-07 15:11
Mark Salsbery27-Jun-07 15:11 
GeneralRe: Resolution of GDI+ bitmap from resource Pin
bozalina28-Jun-07 10:45
bozalina28-Jun-07 10:45 
GeneralRe: Resolution of GDI+ bitmap from resource Pin
Mark Salsbery28-Jun-07 13:04
Mark Salsbery28-Jun-07 13:04 
GeneralRe: Resolution of GDI+ bitmap from resource Pin
bozalina29-Jun-07 6:42
bozalina29-Jun-07 6:42 
GeneralRe: Resolution of GDI+ bitmap from resource Pin
Mark Salsbery30-Jun-07 7:16
Mark Salsbery30-Jun-07 7:16 
QuestionWebcam Pin
genna9926-Jun-07 10:42
genna9926-Jun-07 10:42 
QuestionOpenGL, DirectX, WPF ?? Pin
BusyDeveloper21-Jun-07 21:55
BusyDeveloper21-Jun-07 21:55 
AnswerRe: OpenGL, DirectX, WPF ?? Pin
El Corazon26-Jun-07 5:47
El Corazon26-Jun-07 5:47 
QuestionZooming the line in OpenGL Pin
a_david12320-Jun-07 23:19
a_david12320-Jun-07 23:19 
QuestionHow to AddAlpha Values ?? Pin
SandipG 20-Jun-07 18:22
SandipG 20-Jun-07 18:22 
QuestionRe: How to AddAlpha Values ?? Pin
Mark Salsbery21-Jun-07 6:59
Mark Salsbery21-Jun-07 6:59 
AnswerRe: How to AddAlpha Values ?? Pin
SandipG 21-Jun-07 18:22
SandipG 21-Jun-07 18:22 
GeneralRe: How to AddAlpha Values ?? Pin
Mark Salsbery22-Jun-07 5:37
Mark Salsbery22-Jun-07 5:37 
GeneralRe: How to AddAlpha Values ?? Pin
SandipG 24-Jun-07 19:47
SandipG 24-Jun-07 19:47 
GeneralRe: How to AddAlpha Values ?? [modified] Pin
Mark Salsbery25-Jun-07 6:28
Mark Salsbery25-Jun-07 6:28 
QuestionImage Warp Function needed. Pin
SandipG 20-Jun-07 2:02
SandipG 20-Jun-07 2:02 
AnswerRe: Image Warp Function needed. Pin
Force Code20-Jun-07 6:39
Force Code20-Jun-07 6:39 

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.