Author: rmottola Date: Fri Oct 9 00:04:17 2015 New Revision: 39043 URL: http://svn.gna.org/viewcvs/gnustep?rev=39043&view=rev Log: empty CGBitmapContext
Added: devmodules/dev-libs/mica/Sources/CGBitmapContext.m Modified: devmodules/dev-libs/mica/GNUmakefile Modified: devmodules/dev-libs/mica/GNUmakefile URL: http://svn.gna.org/viewcvs/gnustep/devmodules/dev-libs/mica/GNUmakefile?rev=39043&r1=39042&r2=39043&view=diff ============================================================================== --- devmodules/dev-libs/mica/GNUmakefile (original) +++ devmodules/dev-libs/mica/GNUmakefile Fri Oct 9 00:04:17 2015 @@ -30,6 +30,7 @@ CoreGraphics/CGContext.h \ CoreGraphics/CGGeometry.h \ CoreGraphics/CGColorSpace.h \ +CoreGraphics/CGBitmapContext.h \ CoreGraphics/CGImage.h \ CoreGraphics/CGPath.h \ CoreGraphics/CoreGraphics.h \ @@ -41,6 +42,7 @@ Mica_OBJC_FILES = \ Sources/CGContext.m \ Sources/CGColorSpace.m \ +Sources/CGBitmapContext.m \ Sources/CGPath.m \ # Added: devmodules/dev-libs/mica/Sources/CGBitmapContext.m URL: http://svn.gna.org/viewcvs/gnustep/devmodules/dev-libs/mica/Sources/CGBitmapContext.m?rev=39043&view=auto ============================================================================== --- devmodules/dev-libs/mica/Sources/CGBitmapContext.m (added) +++ devmodules/dev-libs/mica/Sources/CGBitmapContext.m Fri Oct 9 00:04:17 2015 @@ -0,0 +1,51 @@ +/** + Mica: Implementation of CoreGraphics on top of AppKit + CGBitmapContext.m + + Copyright (C) 2015 Free Software Foundation, Inc. + + Written by: Riccardo Mottola <r...@gnu.org> + + This file is part of the Mica Framework. + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2 of the License, or (at your option) any later version. + + This library is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Library General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, write to the Free + Software Foundation, Inc., 51 Franklin Street, Fifth Floor, + Boston, MA 02111 USA. + */ + +#include <CoreGraphics/CGBitmapContext.h> + +CGContextRef CGBitmapContextCreate +( + void *data, + size_t width, + size_t height, + size_t bitsPerComponent, + size_t bytesPerRow, + CGColorSpaceRef space, + CGBitmapInfo bitmapInfo + ) +{ + // TODO implement me + return NULL; +} + +CGImageRef CGBitmapContextCreateImage +( + CGContextRef c + ) +{ + // TODO implement me + return NULL; +} _______________________________________________ Gnustep-cvs mailing list Gnustep-cvs@gna.org https://mail.gna.org/listinfo/gnustep-cvs