Simple graphical editor in Alaska
- Eugene Lutsenko
- Posts: 1649
- Joined: Sat Feb 04, 2012 2:23 am
- Location: Russia, Southern federal district, city of Krasnodar
- Contact:
Simple graphical editor in Alaska
Somewhere I saw a simple graphical editor similar to Paint, made in Alaska. And now could not find it. Tell me, please, where to find the source.
Re: Simple graphical editor in Alaska
what do you mean ? what you want to do with it ?Eugene Lutsenko wrote:Somewhere I saw a simple graphical editor similar to Paint, made in Alaska. And now could not find it. Tell me, please, where to find the source.
greetings by OHR
Jimmy
Jimmy
- Eugene Lutsenko
- Posts: 1649
- Joined: Sat Feb 04, 2012 2:23 am
- Location: Russia, Southern federal district, city of Krasnodar
- Contact:
Re: Simple graphical editor in Alaska
I would like to learn from the example of his source code how to work with graphics. I need to be able to read the coordinates of the mouse after clicking the left mouse button in the graphic. Yet it would be desirable to be able to read the pixel values for the coordinates in a graphic object to analyze it, for example to draw contours do fill and the like.
Re: Simple graphical editor in Alaska
Have a look in Alaska newsgroup 'public.xbase++.gui' at a message Thread started on 28/06/2005 posted by Greg Doran named 'Howto: Rotate Image Files BMPManip Version 3.0 [key: bitmap]'. There is a zip attached to the 1st message with a program that shows how to do some things.Eugene Lutsenko wrote:I would like to learn from the example of his source code how to work with graphics. I need to be able to read the coordinates of the mouse after clicking the left mouse button in the graphic. Yet it would be desirable to be able to read the pixel values for the coordinates in a graphic object to analyze it, for example to draw contours do fill and the like.
Maybe it will help?
Regan Cawkwell
Real Business Applications Ltd
http://www.rbauk.com
Real Business Applications Ltd
http://www.rbauk.com
Re: Simple graphical editor in Alaska
hi,
as i understand Eugene want to "edit" Bitmap which was "saved" to Harddisk.
while Xbase++ work with Presspace and Windows API work with hDC you have to use oPS:lockHDC() and oPS:UnlockHDC() methods of the XbpPresSpace object (not documented in 1.9.x ), which give access to an initialized Windows device context, a prerequisite for using native Windows graphics functions.
as i understand Eugene want to "edit" Bitmap which was "saved" to Harddisk.
while Xbase++ work with Presspace and Windows API work with hDC you have to use oPS:lockHDC() and oPS:UnlockHDC() methods of the XbpPresSpace object (not documented in 1.9.x ), which give access to an initialized Windows device context, a prerequisite for using native Windows graphics functions.
greetings by OHR
Jimmy
Jimmy
- Eugene Lutsenko
- Posts: 1649
- Joined: Sat Feb 04, 2012 2:23 am
- Location: Russia, Southern federal district, city of Krasnodar
- Contact:
Re: Simple graphical editor in Alaska
I would like to make a program that would be specially processed scanned images. Thus it is necessary to set the mouse coordinates of the two singular points, and the rest of the program should do it myself. To do this, she must find the outline of the image on the brightness and color contrast with the background, and then to determine the distance from the first of the given points to the contour points and to put these distances in the database. Each scan objects must conform to its own record in the database. The second point is to divide the circuit into two parts, roughly on the right and left. Such is the problem.
Is it possible to use in a program written in Alaska, these graphics functions from libraries? How does it look? Are there similar functions in Alaska?
http://msdn.microsoft.com/en-us/library ... s.85).aspx
Is it possible to use in a program written in Alaska, these graphics functions from libraries? How does it look? Are there similar functions in Alaska?
http://msdn.microsoft.com/en-us/library ... s.85).aspx
- Eugene Lutsenko
- Posts: 1649
- Joined: Sat Feb 04, 2012 2:23 am
- Location: Russia, Southern federal district, city of Krasnodar
- Contact:
Re: Simple graphical editor in Alaska
Thank you! Be sure to take a look. And you could not give a direct link?reganc wrote:Have a look in Alaska newsgroup 'public.xbase++.gui' at a message Thread started on 28/06/2005 posted by Greg Doran named 'Howto: Rotate Image Files BMPManip Version 3.0 [key: bitmap]'. There is a zip attached to the 1st message with a program that shows how to do some things.Eugene Lutsenko wrote:I would like to learn from the example of his source code how to work with graphics. I need to be able to read the coordinates of the mouse after clicking the left mouse button in the graphic. Yet it would be desirable to be able to read the pixel values for the coordinates in a graphic object to analyze it, for example to draw contours do fill and the like.
Maybe it will help?
http://www.alaska-software.com/download ... ection=350
http://news.alaska-software.com/