반응형 분류 전체보기558 Windows.Forms.ControlPaint - 테두리(Border) 그리기 링크 : http://msdn.microsoft.com/ko-kr/library/system.windows.forms.controlpaint(v=vs.110).aspx 테두리 그리는데 여러가지 방법이 있겠지만, ControlPaint 클래스의 DrawBorder 를 이용하면 간단하게 그릴 수도 있다. // Handle the Form's Paint event to draw a 3D three-dimensional // raised border just inside the border of the frame. private void Form1_Paint(object sender, PaintEventArgs e) { Rectangle borderRectangle = this.ClientRectangle; b.. 2014. 12. 23. System.Drawing - 문자열 그리기 자간에 대해서 이미지에 문자열을 그리고자 하는데 맛이 가는 줄 알았다. DrawString을 이용하면 자간 조정이 안되고,TextRenderer를 이용하면 안티알리아싱이 안되고;; 워쩌란 말인가; 스택오버플로우에서도 아래와 같이 언급하고 있으나;; 안됨;; 흠.. [DllImport("gdi32.dll", CharSet=CharSet.Auto)] public static extern int SetTextCharacterExtra( IntPtr hdc, // DC handle int nCharExtra // extra-space value ); public void Draw(Graphics g) { IntPtr hdc = g.GetHdc(); SetTextCharacterExtra(hdc, 24); //set spaci.. 2014. 12. 23. PHP 파일 권한문제 (PHP fopen() Error: failed to open stream: Permission denied) 가끔 자주 까먹을때가 있다;; 1. 파일권한sudo chmod 777 test.txt2. PHP 설정파일 수정 ( php.ini ) - 왠만하면 여기까지 할 필요는 없겠지만, url 단으로 파일 열게 할때적용할 수 있겠지만 왠만하면;; 보안적으로는 위험할듯;;allow_url_fopen = off should bee this allow_url_fopen = On And add this line below it: allow_url_include = off should bee this allow_url_include = on 2014. 12. 20. 서브라임텍스트로 PHP 개발환경 구축 Sublime에서 PHP + Laravel 개발 환경 2014. 12. 10. 이전 1 ··· 46 47 48 49 50 51 52 ··· 140 다음 반응형