High-Performance Active Pixel X-ray Sensors