Exemple #1
0
 public background_paint(background_paint val)
 {
     image         = val.image;
     baseurl       = val.baseurl;
     attachment    = val.attachment;
     repeat        = val.repeat;
     color         = val.color;
     clip_box      = val.clip_box;
     origin_box    = val.origin_box;
     border_box    = val.border_box;
     border_radius = val.border_radius;
     image_size    = val.image_size;
     position_x    = val.position_x;
     position_y    = val.position_y;
     position_z    = val.position_z; //:h3ml
     is_root       = val.is_root;
 }
Exemple #2
0
 public override void get_content_size(out size sz, int max_width) => sz = _size;
Exemple #3
0
        public void clear() => x = y = z = width = height = depth = 0; //:h3ml

        public void assignTo(size sz)
        {
            width  = sz.width;
            height = sz.height;
            depth  = sz.depth; //:h3ml
        }
 public void get_image_size(string src, string baseurl, Dictionary <string, string> attrs, out size sz)
 {
     sz = default(size);
 }