# Feature Request - Screen FrameOval

**URL:** <https://psychtoolbox.discourse.group/t/feature-request-screen-frameoval/1882>\
**Category:** Uncategorized\
**Created:** [September 11, 2007, 12:05am UTC](https://psychtoolbox.discourse.group/t/feature-request-screen-frameoval/1882 "2007-09-11T00:05:06Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Allen\_Ingling](https://avatars.discourse-cdn.com/v4/letter/a/a183cd/32.png) [@Allen\_Ingling](https://psychtoolbox.discourse.group/u/Allen_Ingling)\
**Post date:** [September 11, 2007, 12:05am UTC](https://psychtoolbox.discourse.group/t/feature-request-screen-frameoval/1882/1 "2007-09-11T00:05:06Z")

</div>

Feature Request

&nbsp;

Wondering if FrameOval could be updated at some point to allow multiple Rect arguments as per FrameRect, FillRect etc.

&nbsp;

Thanks

Chris
  

* * *
**From:** psychtoolbox@yahoogroups.com [mailto:psychtoolbox@yahoogroups.com] **On Behalf Of** Mario Kleiner  
**Sent:** Thursday, 6 September 2007 6:12 AM  
**To:** psychtoolbox@yahoogroups.com  
**Subject:** [psychtoolbox] Re: Courier font on windows  
  

'Courier New' is the magic name on Windows for the font family, not 'Courier'.  
  
--- In [psychtoolbox@ yahoogroups. com](mailto:psychtoolbox%40yahoogroups.com), "Christopher Hatherly" \<Christopher. Hatherly@ ...\>   
wrote:

> \>  
> \> Hi all,  
> \>   
> \> Just wondering if anyone has

any tips for getting courier to display on  

> \> a windows setup (XP, Matlab

2006b, latest beta). Screen('TextFont' ,  

> \> window, 'font') works OK

for other fonts - Ariel, Times etc, but it  

> \> doesn't draw text when set to

Courier (no error messages or anything,  

> \> just blank screen).  
> \>   
> \> Thanks in advance for your help!  
> \>   
> \>

Chris  

> \>

---

<div class="post-metadata">

**Author:** ![mariokleiner](https://avatars.discourse-cdn.com/v4/letter/m/13edae/32.png) [@mariokleiner](https://psychtoolbox.discourse.group/u/mariokleiner)\
**Post date:** [September 12, 2007, 4:10pm UTC](https://psychtoolbox.discourse.group/t/feature-request-screen-frameoval/1882/2 "2007-09-12T16:10:07Z")

</div>

I put it on the feature request list. It may make sense to simplify  
coding and to save Matlab call overhead. I wouldn't expect as  
much speedup as with the other batch-drawing commands,  
because 'FrameOval's requirements don't map that well onto  
OpenGL -- its a rather slow operation with less oportunities for  
optimizations.  
  
Btw. if you draw many similar/identical ovals, one trick for fast  
rendering is to create a "stencil" or "template" oval by drawing  
it into an Offscreen window. Then you can use  
Screen('DrawTextures') ... to draw many scaled/rotated/recolored  
instances of that offscreen window...  
  
The same is true if you need to draw many similar instances of  
more complex geometric primitives: Draw one prototype into  
offscreen window, then use that offscreen window as "stencil"  
for drawing many copies of it...  
  
The DrawingSpeedTest.m also demonstrates that approach.  
  
-mario  
  
  
--- In [psychtoolbox@yahoogroups.com](mailto:psychtoolbox@yahoogroups.com), "Christopher Hatherly"   
\<Christopher.Hatherly@...\> wrote:  

> \>  
> \> Feature Request  
> \>   
> \> Wondering if FrameOval could be updated at some point to allow multiple  
> \> Rect arguments as per FrameRect, FillRect etc.  
> \>   
> \> Thanks  
> \> Chris  
> \>   
> \> \_\_\_\_\_   
> \>   
> \> From: [psychtoolbox@yahoogroups.com](mailto:psychtoolbox@yahoogroups.com) [mailto:[psychtoolbox@yahoogroups.com](mailto:psychtoolbox@yahoogroups.com)]  
> \> On Behalf Of Mario Kleiner  
> \> Sent: Thursday, 6 September 2007 6:12 AM  
> \> To: [psychtoolbox@yahoogroups.com](mailto:psychtoolbox@yahoogroups.com)  
> \> Subject: [psychtoolbox] Re: Courier font on windows  
> \>   
> \>   
> \>   
> \> 'Courier New' is the magic name on Windows for the font family, not  
> \> 'Courier'.  
> \>   
> \> --- In [psychtoolbox@yahoogroups.com](mailto:psychtoolbox@yahoogroups.com)  
> \> \<mailto:psychtoolbox%40yahoogroups.com\> , "Christopher Hatherly"  
> \> \<Christopher.Hatherly@\>   
> \> wrote:  
> \> \>  
> \> \> Hi all,  
> \> \>   
> \> \> Just wondering if anyone has any tips for getting courier to display  
> \> on  
> \> \> a windows setup (XP, Matlab 2006b, latest beta). Screen('TextFont',  
> \> \> window, 'font') works OK for other fonts - Ariel, Times etc, but it  
> \> \> doesn't draw text when set to Courier (no error messages or anything,  
> \> \> just blank screen).  
> \> \>   
> \> \> Thanks in advance for your help!  
> \> \>   
> \> \> Chris  
> \> \>  
> \>
