Guidance
指路人
g.yi.org
Guidance Forums / Rapid-Q Basic / Graphics Editing w/ Rapid-Q

Register 
注册
Search 搜索
首页 
Home Home
Software
Upload

  
Forum List • Thread List • Reply • Refresh • New Topic • Search • Previous • Next First 1 Last
Message1. Graphics Editing w/ Rapid-Q
#1143
Posted by: SkyRenderX 2004-01-07 11:24:55
Hi everyone.  I would like to create a graphically oriented game using Rapid-Q.  My program would require the ability to load images (like bitmaps) and then edit them.  However, I cannot find any function within Rapid-Q which would allow me to select a specific pixel on a bitmap or on the Form and determine the color of that pixel.  Is there any way that this can be done?

Message2. Re: Graphics Editing w/ Rapid-Q
#1144
Posted by: 2004-01-07 23:31:54

Hello !

The QImage.Pixel property is a read, write property ???

Did you try it ?

Jacques
Message3. Re: Graphics Editing w/ Rapid-Q
#1145
Posted by: JohnK 2004-01-09 04:06:41
Both Qimage and Qcanvas are Read/Write

In QCanvas:

Color = QCanvas.Pixel(The_X_coorindate, The_Y_coordinate)

easy to see how Qimage works too.

-J

I'm basic too
Message4. Re: Graphics Editing w/ Rapid-Q
#1146
Posted by: SkyRenderX 2004-01-09 11:17:43
Wow...  I didn't know it was that easy.  Thanks guys!
Forum List • Thread List • Reply • Refresh • New Topic • Search • Previous • Next First 1 Last
掌柜推荐
 
 
 
 
 
 
 
 
 
 
 
 
© Sat 2024-10-5  Guidance Laboratory Inc.
Email:webmaster1g.yi.org Hits:0