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