VirtualVectorOutput

Got an idea for enhancing PureBasic? New command(s) you'd like to see?
wombats
Enthusiast
Enthusiast
Posts: 664
Joined: Thu Dec 29, 2011 5:03 pm

VirtualVectorOutput

Post by wombats »

Hi,

I don't know how the VectorDrawing library works underneath, so this might be a pointless idea, but since it has been shown to me that you can use the library for checking for points in rotated rectangles and other shapes, it seems like it might be a good idea to have an output purely for calculations. Perhaps something like VirtualVectorOutput(Width, Height [, Unit]).

I know we can do it on an image or the window, but with an image, a virtual output would presumably use less memory because you wouldn't have a huge image just sitting there, and with the window output, you wouldn't need to calculate the offset of the gadget you are working on (for example, I use an OpenGLGadget and it doesn't sit at 0, 0 on the window).

Thank you for considering this.