Unified points/pixels representation