In this example, a DrawingContext object is created and two targets are added to its stack using the push_target function. The most recently added target, target2, is then removed from the stack using the pop_target function, leaving target1 as the current drawing target. Example 2:c++ DrawingContext dc; dc.push_target(&target1); dc.push_target(&target2); dc.push_target(&target3); dc.pop_target(); dc.pop_target(); // target1 is now the current drawing target ``` This example is similar to the first example, but two targets are removed from the stack using pop_target, leaving target1 as the current drawing target. The DrawingContext pop_target function is part of the Cairo graphics library.