Re: Euphoria 4.0.0 Release Candidate 1 - Released!

new topic     » goto parent     » topic index » view thread      » older message » newer message

The win32lib.ew I have, which works with Eu beta 4, is
v0.70.4a 17june 2008 file date=2010/01/25 size 1,786Kb and has a header as follows:

--------------------NOTICE-------------------------------* 
-- Software ID: win32lib 
-- Version:     0.70.4a 17/June/2008 
-- Copyright:   (c) 2000 /"David Cuny" and friends 
--              All rights reserved. 
-- Licence: 
-- This software is provided 'as-is', without any express or implied warranty. 
-- In no event will the authors be held liable for any damages arising from 
-- the use of this software. 
-- 
-- Permission is granted to anyone to use this software for any purpose, 
-- including commercial applications, and to alter it and redistribute it 
-- freely, subject to the following restrictictions: 
-- 1. The origin of this software must not be misrepresented; you must not 
--    claim that you wrote the original software. 
-- 2. If you use this software in a product, acknowedgement in the product's 
--    documenation and binary are required. 
-- 3. Altered source versions, and works substantially derived from the it, 
--    must... 
--   a) be plainly be marked as such, 
--   b) not be misrepresented as the original software, 
--   c) include this notice, unaltered. 
--------------------End of NOTICE------------------------* 

And there is indeed references to get_pixel etc. See inline routine below:

 
global function save_image(graphics_point top_left, graphics_point bottom_right) 
-- Save a rectangular region on a graphics screen, 
-- given the {x, y} coordinates of the top-left and bottom-right 
-- corner pixels. The result is a 2-d sequence of pixels suitable 
-- for use in display_image() above. 
    integer x, width 
    sequence save 
 
    x = top_left[1] 
    width = bottom_right[1] - x + 1 
    save = {} 
    for y = top_left[2] to bottom_right[2] do 
	save = append(save, get_pixel({x, y, width})) 
    end for 
    return save 
end function 

I take it, this is not one of your releases Derek? ;)
I have previously done some minor editing to resolve namespace issues.
Anyhow, let me do some more debugging here first!

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu