All subsequent graphics operations will use this specified color. When drawing operations are performed, pixels which are the current color will be changed to the specified color and vice versa. Pixels of colors other than those two colors will be changed in an unpredictable, but reversible manner - if you draw the same figure twice then all pixels will be restored to their original values. Gets the current font metrics for the specified font. The resulting clipping area is the intersection of the current clipping area and the specified rectangle.
Graphic operations have no effect outside of the clipping area.
Copies an area of the screen. The line is drawn below and to the left of the logical coordinates. Fills the specified rectangle with the current color. Clears the specified rectangle by filling it with the current background color of the current drawing surface. Which drawing surface it selects depends on how the graphics context was created.