Click here to Skip to main content
15,908,834 members
Home / Discussions / Graphics
   

Graphics

 
AnswerRe: Max Rectangles In Any Shape Pin
John R. Shaw3-Mar-07 0:36
John R. Shaw3-Mar-07 0:36 
GeneralRe: Max Rectangles In Any Shape Pin
zbaum004-Mar-07 10:38
zbaum004-Mar-07 10:38 
GeneralRe: Max Rectangles In Any Shape Pin
John R. Shaw9-Mar-07 8:35
John R. Shaw9-Mar-07 8:35 
AnswerRe: Max Rectangles In Any Shape Pin
Shog99-Mar-07 11:21
sitebuilderShog99-Mar-07 11:21 
QuestionHow to Connect DV Video Encoder to FileWriter Pin
Brooks Harris2-Mar-07 11:18
Brooks Harris2-Mar-07 11:18 
AnswerRe: How to Connect DV Video Encoder to FileWriter Pin
Mark Salsbery2-Mar-07 12:52
Mark Salsbery2-Mar-07 12:52 
GeneralRe: How to Connect DV Video Encoder to FileWriter Pin
Brooks Harris3-Mar-07 3:58
Brooks Harris3-Mar-07 3:58 
QuestionGDI+ Region::IsVisible() Pin
Mark Salsbery2-Mar-07 8:23
Mark Salsbery2-Mar-07 8:23 
This is a repost from the MS GDI newsgroup.

Does anyone know why, in the following code, does the IsVisible() call return true?

Mark
   Rect gdiText(507, 636, 6, 7);
   Rect rctOne(512, 684, 20, 17);
   Rect rctTwo(652, 220, 47, 9);
 
   Region gdiRegion;
   gdiRegion.MakeEmpty();
 
   gdiRegion.Union(rctOne);
   gdiRegion.Union(rctTwo);
 
   gdiRegion.IsVisible(gdiText);
 
// Uncomment this code to draw the region in a window 
//   Graphics DstGraphics(*this);
//   SolidBrush blueBrush(Color(255, 0, 0, 255));
//   SolidBrush greenBrush(Color(255, 0, 255, 0));
//
//   // Draw the region 
//   DstGraphics.FillRegion(&blueBrush, &gdiRegion);
// 
//   // Draw the hit test rect 
//   gdiRegion.MakeEmpty();
//   gdiRegion.Union(gdiText);
//   DstGraphics.FillRegion(&greenBrush, &gdiRegion);



"Great job, team. Head back to base for debriefing and cocktails."
(Spottswoode "Team America")

AnswerRe: GDI+ Region::IsVisible() Pin
cmk2-Mar-07 10:44
cmk2-Mar-07 10:44 
GeneralRe: GDI+ Region::IsVisible() Pin
Mark Salsbery2-Mar-07 10:49
Mark Salsbery2-Mar-07 10:49 
GeneralRe: GDI+ Region::IsVisible() Pin
cmk2-Mar-07 10:56
cmk2-Mar-07 10:56 
GeneralRe: GDI+ Region::IsVisible() Pin
Mark Salsbery2-Mar-07 11:08
Mark Salsbery2-Mar-07 11:08 
QuestionHow can I find the exact colors of a grayscaled picture? Pin
JUNEYT1-Mar-07 9:16
JUNEYT1-Mar-07 9:16 
AnswerRe: How can I find the exact colors of a grayscaled picture? Pin
Mark Salsbery1-Mar-07 9:28
Mark Salsbery1-Mar-07 9:28 
AnswerRe: How can I find the exact colors of a grayscaled picture? Pin
El Corazon1-Mar-07 10:20
El Corazon1-Mar-07 10:20 
GeneralRe: How can I find the exact colors of a grayscaled picture? Pin
Mark Salsbery1-Mar-07 11:27
Mark Salsbery1-Mar-07 11:27 
GeneralRe: How can I find the exact colors of a grayscaled picture? Pin
El Corazon1-Mar-07 11:58
El Corazon1-Mar-07 11:58 
GeneralRe: How can I find the exact colors of a grayscaled picture? Pin
Mark Salsbery1-Mar-07 12:02
Mark Salsbery1-Mar-07 12:02 
GeneralRe: How can I find the exact colors of a grayscaled picture? Pin
El Corazon1-Mar-07 12:04
El Corazon1-Mar-07 12:04 
GeneralRe: How can I find the exact colors of a grayscaled picture? Pin
Mark Salsbery1-Mar-07 12:14
Mark Salsbery1-Mar-07 12:14 
GeneralRe: How can I find the exact colors of a grayscaled picture? Pin
JUNEYT1-Mar-07 11:48
JUNEYT1-Mar-07 11:48 
GeneralRe: How can I find the exact colors of a grayscaled picture? Pin
El Corazon1-Mar-07 11:55
El Corazon1-Mar-07 11:55 
QuestionIs there a way to draw on a client window and erase only the pen color Pin
Akatz71228-Feb-07 17:11
Akatz71228-Feb-07 17:11 
AnswerRe: Is there a way to draw on a client window and erase only the pen color Pin
John R. Shaw3-Mar-07 0:46
John R. Shaw3-Mar-07 0:46 
QuestionDIB Pin
balu chettri28-Feb-07 7:12
balu chettri28-Feb-07 7:12 

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.