private static void BuildShortcutItemIcon(string fullIconPath, Size outputSize, ShortcutItemImage shortcutItemImage, XyRatio xyRatio) { BuildIcon(fullIconPath, outputSize.Width, outputSize.Height, shortcutItemImage.Bytes, (int) Math.Round(shortcutItemImage.Width*xyRatio.X, 0), (int) Math.Round(shortcutItemImage.Height*xyRatio.Y, 0), (int) Math.Round(shortcutItemImage.X*xyRatio.X, 0), (int) Math.Round(shortcutItemImage.Y*xyRatio.Y, 0)); }
private static void BuildShortcutItemIcon(string fullIconPath, Size outputSize, ShortcutItemImage shortcutItemImage, XyRatio xyRatio) { BuildIcon(fullIconPath, outputSize.Width, outputSize.Height, shortcutItemImage.Bytes, (int)Math.Round(shortcutItemImage.Width * xyRatio.X, 0), (int)Math.Round(shortcutItemImage.Height * xyRatio.Y, 0), (int)Math.Round(shortcutItemImage.X * xyRatio.X, 0), (int)Math.Round(shortcutItemImage.Y * xyRatio.Y, 0)); }
private static void BuildShortcutItemIcon(string fullIconPath, Size outputSize, ShortcutItemImage shortcutItemImage, XyRatio xyRatio, Enums.ColorSelection tileIconifierColorSelection, string backgroundColor) { BuildIcon(fullIconPath, outputSize.Width, outputSize.Height, shortcutItemImage.Bytes, (int)Math.Round(shortcutItemImage.Width * xyRatio.X, 0), (int)Math.Round(shortcutItemImage.Height * xyRatio.Y, 0), (int)Math.Round(shortcutItemImage.X * xyRatio.X, 0), (int)Math.Round(shortcutItemImage.Y * xyRatio.Y, 0), tileIconifierColorSelection, backgroundColor); }