disp() { setTitle("掃描線種子填充算法") setSize(width,Height) setBackground(Color.white) addWindowListener(this) addMouseListener(this) addMouseMotionListener(this) setVisible(true)
標簽: setBackground addWindow setTitle setSize
上傳時間: 2014-09-05
上傳用戶:haoxiyizhong
Height、width為水印圖像的高和寬,picHeight、picWidth為原始圖像的高和寬,picData存儲原始圖像3層小波變換后的小波系數的數據,wmData存儲原始圖像3層小波變換后的小波系數,Out存儲提取的水印分辨率層信息。
上傳時間: 2016-06-18
上傳用戶:gyq
本文通過簡易的表單制作, 添加表單的方法程序, 在程序中巧妙設置線條控件的L i neS2lant 、Left 、Top 、Height 及Width 屬性值,同時設置計時器的Interval 屬性及Timer Event 方法程序改變線條的顏色,以達到動態顯示效果
標簽: neS2lant Interval Height Width
上傳時間: 2013-12-31
上傳用戶:zhaiye
int show_char(int n, const char *name, chtype code) { const int Height = 16 int row = 4 + (n Height) int col = (n / Height) * COLS / 2 mvprintw(row, col, " *s : ", COLS/4, name) addch(code) return n + 1 }
標簽: int const show_char chtype
上傳時間: 2017-06-12
上傳用戶:3到15
width = gdk_pixbuf_animation_get_width(ani) Height = gdk_pixbuf_animation_get_Height(ani) current_frame_list = gdk_pixbuf_animation_get_frames(ani) pixmap = gdk_pixmap_new(w->window, width, Height, -1) clean_pixmap = gdk_pixmap_new(w->window, width, Height, -1) if (w->style->bg_pixmap[GTK_STATE_NORMAL]) { GdkPixmap *bg = w->style->bg_pixmap[GTK_STATE_NORMAL] GdkGC *gc GdkGCValues values values.tile = bg values.fill = GDK_TILED gc = gdk_gc_new_with_values(w->window, &values, GDK_GC_FILL|GDK_GC_TILE) gdk_gc_set_ts_origin(gc, (w->allocation.width - width)/2, (w->allocation.Height-Height)/2) gdk_draw_rectangle(clean_pixmap,gc, TRUE, 0, 0, width, Height) gdk_gc_destroy(gc) } else { gdk_draw_rectangle(clean_pixmap, w->style->bg_gc[GTK_STATE_NORMAL], TRUE, 0, 0, width, Height) }
標簽: gdk_pixbuf_animation_get_Height gdk_pixbuf_animation_get_width ani Height
上傳時間: 2013-12-26
上傳用戶:thinode
2. 編寫設計一個People類。該類的數據成員有年齡(age)、身高(Height)、體重(weight)、函數成員有進食(eat)、運動(sport)、睡眠(sleep)。其中進食函數使體重加1,運動函數使身高加1,睡眠函數使年齡、身高、體重各加1。要求所有數據成員為private,成員函數為public訪問權限。
標簽: People Height weight sport
上傳時間: 2013-12-17
上傳用戶:tedo811
The program uses fminsearch to obtain the transfer function of a tank’s Height. This tank is then controlled using a real PID controller. Controller’s tuning (determination of optimum controller’s parameters: gain and time constants) is achieved using the genetic algorithm toolbox. Finally, result are plotted using both matlab commands as well as simulink.
標簽: tank fminsearch function transfer
上傳時間: 2013-12-01
上傳用戶:rocwangdp
This m file hide an image jpeg,png in another jpeg,png image. The Height and width of the secret image is in LSB of 1st 32 pixels of 1st row of the cover image.This helps in the recovery of secret image. The secret image must be smaller than cover image.A message box will appear with a number ,that number is the maximum product of width and Height of secret image that can be successfully embedded in the cover image. The final png image will appear in workspace with random name.This image contains the secret image.One such png image is in the zip file with name 4447.png it contains an image of res 100x122.
上傳時間: 2017-07-25
上傳用戶:gououo
Height mapping Original coder: Trent Polack
標簽: Original mapping Height Polack
上傳時間: 2017-08-08
上傳用戶:zm7516678
Java code where user can enter the Height and base of a triangle and the program will calculate the area and perimeter if it is a right triangle
標簽: the and calculate triangle
上傳時間: 2013-12-06
上傳用戶:yzhl1988