case (dithermode) of dmnearest: ditherer := tditherengine.create(bitmap.width, colorlookup); dmfloydsteinberg: ditherer := tfloydsteinbergditherer.create(bitmap.width, colorlookup); dmstucki: ditherer := tstuckiditherer.create(bitmap.width, colorlookup); dmsierra: ditherer := tsierraditherer.create(bitmap.width, colorlookup); dmjajuni: ditherer := tjajuniditherer.create(bitmap.width, colorlookup); dmstevearche: ditherer := tstevearcheditherer.create(bitmap.width, colorlookup); dmburkes: ditherer := tburkesditherer.create(bitmap.width, colorlookup); else exit;end;
返回
4、命名规则 1、文件名称: u模块名称;见名知意 2、控件名称: 功能_控件缩写;见名知意 3、变量 : 尽量不用缩写,尽量用名词;见名知意 4、方法与过程:尽量不用缩写,尽量用动宾词组;见名知意 5、常见的惯例 类名以t打头 (type之意) 类的私有数据域以f打头(field之意) 对数据的存取操作分别以set,get打头 事件属性以on打头
上一页 [1] [2] [3] [4]
Copyright @ 2007-2012 敏韬网(敏而好学,文韬武略--MinTao.Net)(学习笔记) Inc All Rights Reserved. 闵涛 E_mail:admin@mintao.net(欢迎提供学习资源)
鄂公网安备 42011102001154号
站长:MinTao ICP备案号:鄂ICP备11006601号-18