setfillstyle function in c – c programming – setfillstyle function sets the current fill pattern and fill color and the declaration is int pattern,int color
Coding
Latest Articles and Errors& Fixes fo popular programming languages like HTML,CSS, PHP, Javascript, Angularjs and more
getimage function in c – c programming – getimage copies an image from screen to memory. Left, top, right, and bottom define the area of the screen
getdrivername-function – Coding – getdrivername function returns a pointer to the current graphics driver. – C program for getdrivername.
setviewport function in c – c programming – setviewport function is used to restrict drawing to a particular portion on the screen. For example setviewport
setlinestyle in c – c programming – Declaration:void setlinestyle( int linestyle, unsigned upattern, int thickness );
setcolor function in c – c programming -Total 16 colors are available. Strictly speaking number of available colors depends on current graphics mode .
Setbkcolor function in c – c programming-setbkcolor function changes current background color e.g setbkcolor changes the current background color to YELLOW.
getpixel function in c – c programming -getpixel function returns the color of pixel present at location(x, y).Declaration :- int getpixel(int x, int y);
getmaxy function in c – c programming – getmaxy function returns the maximum Y coordinate for current graphics mode and driver.
getmaxx function in c – c programming – getmaxx function returns the maximum X coordinate for current graphics mode and driver.