<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	
	>
<channel>
	<title>
	Comments on: C Program to implement Bezier curves for a given set of control points.	</title>
	<atom:link href="https://studentprojects.in/software-development/c-tutorials/c/graphics/c-program-to-implement-bezier-curves-for-a-given-set-of-control-points/feed/" rel="self" type="application/rss+xml" />
	<link>https://studentprojects.in/software-development/c-tutorials/c/graphics/c-program-to-implement-bezier-curves-for-a-given-set-of-control-points/</link>
	<description>Microcontroller projects, Circuit Diagrams, Project Ideas</description>
	<lastBuildDate>Thu, 13 Aug 2015 05:44:26 +0000</lastBuildDate>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.1.7</generator>
	<item>
		<title>
		By: sham menon		</title>
		<link>https://studentprojects.in/software-development/c-tutorials/c/graphics/c-program-to-implement-bezier-curves-for-a-given-set-of-control-points/comment-page-1/#comment-123868</link>

		<dc:creator><![CDATA[sham menon]]></dc:creator>
		<pubDate>Thu, 13 Aug 2015 05:44:26 +0000</pubDate>
		<guid isPermaLink="false">http://studentprojects.in/?p=835#comment-123868</guid>

					<description><![CDATA[wer is the pow function in the program]]></description>
			<content:encoded><![CDATA[<p>wer is the pow function in the program</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Pooja		</title>
		<link>https://studentprojects.in/software-development/c-tutorials/c/graphics/c-program-to-implement-bezier-curves-for-a-given-set-of-control-points/comment-page-1/#comment-95724</link>

		<dc:creator><![CDATA[Pooja]]></dc:creator>
		<pubDate>Thu, 09 Apr 2015 04:14:16 +0000</pubDate>
		<guid isPermaLink="false">http://studentprojects.in/?p=835#comment-95724</guid>

					<description><![CDATA[Error occured.
I solved errors still output is not generating.]]></description>
			<content:encoded><![CDATA[<p>Error occured.<br />
I solved errors still output is not generating.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Taruchit		</title>
		<link>https://studentprojects.in/software-development/c-tutorials/c/graphics/c-program-to-implement-bezier-curves-for-a-given-set-of-control-points/comment-page-1/#comment-10482</link>

		<dc:creator><![CDATA[Taruchit]]></dc:creator>
		<pubDate>Fri, 14 Mar 2014 19:22:05 +0000</pubDate>
		<guid isPermaLink="false">http://studentprojects.in/?p=835#comment-10482</guid>

					<description><![CDATA[Cubic Bezier curve

#include
#include
int X()
{  
    int x;
    printf(&quot;\nEnter the value of x: &quot;);
    scanf(&quot;%d&quot;,&#038;x);
    return x;
}
int Y()
{
    int y;
    printf(&quot;\nEnter the value of y: &quot;);
    scanf(&quot;%d&quot;,&#038;y);
    return y;
}
float Square(float u)
{
    return (u*u);
}
float Cube(float u)
{
    return (u*u*u);
}
int main()
{
    int x1,x2,x3,x4,y1,y2,y3,y4;
    float u=0.0,x,y,v1,v2,v3,v4;
    int gd=DETECT,gm;
    x1=X();
    y1=Y();
    x2=X();
    y2=Y();
    x3=X();
    y3=Y();
    x4=X();
    y4=Y();
    initgraph(&#038;gd,&#038;gm,NULL);
    for(u=0.0;u&#060;1.0;++u)
    {
        v1=Cube(1-u);
        v2=3*Square(1-u);
        v3=(1-u)*Square(1-u);
        v4=Cube(u);
        x=(x1*v1)+(x2*v2)+(x3*v3)+(x4*v4);
        y=(y1*v1)+(y2*v2)+(y3*v3)+(y4*v4);
        putpixel(x,y,7);
        delay(500);
    }
    //closegraph();
    getch();
return 0;
}]]></description>
			<content:encoded><![CDATA[<p>Cubic Bezier curve</p>
<p>#include<br />
#include<br />
int X()<br />
{<br />
    int x;<br />
    printf(&#8220;\nEnter the value of x: &#8220;);<br />
    scanf(&#8220;%d&#8221;,&amp;x);<br />
    return x;<br />
}<br />
int Y()<br />
{<br />
    int y;<br />
    printf(&#8220;\nEnter the value of y: &#8220;);<br />
    scanf(&#8220;%d&#8221;,&amp;y);<br />
    return y;<br />
}<br />
float Square(float u)<br />
{<br />
    return (u*u);<br />
}<br />
float Cube(float u)<br />
{<br />
    return (u*u*u);<br />
}<br />
int main()<br />
{<br />
    int x1,x2,x3,x4,y1,y2,y3,y4;<br />
    float u=0.0,x,y,v1,v2,v3,v4;<br />
    int gd=DETECT,gm;<br />
    x1=X();<br />
    y1=Y();<br />
    x2=X();<br />
    y2=Y();<br />
    x3=X();<br />
    y3=Y();<br />
    x4=X();<br />
    y4=Y();<br />
    initgraph(&amp;gd,&amp;gm,NULL);<br />
    for(u=0.0;u&lt;1.0;++u)<br />
    {<br />
        v1=Cube(1-u);<br />
        v2=3*Square(1-u);<br />
        v3=(1-u)*Square(1-u);<br />
        v4=Cube(u);<br />
        x=(x1*v1)+(x2*v2)+(x3*v3)+(x4*v4);<br />
        y=(y1*v1)+(y2*v2)+(y3*v3)+(y4*v4);<br />
        putpixel(x,y,7);<br />
        delay(500);<br />
    }<br />
    //closegraph();<br />
    getch();<br />
return 0;<br />
}</p>
]]></content:encoded>
		
			</item>
	</channel>
</rss>
