Sorry for this second message. I forgot one important thing in WMFPainter : of course the scale and origin must be taken in consideration, so we rather have :
 
    int rop = mr.ElementAt( 0 ).intValue();
    int height = (int)(scaleX * mr.ElementAt( 1 ).intValue());
    int width = (int)(scaleY * mr.ElementAt( 2 ).intValue());
    int left = (int)(scaleX * (vpX + mr.ElementAt( 3 ).intValue()));
    int top = (int)(scaleY * (vpY + mr.ElementAt( 4 ).intValue()));
 
as for all other operands.

Reply via email to