[quote user="Loren"]mdlWindow_rgbDataDraw((MSWindow*)(dmP->db), &rect, 0, obliqueSource, DITHERMODE_ErrorDiffusion,
TRUECOLOR_Seperate, NULL);[/quote]
How do you calculate the BSIRect rect? I see this comment in MicroStationAPI help: If the source pitch (or row width) of the input data differs from the width of the rectangle, it is specified in srcPitch, otherwise srcPitch can be set to zero.