Implement Wpgdi class..