This topic and its replies were posted before the current version of LEADTOOLS was released and may no longer be applicable.
#1
Posted
:
Wednesday, September 5, 2007 1:55:25 AM(UTC)
Groups: Registered
Posts: 27
Hi,
Iam getting the graphics object of the raster image. And using this iam drawing some shapes like circles, rectangles etc on the image. These shapes are looking fine with no zoom(scale factor =1) and increased zoom (scale factor >1). But if i zoom out the image from 1:1 view what ever shapes that im drawing on the image becoming blurred. Its lossing some parts of the drawn shape.
I tried the same thing in "CSDRAWDEMO" which is the example application provided by the leadtools. In that also its doing the same thing. How to rectify the problem. And what i need to do to show the shapes properly if i zoom out.
#2
Posted
:
Wednesday, September 5, 2007 2:14:49 AM(UTC)
Groups: Registered
Posts: 27
The screen shots which specifies the problem are attached to this. Please check them out.
#3
Posted
:
Wednesday, September 5, 2007 12:32:39 PM(UTC)
Groups: Guests
Posts: 3,022
Was thanked: 2 time(s) in 2 post(s)
I opened the CSDrawDemo project and added the following lines of code to the end of the MainForm_Load method:
RasterPaintProperties props = _viewer.PaintProperties;
props.PaintDisplayMode = RasterPaintDisplayModeFlags.Resample;
_viewer.PaintProperties = props;
This made the rectangles display properly at all zoom levels.
If you have any more questions please feel free to ask.
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.