<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Approximatrix Forums — Why no graphics window?]]></title>
	<link rel="self" href="https://forums.approximatrix.com/extern.php?action=feed&amp;tid=882&amp;type=atom" />
	<updated>2023-01-16T14:58:16Z</updated>
	<generator>PunBB</generator>
	<id>https://forums.approximatrix.com/viewtopic.php?id=882</id>
		<entry>
			<title type="html"><![CDATA[Re: Why no graphics window?]]></title>
			<link rel="alternate" href="https://forums.approximatrix.com/viewtopic.php?pid=4040#p4040" />
			<content type="html"><![CDATA[<p>You&#039;re calling <em>settextstyle</em> prior to initializing the window.&nbsp; That call has to happen after the window is created.</p>]]></content>
			<author>
				<name><![CDATA[jeff]]></name>
				<uri>https://forums.approximatrix.com/profile.php?id=2</uri>
			</author>
			<updated>2023-01-16T14:58:16Z</updated>
			<id>https://forums.approximatrix.com/viewtopic.php?pid=4040#p4040</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Why no graphics window?]]></title>
			<link rel="alternate" href="https://forums.approximatrix.com/viewtopic.php?pid=4039#p4039" />
			<content type="html"><![CDATA[<p>Code below compiles but will not run.&nbsp; Keeps saying, &quot;Attempting to draw to a graphics window without declaring a window.&quot;&nbsp; Why does my &quot;initwindow&quot; command not work?&nbsp; Also, where can I find a list of integer IDs for font families?</p><p>program main<br />use appgraphics<br />implicit none<br />&nbsp; &nbsp; integer::myscreen<br />&nbsp; &nbsp; integer::x, y, r, i <br />&nbsp; &nbsp; logical:: pt = .TRUE.<br />&nbsp; &nbsp; logical:: db = .FALSE.<br />&nbsp; &nbsp; logical:: cf = .TRUE.<br />&nbsp; &nbsp; call settextstyle(5,0,5)<br />&nbsp; &nbsp; x=10<br />&nbsp; &nbsp; y=10<br />&nbsp; &nbsp; r=1&nbsp; &nbsp; <br />&nbsp; &nbsp; myscreen = initwindow(800, 600, &quot;Primitives&quot;, 0, 0, db, cf)<br />&nbsp; &nbsp; ! Pw = getactivepage()&nbsp; &nbsp; <br />&nbsp; &nbsp; do while(x &lt;= 800)<br />&nbsp; &nbsp; &nbsp; call clearviewport&nbsp; <br />&nbsp; &nbsp; &nbsp; call circle(x,y,r)<br />&nbsp; &nbsp; &nbsp; call outtextxy(x,y,char(r),pt)</p>]]></content>
			<author>
				<name><![CDATA[jackmitchener]]></name>
				<uri>https://forums.approximatrix.com/profile.php?id=4073</uri>
			</author>
			<updated>2023-01-13T23:45:32Z</updated>
			<id>https://forums.approximatrix.com/viewtopic.php?pid=4039#p4039</id>
		</entry>
</feed>
