示例#1
0
        /// <summary>Creates a synthetic derivative of this font. Used when a font does not have e.g. an italic face.</summary>
        public FontFace CreateSynthetic(int styleCode, int weight, int stretch)
        {
            FontFace font = new FontFace();

            font.Derive(this, styleCode, weight, stretch);

            return(font);
        }
        /// <summary>Creates a synthetic derivative of this font. Used when a font does not have e.g. an italic face.</summary>
        public FontFace CreateSynthetic(bool italic, int weight)
        {
            FontFace font = new FontFace();

            font.Derive(this, italic, weight);

            return(font);
        }
//--------------------------------------