Ah sorry about that, pixelHeight is the same thing I just changed it to screenHeight for better readability in this post. I've added a cout statement there and the values for x,y, and size all make sense and from what I can see the array is being populated fine.
This code is encapsulated in a class function that I call from main.
I can't think of reason it just gives me a black screen since this code works fine on its own