GDI DrawLine

  • Thread starter Thread starter Michele Santucci
  • Start date Start date
M

Michele Santucci

Re all,

I draw an user control where I draw a grid and then allow users to zoom and
pan and rotate it.
When I zoom-in I noticed that the line thickness grows also but I would like
to avoid that.
Is it possible?

Best Regards,
Mike
 
Michele said:
Re all,

I draw an user control where I draw a grid and then allow users to zoom
and pan and rotate it.
When I zoom-in I noticed that the line thickness grows also but I would
like to avoid that.
Is it possible?

Sure. You just have to scale the pen size inversely with the scaling
factor being used to draw.
 
Back
Top