Delphi7 GDI+学习
2020-02-15 23:48
736 查看
Delphi7自带的绘图有锯齿,所以要学习GDI+
主要是从这个网站学习
http://www.bianceng.com/Programming/Delphi/201212/34691.htm
相关控件下载
uses
GDIPAPI,GDIPOBJ; //包含这两个GDI+单元
TColor 与 RGB 的转换函数
function RGB2TColor(const R, G, B: Byte): Integer; begin // convert hexa-decimal values to RGB Result := R + G shl 8 + B shl 16; end; procedure TColor2RGB(const Color: TColor; var R, G, B: Byte); begin R := Color and $FF; G := (Color shr 8) and $FF; B := (Color shr 16) and $FF; end;
//MakeColor(236,233,216)//clBtnFace
转载于:https://www.cnblogs.com/tulater/p/7954777.html
- 点赞
- 收藏
- 分享
- 文章举报
相关文章推荐
- delphi7 TRichView 安装
- DELPHI常用函数集及简要范例
- Delphi: 如何减小应用程序(EXE)的大小?
- Delphi中建议使用的语句
- delphi使用SQL的教程8
- Delphi中本年、本月、本周第一天和最后一天
- delphi xml 添加节点
- delphi xml 查找节点
- delphi 中 Record ,packet Record
- Delphi的MessageBox的用法
- Delphi 将DBGrid中的内容导出到Excel
- Delphi把窗体设为bsnone时如何拖动窗体
- Delphi向QQ2011窗口发送登录消息
- delphi编程中的棘手问题;求指教!
- 在DELPHI程序中自动设置ODBC数据源
- Delphi粗边框
- 由Delphi程序改写Sql(2000)的存储过程
- Delphi发email
- 用Delphi 向量算法 判断点是否在线上
- Delphi 删除控件问题