Added function to get GraphicsVector as a raw array.