Exemple #1
0
        internal bool Draw(Graphics g, Point location, Size size)
        {
            if (plateletPrinter == null)
            {
                // Einrastfunktion
                Draw(g, location.X - size.Width / 2, location.Y - size.Height / 2, size.Width, size.Height);
                return(false);
            }

            plateletPrinter.DrawImage(g, display);
            return(true);
        }
Exemple #2
0
        internal bool Draw(Graphics g, PlateletPrinter best)
        {
            if (plateletPrinter == null)
            {
                best.DrawImage(g, display);
                return(true);
            }

            plateletPrinter.DrawImage(g, display);
            return(false);
        }