Click here to Skip to main content
15,892,480 members
Home / Discussions / Graphics
   

Graphics

 
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 
AnswerRe: Resolution of GDI+ bitmap from resource Pin
Mark Salsbery27-Jun-07 15:11
Mark Salsbery27-Jun-07 15:11 
Are you using GDI+ or GDI to draw a filled shape.

Taking from your GDI+ code, I did this in a CWnd-derived OnPaint()...

// IDB_BITMAP4 is a 32x32 monochrome bitmap resource, black 2-pixel-wide border filled with
// dithered pixels (from a color in the monochrome bitmap editor palette).

Graphics DstGraphics(*this);
Bitmap brushbitmap(AfxGetResourceHandle(), MAKEINTRESOURCE(IDB_BITMAP4));
TextureBrush texturebrush(&brushbitmap, WrapModeTile);
Rect ellipserect(0, 0, 640, 640);
DstGraphics.FillEllipse(&texturebrush, ellipserect);

The bitmap is drawn full size in the ellipse. Do you get the same result?

Mark



"Go that way, really fast. If something gets in your way, turn."

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 
GeneralRe: Image Warp Function needed. Pin
SandipG 20-Jun-07 18:09
SandipG 20-Jun-07 18:09 

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.