Page 1 of 1

NPCamera.DrawFrame scaling?

Posted: Sat Aug 14, 2010 5:52 pm
by MonkeyBasic
I have an application that supports both the TrackIR 4 and 5. The feedback frame for the TrackIR 4 is 355x288 pixels where the TrackIR 5 is 640x480. Is there a way to scale down the DrawFrame function to display within a 320x240 panel? Currently the software only shows the top-left corner of a frame for TrackIR 5.

Any ideas would be appreciated!!!


Re: NPCamera.DrawFrame scaling?

Posted: Tue Aug 17, 2010 1:54 am
by Birch
SetOption() with NP_OPTION_DRAW_SCALE might be what you are looking for.

Re: NPCamera.DrawFrame scaling?

Posted: Thu Aug 19, 2010 5:43 pm
by MonkeyBasic
Perfect, thank you!