Example #1
0
        //C++ TO C# CONVERTER TODO TASK: The implementation of the following method could not be found:
        //  TypefaceFontAssetProvider();
        //C++ TO C# CONVERTER TODO TASK: The implementation of the following method could not be found:
        //  public void Dispose();

        public void RegisterTypeface(SKTypeface typeface)
        {
            if (typeface == null)
            {
                return;
            }

            SkString sk_family_name = new SKString();

            typeface.getFamilyName(sk_family_name);

            string family_name = new string(sk_family_name.c_str(), sk_family_name.size());

            RegisterTypeface(typeface, family_name);
        }