This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include<stdio.h> | |
#include<graphics.h> | |
void boundary_fill(int x,int y,int boundary_color,int fill_color); | |
int main() | |
{ | |
int gd,gm,x,y,x1,x2,y1,y2; | |
detectgraph(&gd,&gm); | |
initgraph(&gd,&gm,"C://TurboC3//BGI"); | |
printf("Enter top-left point of rectangle: "); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include<graphics.h> | |
#include<stdio.h> | |
void pixel(int xc,int yc,int x,int y); | |
int main() | |
{ | |
int gd,gm,xc,yc,r,x,y,p; | |
detectgraph(&gd,&gm); | |
initgraph(&gd,&gm,"C://TurboC3//BGI"); | |
printf("Enter center of circle :"); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include<graphics.h> | |
#include<stdio.h> | |
void pixel(int xc,int yc,int x,int y); | |
int main() | |
{ | |
int gd,gm,xc,yc,r,x,y,p; | |
detectgraph(&gd,&gm); | |
initgraph(&gd,&gm,"C://TurboC3//BGI"); | |
printf("Enter center of circle :"); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include<graphics.h> | |
#include<stdio.h> | |
#include<math.h> | |
int main() | |
{ | |
int gd,gm,x,y,end,p,x1,x2,y1,y2,dx,dy; | |
detectgraph(&gd,&gm); | |
initgraph(&gd,&gm,"C://TurboC3//BGI"); | |
printf("Enter the value of x1 : "); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<canvas id="sakura"></canvas> | |
<div class="btnbg"> | |
</div> | |
<!-- sakura shader --> | |
<script id="sakura_point_vsh" type="x-shader/x_vertex"> | |
uniform mat4 uProjection; | |
uniform mat4 uModelview; | |
uniform vec3 uResolution; | |
uniform vec3 uOffset; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include<graphics.h> | |
#include<stdio.h> | |
#include<math.h> | |
int main() | |
{ | |
int gd,gm,x,y,pixel,x1,x2,y1,y2,dx,dy; | |
detectgraph(&gd,&gm); | |
initgraph(&gd,&gm,"C://TurboC3//BGI"); | |
printf("Enter the value of x1 : "); |
NewerOlder