Invert Pen/Line?
-
Hi all, I have searched several places including message boards and Google, without any result! Have I missed something or am I the first to ask regarding this: How can I create, or get an already available, invert pen? Which when used for drawing (ex. lines) it inverts all pixel colors it comes in “touch” with. I am not looking for the DrawFocusRect function, but a pen or function that draws an invert line. Aidman » over and out We haven't inherited Earth from our parents, instead we have borrowed her from our children; an old Indian saying.
-
Hi all, I have searched several places including message boards and Google, without any result! Have I missed something or am I the first to ask regarding this: How can I create, or get an already available, invert pen? Which when used for drawing (ex. lines) it inverts all pixel colors it comes in “touch” with. I am not looking for the DrawFocusRect function, but a pen or function that draws an invert line. Aidman » over and out We haven't inherited Earth from our parents, instead we have borrowed her from our children; an old Indian saying.
Once you get a pointer or handle to a device context, call SetROP2 and pass in R2_NOT as the drawmode.
-
Once you get a pointer or handle to a device context, call SetROP2 and pass in R2_NOT as the drawmode.