Commit Graph

10 Commits

Author SHA1 Message Date
Christopher Lloyd
66db67d688 Added NSOpenGLDrawable abstract class, moved NSOpenGLDrawable_gdiView to Win32/, removed use of windows.h in NSOpenGL 2008-12-08 02:19:34 +00:00
Christopher Lloyd
061c62e63c - KGFontState renamed KTFont, most of the existing implementation moved to KTFont_gdi (previously KGFontState_gdi), cleaned up
- CTFont API which wraps KTFont
- NSFont largely changed to CTFont API use
- assorted KGContext * -> CGContextRef changes
2008-12-04 04:15:50 +00:00
Christopher Lloyd
b7dda287b6 - KGImageSource_TIFF returns DPI properties and will return multiple images if requested
- NSBitmapImageRep uses DPI properties from CGImageSource if present to calculate size
- NSImageCell uses NSImage drawInRect: which in turn will scale image
- NSImage has more caching behaviour and will resize images into cached reps
- NSCachedImageRep uses the new rasterizer always
- -[NSWindow deviceDescription] returns something usable by NSImage
2008-08-12 16:16:19 +00:00
Christopher Lloyd
8890d71158 - Issue #135 fix, use OBJCModulePathForProcess() instead of __argv[0]
- Some NSGraphicsContext work to support drawing in NSBitmapImageRep's, probably not functional
2008-07-16 15:11:16 +00:00
Christopher Lloyd
5aabd688f9 - Moved CG* headers to ApplicationServices and changed references in KG classes, this allows for building the KG classes on OSX from SWRender
- Cleanup of CG/KG classes, use CGGeometry instead of NSGeometry, fixed PathElement constant names
- SWRender, image resampling optimizations, added better basis for cubic curve tessellation
2008-04-17 16:59:58 +00:00
Christopher Lloyd
1f873233e1 -More PDF generation and related cleanup. Text output works. Font dictionaries need more work to get more accurate fonts on display. Shadings might work, untested.
-[NSFont set] generates flipped text matrix if view flipped
-NSPrintInfo NSCopying implemented
-focusStack moved from NSView to NSGraphicsContext
-more cleanup in Win32 and compartmentalization of GDI specific rendering
2007-10-22 19:00:18 +00:00
Christopher Lloyd
e5c2e1c5b5 - Issue 47 fix by Rolf Jansen, %f formatting bug fixes
- NSApplication*ActiveNotification's behavior implemented
- gcc 4.2.1 compiler warnings reduced
- First pass at PDF output, -[NSView dataWithPDFInsideRect:], and underlying NSPrintOperation, KGPDFContext and KGPDF* code functional but not complete (text, images and shadings not functional)
- Cleanup of KGContext,KGGraphicsState to be more general/abstract, moved KGRendering/DeviceContext into Win32
- NSCachedImageRep changed to use NSWindow instead of CGLayer
2007-10-15 18:08:57 +00:00
Christopher Lloyd
291d859a1e - Fixed case sensitivity on ObjC* #import's for case sensitive file systems submitted by halfactivist.
- CGWindow, NSCustomView, NSDrawer, NSWindow, NSWindowController, Win32Window fixes from Issues 10-17 submitted by Rolf Jansen.

- NSFileWrapper implementation submitted by Dirk Theisen.

- Added stubs to NSAssertionHandler, NSDirectoryEnumerator, NSFileManager for methods needed by NSFileWrapper addition.

- Added FlateDecode filter derived from a public domain implementation (not zlib) by Sean Barrett to the PDF system.

- Added ImageIO directory and starting point files.

- Added more starting point code in KoreGraphics and clean up in KG and Win32. Added KG(Mutable)Path.

- First pass at NSPDFImageRep hooks into underlying KG classes.
2007-03-11 19:28:02 +00:00
Christopher Lloyd
578873e3cf Added templates for many missing classes, updated copyright for 2007, +[NSValue valueWithRange:],-[NSObject className] 2007-01-01 21:11:21 +00:00
Christopher Lloyd
30916ff6e5 Original 2006-12-22 04:41:44 +00:00