mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-30 17:20:38 +00:00
* Source/GSDragView.m (-init): Set the window background colour to clear.
* Headers/AppKit/NSAffineTransform.h, * Headers/AppKit/NSView.h, * Source/NSAffineTransform.m, * Source/NSPrintOperation.m, * Source/NSView.m: Use CGFlaot instead of float. * Tests/gui/NSView/NSView_bounds_scale.m: New test file that currently fails. git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@33398 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
f79e17387b
commit
87c05a3ba1
8 changed files with 166 additions and 69 deletions
|
@ -201,26 +201,26 @@ PACKAGE_SCOPE
|
|||
/*
|
||||
* Modifying the Frame Rectangle
|
||||
*/
|
||||
- (float) frameRotation;
|
||||
- (CGFloat) frameRotation;
|
||||
- (NSRect) frame;
|
||||
- (void) setFrame: (NSRect)frameRect;
|
||||
- (void) setFrameOrigin: (NSPoint)newOrigin;
|
||||
- (void) setFrameRotation: (float)angle;
|
||||
- (void) setFrameRotation: (CGFloat)angle;
|
||||
- (void) setFrameSize: (NSSize)newSize;
|
||||
|
||||
/*
|
||||
* Modifying the Coordinate System
|
||||
*/
|
||||
- (float) boundsRotation;
|
||||
- (CGFloat) boundsRotation;
|
||||
- (NSRect) bounds;
|
||||
- (void) setBounds: (NSRect)aRect;
|
||||
- (void) setBoundsOrigin: (NSPoint)newOrigin;
|
||||
- (void) setBoundsRotation: (float)angle;
|
||||
- (void) setBoundsRotation: (CGFloat)angle;
|
||||
- (void) setBoundsSize: (NSSize)newSize;
|
||||
|
||||
- (void) translateOriginToPoint: (NSPoint)point;
|
||||
- (void) scaleUnitSquareToSize: (NSSize)newSize;
|
||||
- (void) rotateByAngle: (float)angle;
|
||||
- (void) rotateByAngle: (CGFloat)angle;
|
||||
|
||||
- (BOOL) isFlipped;
|
||||
- (BOOL) isRotatedFromBase;
|
||||
|
@ -520,15 +520,15 @@ PACKAGE_SCOPE
|
|||
/*
|
||||
* Pagination
|
||||
*/
|
||||
- (void) adjustPageHeightNew: (float*)newBottom
|
||||
top: (float)oldTop
|
||||
bottom: (float)oldBottom
|
||||
limit: (float)bottomLimit;
|
||||
- (void) adjustPageWidthNew: (float*)newRight
|
||||
left: (float)oldLeft
|
||||
right: (float)oldRight
|
||||
limit: (float)rightLimit;
|
||||
- (float) heightAdjustLimit;
|
||||
- (void) adjustPageHeightNew: (CGFloat*)newBottom
|
||||
top: (CGFloat)oldTop
|
||||
bottom: (CGFloat)oldBottom
|
||||
limit: (CGFloat)bottomLimit;
|
||||
- (void) adjustPageWidthNew: (CGFloat*)newRight
|
||||
left: (CGFloat)oldLeft
|
||||
right: (CGFloat)oldRight
|
||||
limit: (CGFloat)rightLimit;
|
||||
- (CGFloat) heightAdjustLimit;
|
||||
- (BOOL) knowsPagesFirst: (int*)firstPageNum
|
||||
last: (int*)lastPageNum;
|
||||
#if OS_API_VERSION(GS_API_MACOSX, GS_API_LATEST)
|
||||
|
@ -536,7 +536,7 @@ PACKAGE_SCOPE
|
|||
#endif
|
||||
- (NSPoint) locationOfPrintRect: (NSRect)aRect;
|
||||
- (NSRect) rectForPage: (int)page;
|
||||
- (float) widthAdjustLimit;
|
||||
- (CGFloat) widthAdjustLimit;
|
||||
|
||||
/*
|
||||
* Writing Conforming PostScript
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue