public static void ApplyScalingWaterMark <TPixel>(this IImageProcessingContext <TPixel> p_processingContext, Font p_font, string p_text, TPixel p_fontColor, TPixel p_backgroundColor, float p_padding, bool p_wordwrap, float p_targetSize) where TPixel : struct, IPixel <TPixel> { if (p_wordwrap) { p_processingContext.ApplyScalingWaterMarkWordWrap(p_font, p_text, p_fontColor, p_padding); } else { p_processingContext.ApplyScalingWaterMarkSimpleTopLeft(p_font, p_text, p_fontColor, p_backgroundColor, p_targetSize); } }