copy_from() public method

public copy_from ( font_info other ) : void
other font_info
return void
Exemplo n.º 1
0
        private void update_font()
        {
            // 1.0.91+ - make sure we preserve the same font, since any match matching this filter will point to this font
            //           if the font gets updated, we want all matches to point to the existing font
            var new_font = get_font_info();

            font_.copy_from(new_font);
        }
Exemplo n.º 2
0
        public font_info copy()
        {
            var new_ = new font_info();

            new_.copy_from(this);
            return(new_);
        }
Exemplo n.º 3
0
 public font_info copy() {
     var new_ = new font_info();
     new_.copy_from(this);
     return new_;
 }