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, "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]
> 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
> >
>