예제 #1
0
        public LogRegion Clone()
        {
            #if NETFX_CORE
            // TODO
            var copy = new LogRegion { Points = Points };
            #else
            var copy = new LogRegion { Geometry = Geometry.Clone(), Points = Points };
            #endif

            return copy;
        }
예제 #2
0
        private LogRegion GetDefaultClipRegion()
        {
            var region = new LogRegion
                             {
                                 Geometry = new RectangleGeometry
                                                {
                                                    Rect =
                                                        new Rect(new Point(int.MinValue, int.MinValue),
                                                                 new Point(int.MaxValue, int.MaxValue))
                                                }
                             };

            return region;
        }