Jump to content

UniCanvas antialiasing possible?


erich.wanker

Recommended Posts

Hi,

is in UniCanvas antialiasing possible? .. and how?

Example:

UniCanvas1.Pen.Color:=$001B669E;
UniCanvas1.Pen.Width:=1;
UniCanvas1.MoveTo(1,0);
UniCanvas1.LineTo(1,UniCanvas1.Height);

... the Line is "rendered"

 

see the following attached Image: (the "right" line was drawed in Grafic-Programm / the "wrong" line ist the UniCanvas-Pen..)

example.jpg.366ab495637fdbdde94a0dff0c3ed526.jpg

 

ThanX

Erich

Link to comment
Share on other sites

Hello Sherzod - thank you for your replay ..

if i draw a 1px line [black]  - the canvas shows a 2 pixel line [dark gray]   -  a rendering thing  ..

 

I think the canvas can not be set to antialiasing .. 

https://stackoverflow.com/questions/4261090/html5-canvas-and-anti-aliasing

ThanX for your help

nice greetings

Erich

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...