<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[Approximatrix Forums — Why no graphics window?]]></title>
		<link>https://forums.approximatrix.com/viewtopic.php?id=882</link>
		<atom:link href="https://forums.approximatrix.com/extern.php?action=feed&amp;tid=882&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in Why no graphics window?.]]></description>
		<lastBuildDate>Mon, 16 Jan 2023 14:58:16 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: Why no graphics window?]]></title>
			<link>https://forums.approximatrix.com/viewtopic.php?pid=4040#p4040</link>
			<description><![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>]]></description>
			<author><![CDATA[null@example.com (jeff)]]></author>
			<pubDate>Mon, 16 Jan 2023 14:58:16 +0000</pubDate>
			<guid>https://forums.approximatrix.com/viewtopic.php?pid=4040#p4040</guid>
		</item>
		<item>
			<title><![CDATA[Why no graphics window?]]></title>
			<link>https://forums.approximatrix.com/viewtopic.php?pid=4039#p4039</link>
			<description><![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>]]></description>
			<author><![CDATA[null@example.com (jackmitchener)]]></author>
			<pubDate>Fri, 13 Jan 2023 23:45:32 +0000</pubDate>
			<guid>https://forums.approximatrix.com/viewtopic.php?pid=4039#p4039</guid>
		</item>
	</channel>
</rss>
