Introduction

Computer Graphics refers to anything involved in the creation or manipulation of images on a computer, including animated images.

Raster graphics are composed of pixels.

Vector graphics are composed of paths/shapes.

Vector graphics represent an image as a list of the geometric shapes that it contains. The shapes can also have attributes, such as the thickness of a line or the color that fills a shape etc.

More rich and detailed images uses Raster graphics.

Untitled

pixel is the smallest addressable element of a picture represented on a screen, a physical point in a picture.

An image that is presented on the computer screen is made up of collection of pixels referred as bitmap.

In CG, a bitmap is a mapping from some domain (eg. a range of integers) to bits values(0/1). It is also called a bit array or bitmap index.

The color values for all the pixels on the screen are stored in a large block of memory known as a frame buffer.

Graphics API and Library

A graphics library is a program library designed to aid in rendering computer graphics to a monitor. This typically involves providing optimized versions of functions that handle common rendering tasks.

Graphics libraries are mainly used in video games and simulations.

OS Vulkan Direct X GNMX Metal
Windows 10 Free, Nvidia and AMD Free, MS no no
Mac Free, MoltenVK no no Free, Apple
Linux Free no no no
Android Free no no no
iOS Free, MoltenVK no no Free, Apple
Tizen in Development no no no
Sailfish in Development no no no
Xbox One no Free no no
Orbis OS (PS4) no no Free no
Nintendo Switch Free no no no