你好,kilari_venkatesh,
我很长时间没有和DCL打交道了,但是,让我们看看我是否可以帮助。。。
一个简单的解决方案是,将背景颜色设置为-15,对话框颜色,它不会修改图像大小,但你不会看到白色。。。
例如
- : row {
- : image {
- key = "im" ;
- height = 2.15 ; //0.9495
- width = 10 ; //1.00
- color = -15 ; //the dialog color
- fixed_width = true; //fix the width
- fixed_height = true; //fix the height
- }
- : paragraph {
- : text_part {
- label = "Designed and Created";
- }
- : text_part {
- label = "XYZ";
- }
- }
- }
要使图像适合平铺,必须更改图像大小,并更改图像偏移。
例如
- (setq w (dimx_tile "im")
- h (dimy_tile "im")
- ) ;_ end of setq
- (start_image "im")
- (fill_image 0 0 w h 1);;comment after you set the correct img size and offset
- (slide_image -25 -5 (* w 2) (* h 2) "hatch")
- (end_image)
希望有帮助
亨里克 |