FT_Outline_Reverse() private method

private FT_Outline_Reverse ( IntPtr outline ) : void
outline System.IntPtr
return void
Esempio n. 1
0
        /// <summary>
        /// Reverse the drawing direction of an outline. This is used to ensure consistent fill conventions for
        /// mirrored glyphs.
        /// </summary>
        /// <remarks><para>
        /// This function toggles the bit flag <see cref="OutlineFlags.ReverseFill"/> in the outline's ‘flags’ field.
        /// </para><para>
        /// It shouldn't be used by a normal client application, unless it knows what it is doing.
        /// </para></remarks>
        public void Reverse()
        {
            if (disposed)
            {
                throw new ObjectDisposedException("Outline", "Cannot access a disposed object.");
            }

            FT.FT_Outline_Reverse(reference);
        }
Esempio n. 2
0
 /// <summary>
 /// Reverse the drawing direction of an outline. This is used to ensure consistent fill conventions for
 /// mirrored glyphs.
 /// </summary>
 /// <remarks><para>
 /// This function toggles the bit flag <see cref="OutlineFlags.ReverseFill"/> in the outline's ‘flags’ field.
 /// </para><para>
 /// It shouldn't be used by a normal client application, unless it knows what it is doing.
 /// </para></remarks>
 public void Reverse() =>
 FT.FT_Outline_Reverse(Reference);