Module: Quartz
- Defined in:
- lib/rubyquartz.rb,
lib/rubyquartz/font.rb,
lib/rubyquartz/size.rb,
lib/rubyquartz/text.rb,
lib/rubyquartz/color.rb,
lib/rubyquartz/image.rb,
lib/rubyquartz/point.rb,
lib/rubyquartz/bitmap.rb,
lib/rubyquartz/context.rb,
lib/rubyquartz/shading.rb,
lib/rubyquartz/function.rb,
lib/rubyquartz/pdf_page.rb,
lib/rubyquartz/colorspace.rb,
lib/rubyquartz/pdf_context.rb,
lib/rubyquartz/image_source.rb,
lib/rubyquartz/pdf_document.rb,
lib/rubyquartz/bitmap_context.rb,
ext/rubyquartz.c
Overview
Copyright © 2006,2007, The Omni Group, Inc. All rights reserved.
OPEN PERMISSION TO USE AND REPRODUCE OMNI SOURCE CODE SOFTWARE
Omni Source Code software is available from The Omni Group on their web site at www.omnigroup.com.
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
Any original copyright notices and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED “AS IS” WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Defined Under Namespace
Classes: Bitmap, BitmapContext, Color, ColorSpace, Context, Font, Function, Image, ImageSource, PDFContext, PDFDocument, PDFPage, Point, Shading, Size, Text
Constant Summary collapse
- VERSION =
'0.1.3'
Class Method Summary collapse
Class Method Details
._check_memory ⇒ Object
49 50 51 52 53 54 |
# File 'ext/rubyquartz.c', line 49
static VALUE _check_memory(VALUE self)
{
if (!malloc_zone_check(NULL))
rb_raise(rb_eException, "Memory check failed");
return self;
}
|
.check_memory ⇒ Object
30 31 32 33 34 |
# File 'lib/rubyquartz.rb', line 30 def self.check_memory _check_memory GC.start _check_memory end |