Re: [請益] gd...繪圖 請問函式問題

看板PHP作者 (芋頭)時間19年前 (2006/07/17 23:38), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串2/2 (看更多)
color imagecolorallocate(int im ,int red, int green, int blueim); imageline (int im, int x1, int y1, int x2, int y2, int col); imagestring (int im, int font, int x, int y, string s, int col); 不過小弟我在用文字都是使用 ImageTTFText(int im, int size, int angle, int x, int y, int col, string fontfile, string text) http://www.php5.idv.tw/modules.php?mod=books&act=show&shid=352 imagesetpixel(); 只可以畫出一個像素 一點而以 如果你的螢幕是1024*768 裡面的一點 1*1 如果你想大點一點!~~我在做是畫3條線 ███ ███ ███ 這樣 ※ 引述《finalwave (小龍)》之銘言: : 就我目前試出畫線 : 和加上文字 : 是用這兩個函式 : imageline(); : ImageString(); : 但是我想請問... : 怎麼把線弄粗一點 還有怎麼改顏色 : 怎麼讓字大一點 : 我畫出的線都很細一條 然後都是黑色... : 還有想請問繪點要用哪個函式 : 我用 : imagesetpixel(); : 畫不出來 : 還是說因為點太小了看不到? : 以上幾個問題求救 : 謝謝 -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 61.59.210.236
文章代碼(AID): #14kwy9b5 (PHP)
文章代碼(AID): #14kwy9b5 (PHP)