private FT_Outline_EmboldenXY ( |
||
outline | ||
xstrength | int | |
ystrength | int | |
return | System.Error |
/// <summary> /// Embolden an outline. The new outline will be ‘xstrength’ pixels wider and ‘ystrength’ pixels higher. /// Otherwise, it is similar to <see cref="Embolden"/>, which uses the same strength in both directions. /// </summary> /// <param name="strengthX"> /// How strong the glyph is emboldened in the X direction. Expressed in 26.6 pixel format. /// </param> /// <param name="strengthY"> /// How strong the glyph is emboldened in the Y direction. Expressed in 26.6 pixel format. /// </param> public void EmboldenXY(int strengthX, int strengthY) { Error err = FT.FT_Outline_EmboldenXY(Reference, strengthX, strengthY); if (err != Error.Ok) { throw new FreeTypeException(err); } }
/// <summary> /// Embolden an outline. The new outline will be ‘xstrength’ pixels wider and ‘ystrength’ pixels higher. /// Otherwise, it is similar to <see cref="Embolden"/>, which uses the same strength in both directions. /// </summary> /// <param name="strengthX"> /// How strong the glyph is emboldened in the X direction. Expressed in 26.6 pixel format. /// </param> /// <param name="strengthY"> /// How strong the glyph is emboldened in the Y direction. Expressed in 26.6 pixel format. /// </param> public void EmboldenXY(int strengthX, int strengthY) { if (disposed) { throw new ObjectDisposedException("Outline", "Cannot access a disposed object."); } Error err = FT.FT_Outline_EmboldenXY(reference, strengthX, strengthY); if (err != Error.Ok) { throw new FreeTypeException(err); } }