菜鸟疑惑:Symbian的绘图有画点功能吗?

vnking 2007-11-29 02:33:52
类似VC里面的SetPixel

我想贴自己格式的图片!
...全文
129 9 打赏 收藏 转发到动态 举报
写回复
用AI写文章
9 条回复
切换为时间正序
请发表友善的回复…
发表回复
WaveDHW 2007-12-16
  • 打赏
  • 举报
回复
You can set the pen's style, color or size to draw a point with the given attribute, ie., point's style, color and size.
Wish it would be a help. Good luck!
WaveDHW 2007-12-16
  • 打赏
  • 举报
回复
在视图的Draw()方法里面,

void CMyView::Draw(const TRect& /*aRect*/ ) const

   //Get the system graphics context
   CWindowGc& gc = SystemGc();

gc.SetPenStyle(CGraphicsContext::ESolidPen);
gc.SetPenSize(TSize(1, 1));

// the following for each pixel
gc.SetPenColor(<<your color>>);
gc.Plot(TPoint(x, y)); //x,y are the point value you about to draw.



vnking 2007-12-08
  • 打赏
  • 举报
回复
我把20分给2楼,不知道如果操作?
vnking 2007-12-08
  • 打赏
  • 举报
回复
2楼回答正确!
jmulxg 2007-12-07
  • 打赏
  • 举报
回复
mark
以后再来看
liqian99 2007-12-06
  • 打赏
  • 举报
回复
CWindowGc类里应有吧,是不是画二进制图,1代表黑,0代表白.
isarc 2007-12-04
  • 打赏
  • 举报
回复
圆就是点,点也是圆
linyanfu10 2007-11-29
  • 打赏
  • 举报
回复
gc.Plot()
anel 2007-11-29
  • 打赏
  • 举报
回复
CWindowGc::DrawLine()

3,119

社区成员

发帖
与我相关
我的任务
社区描述
塞班系统(Symbian系统)是塞班公司为手机而设计的操作系统,它的前身是英国宝意昂公司的 EP ( Electronic Piece of cheese)操作系统。
社区管理员
  • Symbian社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧