opal: fix build of tests

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/opal/trunk@36791 72102866-910b-0410-8b05-ffd578937521
Renamed a few things in order to expose X-based cairo surface as an Opal context. Introduced a few class wrappers in the process.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/opal/trunk@36792 72102866-910b-0410-8b05-ffd578937521
fix typo in CGPath bounding box function name

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/opal/trunk@36793 72102866-910b-0410-8b05-ffd578937521
CGBitmapContext: support drawing into a temporary buffer with cairo and converting to the user's requested format if the user requests a format cairo doesn't support

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/opal/trunk@36803 72102866-910b-0410-8b05-ffd578937521
CGPath: import CGPathAddEllipseInRect from NSBezierPath.m

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/opal/trunk@36804 72102866-910b-0410-8b05-ffd578937521
Fix some bugs in CGBitmapContext

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/opal/trunk@36805 72102866-910b-0410-8b05-ffd578937521
CGBitmapContext: continuing implementation

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/opal/trunk@36807 72102866-910b-0410-8b05-ffd578937521
Added OPContextSetIdentityCTM() and OPContextResetClip().


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/opal/trunk@36890 72102866-910b-0410-8b05-ffd578937521
* Source/OpalGraphics/CGBitmapContext.m: Use calloc to allocate zeroed
bitmap buffers


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/opal/trunk@36896 72102866-910b-0410-8b05-ffd578937521
fix typo in last commit

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/opal/trunk@36897 72102866-910b-0410-8b05-ffd578937521
* Source/OpalGraphics/CGBitmapContext.m: Fix subtle endianness bug.
For future reference, kCGBitmapByteOrderDefault means big-endian.
* Tests/bitmaps.m: Add a bitmap context test. It draws a black background
with a cream colored blob in the bottom left.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/opal/trunk@36898 72102866-910b-0410-8b05-ffd578937521
OPLogging macros used in CGBitmapContext and CGContext. Fixed crash in DumpPixel(). Fixed CGContextSet*ColorWithColor() setters. Added some null checks.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/opal/trunk@36909 72102866-910b-0410-8b05-ffd578937521
Most non-error logging is now using NSDebugLLog(), to have Opal emit less noise unless explicitly requested. Cleaned up small pieces of code.



git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/opal/trunk@36917 72102866-910b-0410-8b05-ffd578937521
* Source/OpalGraphics/image/OPImageCodecPNG.m: Rewrite to use
OPImageConvert and always convert to 32-bit RGBA, unpacked,
non-premultiplied. This is not ideal, but should always work.
* Source/OpalGraphics/CGDataConsumer.m: Create the file if
needed.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/opal/trunk@36919 72102866-910b-0410-8b05-ffd578937521
* Source/OpalGraphics/CGImage.m (CGImageCreateWithImageInRect):
Use the source rect to set the returned image's size.
The method is still incomplete, see TODOs.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/opal/trunk@36923 72102866-910b-0410-8b05-ffd578937521
Changed NSDebugLLog() category to OpalCall. Made logging more useful by adding context %p.



git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/opal/trunk@36924 72102866-910b-0410-8b05-ffd578937521
* Source/OpalGraphics/CGImage.m (CGImageCreateWithImageInRect):
Revert last change, it needs more work


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/opal/trunk@36925 72102866-910b-0410-8b05-ffd578937521
Fixed changelog

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/opal/trunk@36926 72102866-910b-0410-8b05-ffd578937521
Get the tests to compile again.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/opal/trunk@36941 72102866-910b-0410-8b05-ffd578937521
CTFramesetter: Breaking out of an infinite loop.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/opal/trunk@37075 72102866-910b-0410-8b05-ffd578937521