bugGNUstep - Bugs: bug #17923, compositing images in flipped...

Group
 
 

bug #17923: compositing images in flipped views works intermittently

Submitter:  matt rice <ratmice>
Submitted:  Fri 06 Oct 2006 05:24:28 AM UTC
   
 
Category:  Gui/AppKit Severity:  3 - Normal
Item Group:  Bug Status:  Invalid
Privacy:  Public Assigned to:  None
Open/Closed:  Closed
* Mandatory Fields

Add a New Comment Rich Markup
   

Fri 06 Oct 2006 07:15:05 AM UTC, comment #1: 

I had a look at the code and the results on GNUstep,  concluded that everything was probably working properly, and ran it (slightly adapted version) on MacOS-X to make sure.

The reason you only see one image in the flipped view is that it is drawn with its origin at 0.0 which is the top-left corner of the view.
The composite operation puts the bottom left corner of the image at the specified point ... so the bottom left corner of the image is at the top left corner of the view and the image is therefore drawn outside the view and entirely hidden by the view's clipping.

The reason the other image appears at the same position in both views is that it is drawn at 64,64 which happens to be half way up the 128*128 view whether the view is flipped or not.


Richard Frith-Macdonald <CaS>
Group Member
Fri 06 Oct 2006 05:24:28 AM UTC, original submission:  

attached source contains 2 views, which each composite 2 images
one is flipped one is not, the flipped view only shows 1 image.

matt rice <ratmice>
Group Member

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

Attached Files
file #10904:  flippedViewImage-0.0.1.tar.gz added by ratmice (945B - application/gzip)

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

Only logged-in users can vote.

 

Follow 3 latest changes.

Date Changed by Updated Field Previous Value => Replaced by
2006-10-06 CaS StatusNone Invalid
    Open/ClosedOpen Closed
2006-10-06 ratmice Attached File- Added flippedViewImage-0.0.1.tar.gz, #10904

Back to the top

Powered by Savane 3.13-02a9.
Corresponding source code