Added DIB_CreateDIBSection with extra parameter ovr_pitch, added
commit8b9f33851a5cfde1f812133603acb23128f2bd10
authorOve Kaaven <ovek@arcticnet.no>
Sat, 29 Apr 2000 16:47:07 +0000 (29 16:47 +0000)
committerAlexandre Julliard <julliard@winehq.org>
Sat, 29 Apr 2000 16:47:07 +0000 (29 16:47 +0000)
tree5d689fa0b856f84435355d98043ff6dd98b1e95e
parentbda3e662011d8b588effd66b19c0bffcb7546e78
Added DIB_CreateDIBSection with extra parameter ovr_pitch, added
ovr_pitch to pCreateDIBSection in DC_FUNCS. If ovr_pitch is nonzero,
it is a pitch override (specifies bytes per line), and tells to treat
the offset parameter as an already-mapped virtual memory address (if
the section parameter is zero). Fixed a DIB status init bug in
creating DIB sections from file mappings (if created from mapping, the
DIB is *not* really InSync).
graphics/x11drv/dib.c
include/bitmap.h
include/gdi.h
include/x11drv.h
objects/dib.c