[Ilugc] [OT] Images only in Rectangle ?

  • From: asokanp@xxxxxxxxxxx (Pichai Asokan)
  • Date: Tue, 10 Dec 2002 09:39:51 +0530

On Tue, Dec 10, 2002 at 08:43:12AM +0530, Srihari Rasmi wrote:

Vikram wrote:
[snip]
Please...the rectangular object _is_ the issue. And its _not_ 
UI-lameness...its the UI's simplicity. Keeping things simple has always 
been the key. Contrary to intuition...a rectangle needs only four 
variables i.e., (x_1,y_1),(x_1,y_2),(x_2,y_1),(x_2,y_2). Even a 
quadrilateral would need eight variables i.e (x_i,y_i); 0<i<5; i belongs 
to N.
A nitpick:
A rectangle needs only two points = 4 variables.
Assuming that the vertices are numbered continuously,
(x1, y1) + (x3, y3) or (x2, y2) + (x4, y4) is enough.

'Fractally', the pixel is a rectangle. Its easy to build an exact huge 
rectangle out of small rectangles. No matter how small the pixels, you 
cant build an exact triangle.
This also equates to 'analog' vs 'digital' in some fashion.


[OT] When things come to windows, mouse sensitivity within a window 
needs only one parameter specifying the boundary (the horizontal bound 
or the vertical) when the mouse is moving in a straight line along _any_ 
direction...this is very simple. But think about a quadrilateral...you 
would need to specify the slope _and_ an initial starting point for the 
boundary line...which means...we need two parameters. More 
complex...lets stay simple.
Thats why the underlying 'bounding rectangle' is always used. IOW
whatever be the visual shape the system treats it as a rectangle
- technically the smallest rectangle with its edges parallel to the
screen that contains the shape.

[snip]

That is precisely why transparency was brought in.

Do you want an (Textual) Image Viewer ? Please
elaborate.

Is there anything like a textual image viewer??? Its difficult for me to 
comprehend how this would work. Any references/links?
I do not know if it really qualifies as a `text image viewer' but
zgv (or any other svgalib centric program) can display an image
without the necessity of X running.

P Asokan
--
"What is `anti-hacker' software?"
"Software that makes hackers run away and not
want to work on your machine - like Windows".

Other related posts: