Creates directly, a graphics context object for a specific platform, based on the previously specified graphics context attributes.
Pointer to the window to create the graphics context.
$(PHOBREF object,Exception) if the creation of the graphics context was not successful. The attributes were probably not initialized.
See Implementation
Creates directly, a graphics context object for a specific platform, based on the previously specified graphics context attributes.