FT_GlyphSlot_Own_Bitmap() private method

private FT_GlyphSlot_Own_Bitmap ( IntPtr slot ) : System.Error
slot System.IntPtr
return System.Error
コード例 #1
0
ファイル: GlyphSlot.cs プロジェクト: SirusDoma/Genode
        /// <summary>
        /// Make sure that a glyph slot owns ‘slot->bitmap’.
        /// </summary>
        /// <remarks>
        /// This function is to be used in combination with <see cref="FTBitmap.Embolden"/>.
        /// </remarks>
        public void OwnBitmap()
        {
            Error err = FT.FT_GlyphSlot_Own_Bitmap(Reference);

            if (err != Error.Ok)
            {
                throw new FreeTypeException(err);
            }
        }