How to Draw a Smiley Face #010 step by step

By
1 Views

About this video

How to Draw a Smiley Face #010 step by step Prerequisite: graphics.h, How to include graphics.h in CodeBlocks? The task is to write a C program to draw a smiley face using graphics in C. To run the program we have the include the below header file: #include <graphic.h> Approach: We will create a Smiley Face with the help below functions: fillellipse(int x, int y, int x_radius, int y_radius): A function from graphics.h header file which draws and fills an ellipse with center at (x, y) and (x_radius, y_radius) as x and y radius of ellipse. ellipse(int x, int y, int stangle, int endangle, int xradius, int yradius): A function from graphics.h header file which is used to draw an ellipse (x, y) are coordinates of the center of the ellipse, stangle is the starting angle, end angle is the ending angle, and fifth and sixth parameters specifies the X and Y radius of the ellipse. setcolor(n): A function from graphics.h header file which set the color of pointer(cursor). setfillstyle(): A function from graphics.h header file which sets the current fill pattern and fill color. floodfill(): A function from graphics.h header file which is used to fill an enclosed area. Below is the implementation of to draw Smiley Face using graphics in C: _____ #art #artwork #artoftheday #arts #artstagram #artshow #artlife #artgallery #artpop @aihashtag #aihashtag #illustration #illustrator #illustrations #illustrate #drawing #drawings #drawingoftheday #picture #pictureoftheday #pictures #pictureperfect #sketch #sketchbook #paper #pen #pencil #artsy #instaart #gallery

Video details

Title How to Draw a Smiley Face #010 step by step
Creator AlexDrawing
Published 3 years ago
Views 1

Share this video

Share this Febspot video with friends, your audience or your community. Febspot helps creators publish videos and reach viewers through search, social media, blogs and online communities.

Latest videos on Febspot

Latest Videos Febspot Explore Partner Program Terms of Service About Us Copyright Cookie Privacy Contact