프로젝트

일반

사용자정보

개정판 610cb8c8

ID610cb8c8b4f1bfaf1f9deb8e4f3dfa664f692678
상위 fff20522
하위 23b7be0e

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

issue #937: change class name for Symbol

차이점 보기:

FinalService/KCOM_FinalService/MarkupToPDF/Controls_PDF/DrawSet_Symbol.cs
1
using iTextSharp.text;
2
using iTextSharp.text.pdf;
3
using MarkupToPDF.Controls.Common;
4
using System;
5
using System.Collections.Generic;
6
using System.Linq;
7
using System.Text;
8
using System.Windows;
9
using System.Windows.Media;
10

  
11
namespace MarkupToPDF.Controls_PDF
12
{
13
    public class DrawSet_Symbol : BaseMethod
14
    {
15
        public static void DrawApproval(Point sp, Point ep, List<Point> pointSet, PdfContentByte contentByte, SolidColorBrush color, double Angle, double opac)
16
        {
17
            string APPROVED_CODE = @"iVBORw0KGgoAAAANSUhEUgAAAfAAAADYCAYAAAAUJLEJAAAABGdBTUEAALGOfPtRkwAAACBjSFJNAACHDwAAjA8AAP1SAACBQAAAfXkAAOmLAAA85QAAGcxzPIV3AAAKOWlDQ1BQaG90b3Nob3AgSUNDIHByb2ZpbGUAAEjHnZZ3VFTXFofPvXd6oc0w0hl6ky4wgPQuIB0EURhmBhjKAMMMTWyIqEBEEREBRZCggAGjoUisiGIhKKhgD0gQUGIwiqioZEbWSnx5ee/l5ffHvd/aZ+9z99l7n7UuACRPHy4vBZYCIJkn4Ad6ONNXhUfQsf0ABniAAaYAMFnpqb5B7sFAJC83F3q6yAn8i94MAUj8vmXo6U+ng/9P0qxUvgAAyF/E5mxOOkvE+SJOyhSkiu0zIqbGJIoZRomZL0pQxHJijlvkpZ99FtlRzOxkHlvE4pxT2clsMfeIeHuGkCNixEfEBRlcTqaIb4tYM0mYzBXxW3FsMoeZDgCKJLYLOKx4EZuImMQPDnQR8XIAcKS4LzjmCxZwsgTiQ7mkpGbzuXHxArouS49uam3NoHtyMpM4AoGhP5OVyOSz6S4pyalMXjYAi2f+LBlxbemiIluaWltaGpoZmX5Rq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ZVPNN5W3c6lhUCXKFotf2MM+GtvlUy0NWAo7Q/ng1x7714doBQynNuvTMCBPgYxx86hp8O8eABrs4ZtnTKqHdknkJTO9WnG1H78bwb3CuZfr7TsXgKS6tBns6JjunMU2rt+YxKglVhVBLcewryksHCmSdlb9/XebfWb8nzEW1JvfHcmyOOq4We/UznU+fh
22
                                     bN/SNbFrRvjpEA8e4LpwYUunjegEnja2KtKim7rkHWfJk+udjmVkgG9pvyXhpmWt7ZQo6SdnwvRIyaChdAZFPNvX/WOt25Labu17q+ReIsDPOTsD9PVthZ8M8eABfmbUtdWiOOaMDr3IeyNrFGqtb7nTsVwV4FHJwKTmXbjn6TDqEQolg4fS4/R+/3LmI8cSnjqk+81a10KA19E+VQusfVm+fi7D3w7xwAHuuTFad6wzrgo9Pb16BzjewnmnY7misOx5n8RrivWIfeR4nlBF19haP8VTqHsem7cOWese8Wyz5zG1dFU/06DNWzN0D6nGvF4//O0QDxzguuhhK0kKE+vvt3oX6atCTzydR7zF4E7HclVh2fI+HZ9th+f+F81wWOu35J1FKb1/PIODnjNtnjpUGrYEeBslIf7m+Qx/M8SDBrhGS7mRdyxKueW+Pvpq68rQE88N7C3gdzqWGQJcPFPpZ9/jes5X7/s/UjHN9UVRm631j3gHQaXT8x6eOiSl55cAb8ezf3mzH4S/GeJBA9zzZBFvcM8IvWdnuDr0PMfvDYg7HcssAe45p6WhJt7C1fN67Xn6rZS2yTMI0r1jrVvDczxnZjcI8LY8dUNe33fhv4Z40AD3dNj44YpnhH6mQHpdHXqeIuM9/jsdyywB7mnHmfvTM2Xd874/on1abdkqnXFoeV+U8NSh4981PkaAt+WdKXl934X/GuIBA1zBHNZO2hcAz4c8utG267Rydei1DIg7HcsMhUVaHlOkgmVtZ++KEPCErcQBuIe3QLfs4546dHbQ4LknCPAyntolr6bRw5+GeMAAPxMinnV63URn2ttSy4C407GsVFhKn0i9v171+p3fON6w1Xmx1j+ia2VtZ6vl9fRct9JjiAjw9jwDLnk1YxL+NMQDBrgKdFj70JsfI7yi/7aW3etR0DwdvWfoefbv/Ur3TscyS2HxTMOWvkdt+a1AD57p/dJj9lxP1QZr3TNydUhKZhG2CPA+PDOxr76VCH8a4sEC3HMzHHV8T
23
                                     9Ho0SmuDj3Pk4m3WN7pWGYoLJ42SOl96SlUVwaA5z46E7aeUD3zTnrPc91qBkie7V95/UrM0M8iz8D21QNA+NMQDxbgngJ+1EE904re6dcSV4aed7rS+4XunY7l6sKi4/EEjpT8CpR3tqnHr1V5eX/1q/QJ1nN/lj7ZWzxBUNMPCPA+PBnwauAY/jTEAwW4p4DnRu2eANANZ6171pWh59m3eJ9K7nQsVxcWz9S5lA4qveGo/mStP4qnL3qvZeR5z6n91h67pw7V7IMA78P7HvybZl718EABrmAIayXlnr48I+cWI/Stq0LPW8jFW2zudCxXFRaFkvfJW0rPp+cpo8dMUynPAOZMSHleldXco57z650FOkKA92Ptf+97Zl718EAB7unwuWnBK55Orgg9dRrPE46UvKu707GMKiy653TexHsckfeDvC3PNSo5T73o3Fpt29KxWOumeAK25vg9A4RcHcrx3JtXsNqaM1uAewbPPzDzqocHCXDP1Ie32I3+wMdTUFuFns6TpzBuqYNZ27Lc6VhmLZKRwl7nwGp7iucajSyYR3q20zNQOjNI1zrWtrbODLr2CPB+PPX/Z2Ze9fAgAe7p7FrGWnfPs62WU4ye/dWEntbVPjwzFHulTyJ3OpaZA1wBdPYpzjPoqZ3ibcFzL50t7J5XZdq/tW6Kp81ntrtHgPfjqS0EuIt9gi2eaQ/viNozihbdeNb6pTyd/gpnnvDudCyzFkkVmDNP3pEnwFuETC0N1qy2bZ0t7J5XZWeelHNPb7oPW7x+I8D7IcCbsU/wnuedVumHZ573WK0+Zps19HRerfam3OlYZiuSKv41sxfRnQK8dFZlyzNVWjJQ8gwKWgURAd4PAd6MfYL3PGFbWsA9gwJpMZqeMfTOBsWdjmWWIqmC0iK4ozsFeM0g2nOvlpwHz7S87ilr3VIEeD8EeDP2Cd7yTHefnbbSetb2tloUuplCT8d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XS
25
                                     1RceSC0XpOSvguX/1EOH5LZgWv+J2hABvx/sbTW/ed+FvhrhZgHs6+NmvwXO8BaZ0eo8An9NVhcVzDqPa/XuOUbZPnr14n4J63j/q49Y+t3R9dN6tn0W9zxcB3oYGWZ6aLm/ed+FvhrhRgHtGSroY+/VaynXcqOSJhQCf05WFxfOdR1Q7YPUGZ69jFe+v0o14J587H7o2uaLfOzwJ8HoKb8/3FvL1+y787RA3CnDPdF/PIiOem01KOg8BPqernwys/VlUXGqm0jXY9D6F9Dhezz0T9ZyWjrxTqim1rzZyCPA6qkHWfo58vWaFvx3iJgHufTeom2G7Xg+eUVvJTAABPqcrA1xK/oEXLWttw6sktFp+YzLyGEt4BzSW3g8RQoCfo/u8ZHZL7Ps9/GSImwS4JxhGTK+Jpy3indokwOd0dYDrKc47xSe1T6clYaoiWDNYVltLCmnpdyW1vH3cUnNevAhwH9UanYez11MDOft1aPjpEDcJcE8hG3XDemcDvEXHc3MR4ONdHeBS8mSsQLS2UcL7PjzS8iUDBy2rc2Zt64iOq/eU9J63j++Neojw3JtXs4Pv62Y+FrXNanP4oZFXPdwgwL0X2HvDtOB5Hy+eNhHgc5ohwKUkVFsMYr339paCS/u29h//vmQ2IboivKMz56HF+fcgwPtL16mwxBA3CHDPiL3F00cJXVyrHXue93bq9Na6WwT4eLMEuAphyTvZFgPZ0ifxHhSgV4W3ePv41qiHCAK8H/U1tclq62thySEWD3B1YE/xGjXyjbzt0jLW+lsE+JxmCXDxnNfI++omp2SfrY38YO2It49Hrc67BwHehwauvnaHpYdYPMC9o+ArRured3m5wCLA5zRTgEvJlG6rc1z6sVkt7Sv/9DOOt4+L96PVFgjwttS3yu67sNYQiwe4p3ho1PT6xI7jvfFy0/sE+Jw813dkgKsgWm2w6Mmx9qv0LV2zM++wvbTtGe8Lbx/3zLS1NEPo5cwe4Lpmqlfn+knYwhCLB3j436yRI989
26
                                     b1Gz1o0I8DnNFuDiOb9Rj/OsvlbyVJqjbV3Zfz08fXz0lD8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uBpVju2Um26IsAlNY3u+eeAI2v9yFp+DaH1QxDgaCzVsc9MHQPAWkK1G4IAR0O5qbUR07wAcK1Q7YYgwNFQaqpv1DQvAFwrVLwhCHA0lPrIqeS9GACsK1S8IQhwNJL6V8J6/ROfADCfUPWGIMDRgN5tp56+S75uBYC1hao3BAGOSgrnVHjr6ZuP1wA8jlD5hiDAUSAV1Ef41TEAjyVUviEIcBTw/n9bRzP+wy0A0FeofkMQ4Cjg+T8rifS0ztQ5gMcTKuAQBDgKpH7Pe6v0/2kLAO4jVMEhCHAU0P/bWOqfStUTOr/vDeCxhWo4xNIBDgDAoyLAAQBYEAEOAMCCCHAAABZEgAMAsCACHACABRHgAAAsiAAHAGBBBDgAAAsiwAEAWBABDgDAgghwAAAWRIADALAgAhwAgAUR4AAALIgABwBgQQQ4AAALIsABAFgQAQ4AwIIIcAAAFkSAAwCwIAIcAIAFEeAAACyIAAcAYEEEOAAAC+od4E8fffSTp08//SEAAGgkZKsydpe5KcUBDgAArkeAAwCwIAIcAIAFEeAAACyIAAcAYEEEOAAAq3l6662/PXt6993fWz8EAABzenrvvd8+e/rgg59bPwQAAFN6/vThhz999uKvf/1PPYobCwAAgMk8vf32X/Qvt4X/+urZ0yef/G/4I+/CAQCY2/OnX/7yv/8d4PLis8++//TOO3/WDzcLAgCA6z1/+sY3/vTi88+/G3P75f9svfjii++8/PfO33//NwAA4GIff/zjF19++e038/qrZ/8Ha84BdpHOnnEAAAAASUVORK5CYII=";
31
            contentByte.SaveState();
32
            BaseColor bs = new BaseColor(color.Color.R, color.Color.G, color.Color.B, color.Color.A);
33
            var midP = MathSet.getMiddlePoint(sp, ep);
34

  
35

  
36
            var Rect3 = GetPointsToRectX(pointSet);
37

  
38
            byte[] imageBytes = Convert.FromBase64String(APPROVED_CODE);
39

  
40
            Image img = Image.GetInstance(imageBytes);
41
            var imgTemp = imageToByteArray2(imageToByteArray(imageBytes), color);
42
            img = Image.GetInstance(imgTemp);
43

  
44
            img.ScaleToFit(Rect3.Width, Rect3.Height);
45

  
46
            img.SetAbsolutePosition(Rect3.Left + ((Rect3.Width - img.ScaledWidth) / (float)5), Rect3.Bottom + ((Rect3.Height - img.ScaledHeight) / (float)5));
47

  
48
            var xxxx = Rect3.Left + ((Rect3.Width - img.ScaledWidth) / 2);
49
            var x = Rect3.Left + ((Rect3.Width - img.ScaledWidth) / 2);
50
            var y = Rect3.Bottom + ((Rect3.Height - img.ScaledHeight) / 2);
51
            midP = MathSet.getMiddlePoint(new Point(x, y), new Point(x + img.ScaledWidth, y + img.ScaledHeight));
52
            System.Drawing.Drawing2D.Matrix mat2 = new System.Drawing.Drawing2D.Matrix();
53
            mat2.RotateAt((float)Angle * -1, new System.Drawing.PointF((float)midP.X, (float)midP.Y));
54
            contentByte.Transform(mat2);
55

  
56
            contentByte.AddImage(img);
57
            contentByte.RestoreState();
58
        }
59

  
60
        public static System.Drawing.Image imageToByteArray(byte[] byteData)
61
        {
62
            System.IO.MemoryStream streamData = new System.IO.MemoryStream(byteData);
63
            System.Drawing.Image returnImage = System.Drawing.Image.FromStream(streamData);
64

  
65

  
66
            return returnImage;
67

  
68
            //return ms.ToArray();
69
        }
70

  
71
        public static byte[] imageToByteArray2(System.Drawing.Image image, SolidColorBrush color)
72
        {
73
            System.Drawing.Bitmap bitmap = new System.Drawing.Bitmap(image);
74
            var colorList = color.Color;
75
            for (int x = 0; x < bitmap.Width; x++)
76
            {
77
                for (int y = 0; y < bitmap.Height; y++)
78
                {
79
                    System.Drawing.Color bitColor = bitmap.GetPixel(x, y);
80
                    //Sets all the pixels to white but with the original alpha value
81
                    bitmap.SetPixel(x, y, System.Drawing.Color.FromArgb(bitColor.A, colorList.R, colorList.G, colorList.B));
82
                    //bitmap.SetPixel(x, y, System.Drawing.Color.FromArgb(bitColor.A, 255, 0,0));
83
                }
84
            }
85

  
86
            System.IO.MemoryStream stream = new System.IO.MemoryStream();
87
            bitmap.Save(stream, System.Drawing.Imaging.ImageFormat.Png);
88
            return stream.ToArray();
89
        }
90
    }
91
}
FinalService/KCOM_FinalService/MarkupToPDF/Controls_PDF/HoneyPDFLib_DrawSet_Symbol.cs
1
using iTextSharp.text;
2
using iTextSharp.text.pdf;
3
using MarkupToPDF.Controls.Common;
4
using System;
5
using System.Collections.Generic;
6
using System.Linq;
7
using System.Text;
8
using System.Windows;
9
using System.Windows.Media;
10

  
11
namespace MarkupToPDF.Controls_PDF
12
{
13
    public class HoneyPDFLib_DrawSet_Symbol : BaseMethod
14
    {
15
        public static void DrawApproval(Point sp, Point ep, List<Point> pointSet, PdfContentByte contentByte, SolidColorBrush color, double Angle, double opac)
16
        {
17
            string APPROVED_CODE = @"iVBORw0KGgoAAAANSUhEUgAAAfAAAADYCAYAAAAUJLEJAAAABGdBTUEAALGOfPtRkwAAACBjSFJNAACHDwAAjA8AAP1SAACBQAAAfXkAAOmLAAA85QAAGcxzPIV3AAAKOWlDQ1BQaG90b3Nob3AgSUNDIHByb2ZpbGUAAEjHnZZ3VFTXFofPvXd6oc0w0hl6ky4wgPQuIB0EURhmBhjKAMMMTWyIqEBEEREBRZCggAGjoUisiGIhKKhgD0gQUGIwiqioZEbWSnx5ee/l5ffHvd/aZ+9z99l7n7UuACRPHy4vBZYCIJkn4Ad6ONNXhUfQsf0ABniAAaYAMFnpqb5B7sFAJC83F3q6yAn8i94MAUj8vmXo6U+ng/9P0qxUvgAAyF/E5mxOOkvE+SJOyhSkiu0zIqbGJIoZRomZL0pQxHJijlvkpZ99FtlRzOxkHlvE4pxT2clsMfeIeHuGkCNixEfEBRlcTqaIb4tYM0mYzBXxW3FsMoeZDgCKJLYLOKx4EZuImMQPDnQR8XIAcKS4LzjmCxZwsgTiQ7mkpGbzuXHxArouS49uam3NoHtyMpM4AoGhP5OVyOSz6S4pyalMXjYAi2f+LBlxbemiIluaWltaGpoZmX5RqP+6+Dcl7u0ivQr43DOI1veH7a/8UuoAYMyKarPrD1vMfgA6tgIgd/8Pm+YhACRFfWu/8cV5aOJ5iRcIUm2MjTMzM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7o3amzM3zi+yWPT0c2EzYmbf8gzySvNe70lbEtXvnL+pvyxrR5bmwskCvgFw9tst9VsR23nbu/fYb5j/45PhezCa0UmReVFH4pZxde+Mv2q4quFnbE7+0ssSw7uwuzi7Rra7bD7aKl0aU7p2B7fPe1l9LLCstd7o/ZeLV9WXrOPsE+4b6TCp6Jzv+b+Xfs/VMZX3qlyrmqtVqreUT13gH1g8KDjwZYa5Z
20
                                     qimveHuIfu1nrUttdp15UfxhzOOPy0PrS+92vG140NCg1FDR+P8I6MHA082tNo1djYpNRU0gw3C5unjkUeu/mN6zedLYYtta201qLj4Ljw+LNvo78dOuF9ovsk42TLd1rfVbdR2grbofbs9pmO+I6RzvDOgVMrTnV32Xa1fW/0/ZHTaqerzsieKTlLOJt/duFczrnZ86nnpy/EXRjrjup+cHHVxds9AT39l7wvXbnsfvlir1PvuSt2V05ftbl66hrjWsd1y+vtfRZ9bT9Y/NDWb9nffsPqRudN65tdA8sHzg46DF645Xrr8m2v29fvrLwzMBQydHc4cnjkLvvu5L2key/vZ9yff7DpIfph4SOpR+WPlR7X/aj3Y+uI5ciZUdfRvidBTx6Mscae/5T+04fx/Kfkp+UTqhONk2aTp6fcp24+W/1s/Hnq8/npgp+lf65+ofviu18cf+mbWTUz/pL/cuHX4lfyr468Xva6e9Z/9vGb5Dfzc4Vv5d8efcd41/s+7P3EfOYH7IeKj3ofuz55f3q4kLyw8Bv3hPP74uYdwgAAAAlwSFlzAAALEgAACxIB0t1+/AAAHypJREFUeF7t3b3OJkeZxvHRWloHDhCnQIAlAhICSyRO0AYbEKzEBlgiICBxYAkHDggcEEBCYomAxIElHHAKiIAAJBBzCJwCZzCvt66ZLaanfXfVXV0fXdXPP/ih8bz9Uf1R91Vd3e/w7KuvvnrDiy+++M7TRx/95On9938DAAAu9vHHP37x5Zff3uf16+D+7LPvP73zzp/DXz1/+dcAAGAWz5++8Y0/vfj88+++EeBPv/jF/+iHmwUBAMB8nj/96lf/9TLAX/z97//x9NZbf9stAAA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nG1H78bwb3CuZfr7TsXgKS6tBns6JjunMU2rt+YxKglVhVBLcewryksHCmSdlb9/XebfWb8nzEW1JvfHcmyOOq4We/UznU+fh
22
                                     bN/SNbFrRvjpEA8e4LpwYUunjegEnja2KtKim7rkHWfJk+udjmVkgG9pvyXhpmWt7ZQo6SdnwvRIyaChdAZFPNvX/WOt25Labu17q+ReIsDPOTsD9PVthZ8M8eABfmbUtdWiOOaMDr3IeyNrFGqtb7nTsVwV4FHJwKTmXbjn6TDqEQolg4fS4/R+/3LmI8cSnjqk+81a10KA19E+VQusfVm+fi7D3w7xwAHuuTFad6wzrgo9Pb16BzjewnmnY7misOx5n8RrivWIfeR4nlBF19haP8VTqHsem7cOWese8Wyz5zG1dFU/06DNWzN0D6nGvF4//O0QDxzguuhhK0kKE+vvt3oX6atCTzydR7zF4E7HclVh2fI+HZ9th+f+F81wWOu35J1FKb1/PIODnjNtnjpUGrYEeBslIf7m+Qx/M8SDBrhGS7mRdyxKueW+Pvpq68rQE88N7C3gdzqWGQJcPFPpZ9/jes5X7/s/UjHN9UVRm631j3gHQaXT8x6eOiSl55cAb8ezf3mzH4S/GeJBA9zzZBFvcM8IvWdnuDr0PMfvDYg7HcssAe45p6WhJt7C1fN67Xn6rZS2yTMI0r1jrVvDczxnZjcI8LY8dUNe33fhv4Z40AD3dNj44YpnhH6mQHpdHXqeIuM9/jsdyywB7mnHmfvTM2Xd874/on1abdkqnXFoeV+U8NSh4981PkaAt+WdKXl934X/GuIBA1zBHNZO2hcAz4c8utG267Rydei1DIg7HcsMhUVaHlOkgmVtZ++KEPCErcQBuIe3QLfs4546dHbQ4LknCPAyntolr6bRw5+GeMAAPxMinnV63URn2ttSy4C407GsVFhKn0i9v171+p3fON6w1Xmx1j+ia2VtZ6vl9fRct9JjiAjw9jwDLnk1YxL+NMQDBrgKdFj70JsfI7yi/7aW3etR0DwdvWfoefbv/Ur3TscyS2HxTMOWvkdt+a1AD57p/dJj9lxP1QZr3TNydUhKZhG2CPA+PDOxr76VCH8a4sEC3HMzHHV8T
23
                                     9Ho0SmuDj3Pk4m3WN7pWGYoLJ42SOl96SlUVwaA5z46E7aeUD3zTnrPc91qBkie7V95/UrM0M8iz8D21QNA+NMQDxbgngJ+1EE904re6dcSV4aed7rS+4XunY7l6sKi4/EEjpT8CpR3tqnHr1V5eX/1q/QJ1nN/lj7ZWzxBUNMPCPA+PBnwauAY/jTEAwW4p4DnRu2eANANZ6171pWh59m3eJ9K7nQsVxcWz9S5lA4qveGo/mStP4qnL3qvZeR5z6n91h67pw7V7IMA78P7HvybZl718EABrmAIayXlnr48I+cWI/Stq0LPW8jFW2zudCxXFRaFkvfJW0rPp+cpo8dMUynPAOZMSHleldXco57z650FOkKA92Ptf+97Zl718EAB7unwuWnBK55Orgg9dRrPE46UvKu707GMKiy653TexHsckfeDvC3PNSo5T73o3Fpt29KxWOumeAK25vg9A4RcHcrx3JtXsNqaM1uAewbPPzDzqocHCXDP1Ie32I3+wMdTUFuFns6TpzBuqYNZ27Lc6VhmLZKRwl7nwGp7iucajSyYR3q20zNQOjNI1zrWtrbODLr2CPB+PPX/Z2Ze9fAgAe7p7FrGWnfPs62WU4ye/dWEntbVPjwzFHulTyJ3OpaZA1wBdPYpzjPoqZ3ibcFzL50t7J5XZdq/tW6Kp81ntrtHgPfjqS0EuIt9gi2eaQ/viNozihbdeNb6pTyd/gpnnvDudCyzFkkVmDNP3pEnwFuETC0N1qy2bZ0t7J5XZWeelHNPb7oPW7x+I8D7IcCbsU/wnuedVumHZ573WK0+Zps19HRerfam3OlYZiuSKv41sxfRnQK8dFZlyzNVWjJQ8gwKWgURAd4PAd6MfYL3PGFbWsA9gwJpMZqeMfTOBsWdjmWWIqmC0iK4ozsFeM0g2nOvlpwHz7S87ilr3VIEeD8EeDP2Cd7yTHefnbbSetb2tloUuplCT8d85mk1utOxXFUk1W6dx5ahvbVKgHvupZrC7qkdJd+65OpFy+9mCP
24
                                     B+CPBm7BO81bOTe0bULTrlLKGn81Q7o3CnY7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QvAFwrVLwhCHA0lPrIqeS9GACsK1S8IQhwNJL6V8J6/ROfADCfUPWGIMDRgN5tp56+S75uBYC1hao3BAGOSgrnVHjr6ZuP1wA8jlD5hiDAUSAV1Ef41TEAjyVUviEIcBTw/n9bRzP+wy0A0FeofkMQ4Cjg+T8rifS0ztQ5gMcTKuAQBDgKpH7Pe6v0/2kLAO4jVMEhCHAU0P/bWOqfStUTOr/vDeCxhWo4xNIBDgDAoyLAAQBYEAEOAMCCCHAAABZEgAMAsCACHACABRHgAAAsiAAHAGBBBDgAAAsiwAEAWBABDgDAgghwAAAWRIADALAgAhwAgAUR4AAALIgABwBgQQQ4AAALIsABAFgQAQ4AwIIIcAAAFkSAAwCwIAIcAIAFEeAAACyIAAcAYEEEOAAAC+od4E8fffSTp08//SEAAGgkZKsydpe5KcUBDgAArkeAAwCwIAIcAIAFEeAAACyIAAcAYEEEOAAAq3l6662/PXt6993fWz8EAABzenrvvd8+e/rgg59bPwQAAFN6/vThhz999uKvf/1PPYobCwAAgMk8vf32X/Qvt4X/+urZ0yef/G/4I+/CAQCY2/OnX/7yv/8d4PLis8++//TOO3/WDzcLAgCA6z1/+sY3/vTi88+/G3P75f9svfjii++8/PfO33//NwAA4GIff/zjF19++e038/qrZ/8Ha84BdpHOnnEAAAAASUVORK5CYII=";
31
            contentByte.SaveState();
32
            BaseColor bs = new BaseColor(color.Color.R, color.Color.G, color.Color.B, color.Color.A);
33
            var midP = MathSet.getMiddlePoint(sp, ep);
34

  
35

  
36
            var Rect3 = GetPointsToRectX(pointSet);
37

  
38
            byte[] imageBytes = Convert.FromBase64String(APPROVED_CODE);
39

  
40
            Image img = Image.GetInstance(imageBytes);
41
            var imgTemp = imageToByteArray2(imageToByteArray(imageBytes), color);
42
            img = Image.GetInstance(imgTemp);
43

  
44
            img.ScaleToFit(Rect3.Width, Rect3.Height);
45

  
46
            img.SetAbsolutePosition(Rect3.Left + ((Rect3.Width - img.ScaledWidth) / (float)5), Rect3.Bottom + ((Rect3.Height - img.ScaledHeight) / (float)5));
47

  
48
            var xxxx = Rect3.Left + ((Rect3.Width - img.ScaledWidth) / 2);
49
            var x = Rect3.Left + ((Rect3.Width - img.ScaledWidth) / 2);
50
            var y = Rect3.Bottom + ((Rect3.Height - img.ScaledHeight) / 2);
51
            midP = MathSet.getMiddlePoint(new Point(x, y), new Point(x + img.ScaledWidth, y + img.ScaledHeight));
52
            System.Drawing.Drawing2D.Matrix mat2 = new System.Drawing.Drawing2D.Matrix();
53
            mat2.RotateAt((float)Angle * -1, new System.Drawing.PointF((float)midP.X, (float)midP.Y));
54
            contentByte.Transform(mat2);
55

  
56
            contentByte.AddImage(img);
57
            contentByte.RestoreState();
58
        }
59

  
60
        public static System.Drawing.Image imageToByteArray(byte[] byteData)
61
        {
62
            System.IO.MemoryStream streamData = new System.IO.MemoryStream(byteData);
63
            System.Drawing.Image returnImage = System.Drawing.Image.FromStream(streamData);
64

  
65

  
66
            return returnImage;
67

  
68
            //return ms.ToArray();
69
        }
70

  
71
        public static byte[] imageToByteArray2(System.Drawing.Image image, SolidColorBrush color)
72
        {
73
            System.Drawing.Bitmap bitmap = new System.Drawing.Bitmap(image);
74
            var colorList = color.Color;
75
            for (int x = 0; x < bitmap.Width; x++)
76
            {
77
                for (int y = 0; y < bitmap.Height; y++)
78
                {
79
                    System.Drawing.Color bitColor = bitmap.GetPixel(x, y);
80
                    //Sets all the pixels to white but with the original alpha value
81
                    bitmap.SetPixel(x, y, System.Drawing.Color.FromArgb(bitColor.A, colorList.R, colorList.G, colorList.B));
82
                    //bitmap.SetPixel(x, y, System.Drawing.Color.FromArgb(bitColor.A, 255, 0,0));
83
                }
84
            }
85

  
86
            System.IO.MemoryStream stream = new System.IO.MemoryStream();
87
            bitmap.Save(stream, System.Drawing.Imaging.ImageFormat.Png);
88
            return stream.ToArray();
89
        }
90
    }
91
}
FinalService/KCOM_FinalService/MarkupToPDF/MarkupToPDF.cs
1070 1070
                                                SolidColorBrush FontColor = _SetColor;
1071 1071
                                                double Angle = control.Angle;
1072 1072
                                                double Opacity = control.Opac;
1073
                                                Controls_PDF.HoneyPDFLib_DrawSet_Symbol.DrawApproval(StartPoint, EndPoint, pointSet, contentByte, _SetColor, Angle, Opacity);
1073
                                                Controls_PDF.DrawSet_Symbol.DrawApproval(StartPoint, EndPoint, pointSet, contentByte, _SetColor, Angle, Opacity);
1074 1074
                                            }
1075 1075
                                            break;
1076 1076
                                        #endregion
FinalService/KCOM_FinalService/MarkupToPDF/MarkupToPDF.csproj
139 139
    <Compile Include="Controls\Text\ArrowTextControl.cs" />
140 140
    <Compile Include="Controls\Text\TextControl.cs" />
141 141
    <Compile Include="Controls_PDF\BaseMethod.cs" />
142
    <Compile Include="Controls_PDF\DrawSet_Symbol.cs" />
142 143
    <Compile Include="Controls_PDF\HoneyPDFLib_DrawSet_Arc.cs" />
143 144
    <Compile Include="Controls_PDF\HoneyPDFLib_DrawSet_Arrow.cs" />
144 145
    <Compile Include="Controls_PDF\HoneyPDFLib_DrawSet_Cloud.cs" />
......
146 147
    <Compile Include="Controls_PDF\HoneyPDFLib_DrawSet_Image.cs" />
147 148
    <Compile Include="Controls_PDF\HoneyPDFLib_DrawSet_Line.cs" />
148 149
    <Compile Include="Controls_PDF\HoneyPDFLib_DrawSet_Shape.cs" />
149
    <Compile Include="Controls_PDF\HoneyPDFLib_DrawSet_Symbol.cs" />
150 150
    <Compile Include="Controls_PDF\HoneyPDFLib_DrawSet_Text.cs" />
151 151
    <Compile Include="EventMember.cs" />
152 152
    <Compile Include="MarkupToPDF.cs" />

내보내기 Unified diff

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