thank you
CodePudding user response:
So-called graphic Boolean operation is the first thing to get two graphics overlap region, and then according to the rules of operation of the original graphics fill or invisible,
Divided into two kinds, one kind is vector graphics processing, is a bitmap handle,
T vector graphics is a heap of graphics, main job is to calculate the edge of the intersection, for two graphics traverse line, get all the points of intersection, fill or invisible for vector drawing part is nothing more than cutting edge line segment, and then in another part of the edge line group, can put the original graphic edge formed as a closed loop of the list, the middle part of the replacement, replace the starting point is to get in front of the intersection point, of course, there may be multiple points of intersection, and then to draw graphics,
If the graph is a graph, the overlapping area mainly judged according to the corresponding color coordinates, fill or invisible is completed by regional coloring,
CodePudding user response:
Call GDIplus related functions?CodePudding user response:
May I have no clear, I again careful said:1, if there's a built-in functionality in VBA?
2, it is at a number of graphical objects (Shape), which is for those who use Office own graphics functions to draw graphics,
CodePudding user response: