What is Rendering? When we draw anything on screen, it involves many step by step process to calculate where and how to produce each pixel on screen, These step by step process is known as Rendering Pipeline and process is known as Rendering . In this process we first define our basic shapes also known as primitives(such as text, image and geometric shapes). Then these primitives' as passed to a rendering engine like Graphics2D, That perform the step by step process of rendering pipeline. Then output image is given to an output device like screen, printer or an image stored in memory. Apart from rendering engine Graphics2D also work as a surface to draw primitives on it. Each time we draw a new primitive on surface it added on the surface. Which we can draw on a output device. Graphics2D States :- Graphics2D work as a state machine to draw the primitives. It...
Comments
Post a Comment