프로젝트

일반

사용자정보

개정판 a6272c57

IDa6272c573947c9daab7529a31cf3cf428aee51c9
상위 a715d06e
하위 9fcc0151

백흠경이(가) 5년 이상 전에 추가함

issue #923: add ICommentUserInfo interface

Change-Id: Id0b65251436a5aa647eef78026dfad90d3ca64ab

차이점 보기:

MarkupToPDF/Controls/Etc/SymControlN.cs
24 24
    {
25 25
        private const string PART_ViewBox = "PART_ViewBox";
26 26
        public Viewbox Base_ViewBox = null;
27
        public string STAMP { get; set; }
27 28

  
28 29
        static SymControlN()
29 30
        {
......
337 338
        }
338 339

  
339 340
        /// <summary>
341
        /// call when mouse is moving while drawing control
342
        /// </summary>
343
        /// <author>humkyung</author>
344
        /// <param name="pt"></param>
345
        /// <param name="bAxisLocked"></param>
346
        public override void OnCreatingMouseMove(Point pt, bool bAxisLocked, bool bShiftKeyPressed)
347
        {
348
            if (this.StartPoint == this.EndPoint)
349
            {
350
                var xamlData = MarkupToPDF.Serialize.Core.JsonSerializerHelper.UnCompressString_NonPrefix(this.STAMP);
351
                xamlData = xamlData.Replace("daelim", "DAELIM");
352

  
353
                System.IO.MemoryStream stream = new System.IO.MemoryStream();
354
                System.IO.StreamWriter writer = new System.IO.StreamWriter(stream);
355
                writer.Write(xamlData);
356
                writer.Flush();
357
                stream.Position = 0;
358

  
359
                this.StrokeColor = new SolidColorBrush(Colors.Red);
360
                object obj = System.Windows.Markup.XamlReader.Load(stream);
361
                UIElement ob = obj as UIElement;
362

  
363
                this.SetViewBox();
364
                this.PathXathData = this.STAMP;
365
                this.Base_ViewBox.Child = ob;
366
            }
367

  
368
            this.EndPoint = pt;
369
            this.LeftBottomPoint = new Point(this.StartPoint.X, this.EndPoint.Y);
370
            this.TopRightPoint = new Point(this.EndPoint.X, this.StartPoint.Y);
371

  
372
            this.PointSet = new List<Point>
373
            {
374
                this.StartPoint,
375
                this.LeftBottomPoint,
376
                this.EndPoint,
377
                this.TopRightPoint,
378
            };
379
        }
380

  
381
        /// <summary>
340 382
        /// return SymControlN's area
341 383
        /// </summary>
342 384
        /// <author>humkyung</author>

내보내기 Unified diff

클립보드 이미지 추가 (최대 크기: 500 MB)