Click here to Skip to main content
15,890,438 members
Home / Discussions / Graphics
   

Graphics

 
GeneralRe: Metal Circle with GDI+ Pin
Luc Pattyn14-Jun-09 7:25
sitebuilderLuc Pattyn14-Jun-09 7:25 
GeneralRe: Metal Circle with GDI+ Pin
Leslie Sanford23-Jun-09 14:27
Leslie Sanford23-Jun-09 14:27 
GeneralRe: Metal Circle with GDI+ Pin
Luc Pattyn23-Jun-09 14:33
sitebuilderLuc Pattyn23-Jun-09 14:33 
GeneralRe: Metal Circle with GDI+ Pin
Luc Pattyn26-Jun-09 6:48
sitebuilderLuc Pattyn26-Jun-09 6:48 
GeneralRe: Metal Circle with GDI+ Pin
Henry Minute16-Jun-09 11:12
Henry Minute16-Jun-09 11:12 
QuestionWeb Cam URL Pin
Dinker Batra9-Jun-09 21:15
Dinker Batra9-Jun-09 21:15 
Questionhow can I load a image into memory? Pin
transoft8-Jun-09 4:38
transoft8-Jun-09 4:38 
QuestionCreating an Emboss/Bevelled effect for Circles and Rectangles [modified] Pin
Leslie Sanford7-Jun-09 19:56
Leslie Sanford7-Jun-09 19:56 
I'm trying to create an emboss/bevelled effect on circles and rectangles using C# with GDI+. Here's an example of a circle created with a drawing program with the emboss effect enabled:

Circle[^]

What it looks like to me is that you have two circles. The top circle is smaller and centered on the larger circle below it. Also, there is no shading on the top circle. Below that you have a base, which looks like a circle with a gradient going from light to dark.

Combined they give the overall look of an embossed circle.

Here's a square:

Square[^]

It's a bit more complicated. It looks like the right and bottom corners are quite a bit darker than the left and top corners. That's easy enough to mimic, but there's also something going on with the corners that I'm not sure how to duplicate.

I'm looking for any pointers on doing these types of basic effects with C# and GDI+. I've done some googling, but the results are focused on applying these effects to existing images. Since I'm building primitive shapes from scratch, I figure there are probably easier ways.

modified on Monday, June 8, 2009 8:51 PM

AnswerRe: Creating an Emboss/Bevelled effect for Circles and Rectangles Pin
Tim Craig8-Jun-09 14:38
Tim Craig8-Jun-09 14:38 
GeneralRe: Creating an Emboss/Bevelled effect for Circles and Rectangles Pin
Leslie Sanford8-Jun-09 15:37
Leslie Sanford8-Jun-09 15:37 
GeneralRe: Creating an Emboss/Bevelled effect for Circles and Rectangles Pin
Tim Craig8-Jun-09 19:09
Tim Craig8-Jun-09 19:09 
GeneralRe: Creating an Emboss/Bevelled effect for Circles and Rectangles Pin
Leslie Sanford8-Jun-09 19:52
Leslie Sanford8-Jun-09 19:52 
GeneralRe: Creating an Emboss/Bevelled effect for Circles and Rectangles Pin
Tim Craig9-Jun-09 15:05
Tim Craig9-Jun-09 15:05 
QuestionGLX rendering context problem Pin
sheeri manik2-Jun-09 15:08
sheeri manik2-Jun-09 15:08 
QuestionDxText for Offline VideoWatermarking Pin
anki12326-May-09 21:24
anki12326-May-09 21:24 
QuestionObject transform problem! Pin
Avion8525-May-09 13:30
Avion8525-May-09 13:30 
AnswerRe: Object transform problem! Pin
Baltoro4-Jun-09 7:44
Baltoro4-Jun-09 7:44 
Question3D Model seems to be all... 2Dish [Solved] Pin
Anthony Mushrow24-May-09 16:24
professionalAnthony Mushrow24-May-09 16:24 
AnswerRe: 3D Model seems to be all... 2Dish Pin
Tim Craig24-May-09 17:50
Tim Craig24-May-09 17:50 
QuestionDrawing a Sphere in 3D Pin
Avion8520-May-09 9:36
Avion8520-May-09 9:36 
AnswerRe: Drawing a Sphere in 3D Pin
Baltoro20-May-09 15:09
Baltoro20-May-09 15:09 
GeneralRe: Drawing a Sphere in 3D Pin
Avion8521-May-09 2:42
Avion8521-May-09 2:42 
GeneralRe: Drawing a Sphere in 3D Pin
Baltoro23-May-09 9:15
Baltoro23-May-09 9:15 
GeneralRe: Drawing a Sphere in 3D Pin
Avion8523-May-09 10:15
Avion8523-May-09 10:15 
GeneralRe: Drawing a Sphere in 3D Pin
Avion8524-May-09 13:14
Avion8524-May-09 13:14 

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.