Simple graphical editor in Alaska

This forum is for eXpress++ general support.
Post Reply
Message
Author
User avatar
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

#1 Post by Eugene Lutsenko »

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.

User avatar
Auge_Ohr
Posts: 1428
Joined: Wed Feb 24, 2010 3:44 pm

Re: Simple graphical editor in Alaska

#2 Post by Auge_Ohr »

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.
what do you mean ? what you want to do with it ?
greetings by OHR
Jimmy

User avatar
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

#3 Post by Eugene Lutsenko »

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.

reganc
Posts: 259
Joined: Thu Jan 28, 2010 3:08 am
Location: Hersham, Surrey, UK
Contact:

Re: Simple graphical editor in Alaska

#4 Post by reganc »

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.
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.

Maybe it will help?
Regan Cawkwell
Real Business Applications Ltd
http://www.rbauk.com

User avatar
Auge_Ohr
Posts: 1428
Joined: Wed Feb 24, 2010 3:44 pm

Re: Simple graphical editor in Alaska

#5 Post by Auge_Ohr »

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.
greetings by OHR
Jimmy

User avatar
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

#6 Post by Eugene Lutsenko »

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

User avatar
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

#7 Post by Eugene Lutsenko »

reganc wrote:
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.
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.

Maybe it will help?
Thank you! Be sure to take a look. And you could not give a direct link?
http://www.alaska-software.com/download ... ection=350
http://news.alaska-software.com/

Post Reply