Welcome to LEAD Support Forum Login | Register | Faq  

    LEAD Support Forum
  Resource to find answers and post technical questions about LEAD products.
Search    
   

Re: Antialiasing
Started by Julia at 07-27-2008 7:17. Topic has 6 replies.

Print Search « Previous Thread Next Thread »
  07-27-2008, 7:17
Julia is not online. Last active: 8/7/2008 9:21:27 AM Julia

Not Ranked
Joined on 07-27-2008
Posts 4
Antialiasing
Reply Quote
Hi,

Can you please help me with the following.
I have a vector (WMF) file, and a bitmap (HDC). I need to draw the vector on the bitmap antialiased. I am using the LT15 evalutaion version.
8-)

Thank you.


   Report 
  07-28-2008, 4:15
Julia is not online. Last active: 8/7/2008 9:21:27 AM Julia

Not Ranked
Joined on 07-27-2008
Posts 4
Re: Antialiasing
Reply Quote
P.S. I tried this - but this does not work

    VECTOR_DISPLAY_OPTIONS ltOptions;
    ltVector.GetDisplayOptions (&ltOptions);
    ltOptions.AntiAliasing.uThreshold  = 10;
    ltOptions.AntiAliasing.uDim = 10;
    ltOptions.AntiAliasing.uFilter = ANTIALIAS_2;

    nRet = ltVector.SetDisplayOptions (&ltOptions);
    ltVector.Paint (hdc, false);


   Report 
  07-28-2008, 7:54
Adam Boulad is not online. Last active: 1/8/2009 3:31:15 PM Adam Boulad



Top 10 Posts
Joined on 09-16-2007
Posts 541
Re: Antialiasing
Reply Quote
Julia,
I was going to suggest the same approach that you tried. I have tried the steps above and the function was working. The settings that I used are:
uThreshold = 80
uDim = 7
uFilter = ANTIALIAS_DIAG
If you try to modify the parameters for AntiAliasing, does it work?

Can you please tell me what is the build number (version info) of the following DLLs:
Lvkrn15u.dll
Lfwmf15u.dll
Adam Boulad
LEADTOOLS Technical Support

   Report 
  07-28-2008, 8:41
Julia is not online. Last active: 8/7/2008 9:21:27 AM Julia

Not Ranked
Joined on 07-27-2008
Posts 4
Re: Antialiasing
Reply Quote
Hi Adam,

Thank you for the answer.

I changed settings as you suggested, but it does not work for me :(.

The file versions are
Lvkrn15u.dll    15.0.1.1
Lfwmf15u.dll    15.0.1.0

The build is "Final" for both.


   Report 
  07-28-2008, 11:13
Adam Boulad is not online. Last active: 1/8/2009 3:31:15 PM Adam Boulad



Top 10 Posts
Joined on 09-16-2007
Posts 541
Re: Antialiasing
Reply Quote
There is a newer build of some of the DLLs. First thing to try, is to obtain the latest version of DLLs.
Please send your LEADTOOLS serial number to support@leadtools.com and ask for the latest v15 patches. If you don't have a LEADTOOLS serial number, just ask for the latest v15 evaluation patches.

Adam Boulad
LEADTOOLS Technical Support

   Report 
  08-07-2008, 4:23
Julia is not online. Last active: 8/7/2008 9:21:27 AM Julia

Not Ranked
Joined on 07-27-2008
Posts 4
Re: Antialiasing
Reply Quote
I downloaded what I believe is the latest dll's (EVAL - API - 7_24_2008.zip given to me by Support), and it still doesn't work. Any other idea? What lib's and dll's should I be using for antialiasing? Maybe I am linking something wrongly? Thanks for any help.
   Report 
  08-07-2008, 5:33
Adam Boulad is not online. Last active: 1/8/2009 3:31:15 PM Adam Boulad



Top 10 Posts
Joined on 09-16-2007
Posts 541
Re: Antialiasing
Reply Quote
Julia,
I have already sent a reply regarding this issue through email. I will forward the email to you.
Adam Boulad
LEADTOOLS Technical Support

   Report 
Post
LEAD Support Fo... » Developer » Vector » Re: Antialiasing

Powered by Community Server, by Telligent Systems