implemented cairo getter functions