dotnet drawing api:
Does anyone know a way around this? Do I need to write my own transform
code?
It appears that SmoothingMode doesn't apply to matrix transformations (in my
case shear). The following code produces shearing with ugly stepping:
viewPort.Graphics.SmoothingMode = SmoothingMode.AntiAlias;
Matrix m = new Matrix( );
m.Shear( 0, testWall.Shear );
viewPort.Graphics.MultiplyTransform( m );
viewPort.Graphics.DrawImage( testTexture, new Rectangle(
new Point( testWall.Start.X, testWall.Start.Y ),
new Size( newXSize, newYSize ) ) );