Add docstrings to core-graphics