windows - Can two DCs share one GDI object (brush, pen, etc.)? -
can 2 device contexts (dcs) share 1 gdi object, such brush or pen?
the documentation selectobject mentions bitmaps cannot selected more 1 dc @ time.
essentially because gdi operations can write bitmap, , complex manage multiple write operations @ time. other gdi objects, once created (with exception of regions - copied), immutable, therefore have no restrictions on being selected multiple dcs @ time.
Comments
Post a Comment