N
Nikolaos Kasparidis
Guest
Hello again,
I have created some graphics using a display list with the dl*
functions. I tried to convert this graphic to an icon so as to place
it in a form.
dlDlistToIcon(DL 96 30 hiMatchColor(nameToColor("white")))
IT seems that when an icon is created with dlDlistToIcon, an area
around it is also created by the name background area(this area colour
is specified by the fourth argument of the function). The background
area for some reason takes a large space of the image area. I insert
the icon through a label and give it 96 pixels width and 30 pixels
height (the image exact size) but my image is shrinked (automticaly)
quite a lot, so that the background area can also fit. Since my image
is small in proportion to the background area (it takes about 70% of
its defined area). I need to remove the background area somehow if I
want to make the graphic presentable.
Are there any suggestions to this problem. By the way I use Custom IC
5.0.33 and 5.1.41
Thank you
I have created some graphics using a display list with the dl*
functions. I tried to convert this graphic to an icon so as to place
it in a form.
dlDlistToIcon(DL 96 30 hiMatchColor(nameToColor("white")))
IT seems that when an icon is created with dlDlistToIcon, an area
around it is also created by the name background area(this area colour
is specified by the fourth argument of the function). The background
area for some reason takes a large space of the image area. I insert
the icon through a label and give it 96 pixels width and 30 pixels
height (the image exact size) but my image is shrinked (automticaly)
quite a lot, so that the background area can also fit. Since my image
is small in proportion to the background area (it takes about 70% of
its defined area). I need to remove the background area somehow if I
want to make the graphic presentable.
Are there any suggestions to this problem. By the way I use Custom IC
5.0.33 and 5.1.41
Thank you