gang-of-4-patterns AT lists.siebelschool.illinois.edu
Subject: Design Patterns discussion
List archive
- From: "Mandar Nanivadekar" <stackoverflow AT rediffmail.com>
- To: gang-of-4-patterns AT cs.uiuc.edu
- Subject: [gang-of-4-patterns] Design pattern is GDI
- Date: 1 Dec 2004 10:25:15 -0000
- List-archive: <http://mail.cs.uiuc.edu/pipermail/gang-of-4-patterns>
- List-id: Design Patterns discussion <gang-of-4-patterns.cs.uiuc.edu>
Hello all,
I have a question.
GDI in windows is a device driver abstraction.
The client programmer does not know which device he is programming to.
It may be a display or a printer etc.
GDI hides all this,
and chooses the device driver currently installed on the machine.
The device driver written for windows has to conform to a particular interface. Hence GDI can work with any device.
Which design pattern is this?
Is it a factory?
Rgds,
Mandar
- [gang-of-4-patterns] Design pattern is GDI, Mandar Nanivadekar, 12/01/2004
- <Possible follow-up(s)>
- Re: Re: [gang-of-4-patterns] Design pattern is GDI, Mandar Nanivadekar, 12/02/2004
Archive powered by MHonArc 2.6.16.