Welcome Guest! To enable all features, please Login or Register.

Notification

Icon
Error

Options
View
Last Go to last post Unread Go to first unread post
#1 Posted : Wednesday, September 5, 2007 1:55:25 AM(UTC)
alwayssmiling

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.
 

Try the latest version of LEADTOOLS for free for 60 days by downloading the evaluation: https://www.leadtools.com/downloads

Wanna join the discussion? Login to your LEADTOOLS Support accountor Register a new forum account.

#2 Posted : Wednesday, September 5, 2007 2:14:49 AM(UTC)
alwayssmiling

Groups: Registered
Posts: 27


The screen shots which specifies the problem are attached to this. Please check them out.
File Attachment(s):
screen_shots.zip (181kb) downloaded 22 time(s).
 
#3 Posted : Wednesday, September 5, 2007 12:32:39 PM(UTC)

BoydP  
Guest

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.

Powered by YAF.NET | YAF.NET © 2003-2024, Yet Another Forum.NET
This page was generated in 0.068 seconds.