Does Direct2D have CompositingModeCopy like GDI+? -
i trying move virtual white board application gdi+ direct2d. perviously used graphics::setcompositingmode(compositingmodecopy) "eraser" function, can't find similary interface in direct2d.
thanks.
d2d1_compositing_mode_source_copy
, requires direct2d 1.1 (windows 8+, or windows 7 sp1 w/ platform update)
https://msdn.microsoft.com/en-us/library/windows/desktop/hh446995(v=vs.85).aspx
also, pairing id2d1rendertarget::pushaxisalignedclip
, id2d1rendertarget::clear()
can used "erase" rectangular region. works on windows 7 rtm.
https://msdn.microsoft.com/en-us/library/windows/desktop/dd742775(v=vs.85).aspx
Comments
Post a Comment