private DUIGraphics(Graphics graphics) { //this.iDUIGraphics = new DUIGraphics_GDIP(handle); this.iDUIGraphics = new DUIGraphics_GDIP(graphics); //switch (DUIInfo.Mode) //{ // case DUIMode.Direct2D: // default: // this.iDUIGraphics = new DUIGraphics_D2D(handle); // break; // case DUIMode.GDIP: // this.iDUIGraphics = new DUIGraphics_GDIP(handle); // break; //} }
private DUIGraphics(DUIBitmap dUIBitmap) { this.iDUIGraphics = new DUIGraphics_D2D(dUIBitmap); }