I'm filling irregular shapes with solid colors and my desired coord system is centered origin. I can make this work by setting scaleheight/width to max dimension of picturebox and computing offset=maxdimension/2. But this means every point must be specified as x+offest/y+offset; rather messy.
I can set up for 0/0 centered in pic via
dest.ScaleMode = vbInches 'here's the key; picture's scale mode is inches
dest.ScaleWidth = MaxDimension
dest.ScaleLeft = -dest.ScaleWidth / 2
dest.ScaleHeight = MaxDimension
dest.ScaleTop = -dest.ScaleHeight / 2
But extfloodfill cannot locate the proper fill point(fills from wrong point).



