> - GdipMeasureString(graphics, string, length, font, rect, format, > &bounds, 0, 0); > + GdipMeasureString(graphics, string, length, font, &bounds, > format, &bounds, 0, 0);
You probably shouldn't use the same GpRect* for both parameters there.
> - GdipMeasureString(graphics, string, length, font, rect, format, > &bounds, 0, 0); > + GdipMeasureString(graphics, string, length, font, &bounds, > format, &bounds, 0, 0);
You probably shouldn't use the same GpRect* for both parameters there.