프로젝트

일반

사용자정보

개정판 3d702fcc

ID3d702fcc2d7aa4a80d35750c89a34b23f4381130
상위 b84c78a8
하위 4a54bb3a

백흠경이(가) 4달 전에 추가함

Fix: ConverterLineSize에서 factor를 0.2로 고정

Change-Id: I4877f4b78db1dedf2fb1bdbf1bcf776250808d6f

차이점 보기:

FinalService/KCOM_FinalService/MarkupToPDF/Common/ConverterLineSize.cs
5 5

  
6 6
namespace MarkupToPDF.Common
7 7
{
8
    public class ConverterLineSize
8
    public static class ConverterLineSize
9 9
    {
10
        private static double[] factors = new double[11]{0.5, 0.5, 0.5, 0.5, 0.4, 0.3, 0.3, 0.3, 0.2, 0.2, 0.2};
10
        /// private static double[] factors = new double[11]{0.5, 0.5, 0.5, 0.5, 0.4, 0.3, 0.3, 0.3, 0.2, 0.2, 0.2};
11 11
        public static double Convert(int iLineSize)
12 12
        {
13
            double factor = factors[iLineSize % 10];
13
            double factor = 0.2;/// factors[iLineSize % 10];
14 14
            /// WPF defines a device-independent pixel as 1 / 96 per inch
15 15
            /// iTextSharp : "the default for the size of the unit in default user space (1/72 inch)
16 16
            return iLineSize * 72 / 96 * factor;
FinalService/KCOM_FinalService/MarkupToPDF/Controls/Common/ControlType.cs.bak
1
using System;
2
using System.Collections.Generic;
3
using System.Linq;
4
using System.Text;
5
using System.Threading.Tasks;
6

  
7
namespace MarkupToPDF.Controls.Common
8
{
9
    public enum ControlType
10
    {
11
        None = 0,
12

  
13
        #region Line
14

  
15
        SingleLine = 1,
16

  
17
        ArrowLine = 2,
18

  
19
        CancelLine = 3,
20

  
21
        TwinLine = 4,
22

  
23
        DimLine = 5,
24

  
25
        ChainLine = 6,
26

  
27
        ArcLine = 7,
28

  
29
        ArcArrow = 8,
30

  
31
        ArrowMultiLine = 9,
32

  
33
        #endregion
34

  
35
        #region Shape
36

  
37
        Rectangle = 10,
38

  
39
        RectCloud = 11,
40

  
41
        Circle = 12,
42

  
43
        Triangle = 13,
44

  
45
        #endregion
46

  
47
        #region Text
48

  
49
        TextControl = 14,
50

  
51
        TextBorder = 15,
52

  
53
        TextCloud = 16,
54

  
55
        #endregion
56

  
57
        #region ArrowText
58

  
59
        ArrowTextControl = 17,
60

  
61
        ArrowTransTextControl = 18,
62

  
63
        ArrowTextBorderControl = 19,
64

  
65
        ArrowTransTextBorderControl = 20,
66

  
67
        ArrowTextCloudControl = 21,
68

  
69
        ArrowTransTextCloudControl = 22,
70

  
71
        #endregion
72

  
73
        #region Polygon
74

  
75
        PolygonControl = 23,
76

  
77
        PolygonCloud = 24,
78

  
79
        #endregion
80

  
81
        #region Pen
82

  
83
        PenControl = 25,
84

  
85
        #endregion
86

  
87
        #region Etc
88
        ImgControl = 26,
89
        Date = 27,
90
        Sign = 28,
91
        Symbol = 29,
92
        Mark = 30,
93
        Stamp = 31
94
        #endregion
95
    }
96
}

내보내기 Unified diff

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