Beispiel #1
0
            public void Apply(GraphicsHandler graphics)
            {
                graphics.SetFillColorSpace();

                                #if OSX
                graphics.SetPhase();
                                #endif

                // make current transform apply to the pattern
                var currentTransform = graphics.CurrentTransform;
                if (pattern == null || viewTransform != currentTransform)
                {
                    viewTransform = currentTransform;
                    SetPattern();
                }

                graphics.Control.SetFillPattern(pattern, alpha);
            }