HomeSort by relevance Sort by last modified time
    Searched full:colorspace (Results 1 - 25 of 146) sorted by null

1 2 3 4 5 6

  /external/skia/xcode/hostapp/
test.cpp 45 CGColorSpaceRef colorspace = CGColorSpaceCreateWithName(kCGColorSpaceGenericRGB); local
46 CGColorRef color = CGColorCreate(colorspace, components);
50 CGColorSpaceRelease(colorspace);
  /external/webkit/WebCore/svg/graphics/
SVGPaintServerSolid.cpp 66 ColorSpace colorSpace = style ? style->colorSpace() : DeviceColorSpace;
70 context->setFillColor(color().rgb(), colorSpace);
79 context->setStrokeColor(color().rgb(), colorSpace);
SVGResourceFilter.cpp 181 ColorSpace colorSpace = DeviceColorSpace;
183 colorSpace = object->style()->colorSpace();
184 context->drawImage(resultImage->image(), colorSpace, lastEffect->subRegion());
  /external/webkit/WebCore/platform/graphics/
GraphicsContext.cpp 123 void GraphicsContext::setStrokeColor(const Color& color, ColorSpace colorSpace)
126 m_common->state.strokeColorSpace = colorSpace;
129 setPlatformStrokeColor(color, colorSpace);
132 void GraphicsContext::setShadow(const IntSize& size, int blur, const Color& color, ColorSpace colorSpace)
137 setPlatformShadow(size, blur, color, colorSpace);
172 ColorSpace GraphicsContext::strokeColorSpace() const
187 void GraphicsContext::setFillColor(const Color& color, ColorSpace colorSpace)
    [all...]
Image.h 31 #include "ColorSpace.h"
163 static void fillWithSolidColor(GraphicsContext*, const FloatRect& dstRect, const Color&, ColorSpace styleColorSpace, CompositeOperator);
165 // The ColorSpace parameter will only be used for untagged images.
167 virtual void drawFrameMatchingSourceSize(GraphicsContext*, const FloatRect& dstRect, const IntSize& srcSize, ColorSpace styleColorSpace, CompositeOperator) { }
169 virtual void draw(GraphicsContext*, const FloatRect& dstRect, const FloatRect& srcRect, ColorSpace styleColorSpace, CompositeOperator) = 0;
170 void drawTiled(GraphicsContext*, const FloatRect& dstRect, const FloatPoint& srcPoint, const FloatSize& tileSize, ColorSpace styleColorSpace, CompositeOperator);
171 void drawTiled(GraphicsContext*, const FloatRect& dstRect, const FloatRect& srcRect, TileRule hRule, TileRule vRule, ColorSpace styleColorSpace, CompositeOperator);
178 const FloatPoint& phase, ColorSpace styleColorSpace, CompositeOperator, const FloatRect& destRect);
GraphicsContext.h 30 #include "ColorSpace.h"
169 ColorSpace strokeColorSpace() const;
170 void setStrokeColor(const Color&, ColorSpace);
181 ColorSpace fillColorSpace() const;
182 void setFillColor(const Color&, ColorSpace);
247 void fillRect(const FloatRect&, const Color&, ColorSpace);
249 void fillRoundedRect(const IntRect&, const IntSize& topLeft, const IntSize& topRight, const IntSize& bottomLeft, const IntSize& bottomRight, const Color&, ColorSpace);
256 void drawImage(Image*, ColorSpace styleColorSpace, const IntPoint&, CompositeOperator = CompositeSourceOver);
257 void drawImage(Image*, ColorSpace styleColorSpace, const IntRect&, CompositeOperator = CompositeSourceOver, bool useLowQualityScale = false);
258 void drawImage(Image*, ColorSpace styleColorSpace, const IntPoint& destPoint, const IntRect& srcRect, CompositeOperator = CompositeS (…)
    [all...]
ImageBuffer.h 61 static PassOwnPtr<ImageBuffer> create(const IntSize& size, ImageColorSpace colorSpace = DeviceRGB)
64 OwnPtr<ImageBuffer> buf(new ImageBuffer(size, colorSpace, success));
107 ImageBuffer(const IntSize&, ImageColorSpace colorSpace, bool& success);
GeneratedImage.cpp 37 void GeneratedImage::draw(GraphicsContext* context, const FloatRect& dstRect, const FloatRect& srcRect, ColorSpace, CompositeOperator compositeOp)
51 const FloatPoint& phase, ColorSpace styleColorSpace, CompositeOperator compositeOp, const FloatRect& destRect)
GeneratedImage.h 60 virtual void draw(GraphicsContext*, const FloatRect& dstRect, const FloatRect& srcRect, ColorSpace styleColorSpace, CompositeOperator);
62 const FloatPoint& phase, ColorSpace styleColorSpace, CompositeOperator, const FloatRect& destRect);
GraphicsContextPrivate.h 61 ColorSpace strokeColorSpace;
67 ColorSpace fillColorSpace;
ColorSpace.h 31 enum ColorSpace { DeviceColorSpace, sRGBColorSpace };
  /external/webkit/WebCore/platform/graphics/openvg/
GraphicsContextOpenVG.cpp 165 void GraphicsContext::fillRect(const FloatRect& rect, const Color& color, ColorSpace colorSpace)
175 UNUSED_PARAM(colorSpace); // FIXME
178 void GraphicsContext::fillRoundedRect(const IntRect& rect, const IntSize& topLeft, const IntSize& topRight, const IntSize& bottomLeft, const IntSize& bottomRight, const Color& color, ColorSpace colorSpace)
188 UNUSED_PARAM(colorSpace); // FIXME
287 void GraphicsContext::setPlatformShadow(const IntSize& size, int blur, const Color& color, ColorSpace colorSpace)
296 UNUSED_PARAM(colorSpace);
511 void GraphicsContext::setPlatformStrokeColor(const Color& color, ColorSpace colorSpace
    [all...]
  /external/webkit/WebCore/platform/graphics/cg/
GradientCG.cpp 68 static CGColorSpaceRef colorSpace = CGColorSpaceCreateDeviceRGB();
71 m_gradient = CGShadingCreateRadial(colorSpace, m_p0, m_r0, m_p1, m_r1, colorFunction.get(), true, true);
73 m_gradient = CGShadingCreateAxial(colorSpace, m_p0, m_p1, colorFunction.get(), true, true);
83 static CGColorSpaceRef colorSpace = CGColorSpaceCreateDeviceRGB();
103 m_gradient = CGGradientCreateWithColorComponents(colorSpace, colorComponents.data(), locations.data(), m_stops.size());
GraphicsContextCG.cpp 72 static CGColorRef createCGColorWithColorSpace(const Color& color, ColorSpace colorSpace)
78 if (colorSpace == sRGBColorSpace)
86 static void setCGFillColor(CGContextRef context, const Color& color, ColorSpace colorSpace)
88 CGColorRef cgColor = createCGColorWithColorSpace(color, colorSpace);
93 static void setCGStrokeColor(CGContextRef context, const Color& color, ColorSpace colorSpace)
95 CGColorRef cgColor = createCGColorWithColorSpace(color, colorSpace);
100 static void setCGFillColorSpace(CGContextRef context, ColorSpace colorSpace
    [all...]
ImageBufferCG.cpp 73 RetainPtr<CGColorSpaceRef> colorSpace;
76 colorSpace.adoptCF(CGColorSpaceCreateDeviceRGB());
79 colorSpace.adoptCF(CGColorSpaceCreateDeviceGray());
83 colorSpace.adoptCF(CGColorSpaceCreateWithName(kCGColorSpaceGenericRGBLinear));
87 colorSpace.adoptCF(CGColorSpaceCreateDeviceRGB());
92 colorSpace.get(), (imageColorSpace == GrayScale) ? kCGImageAlphaNone : kCGImageAlphaPremultipliedLast));
  /external/webkit/WebCore/rendering/style/
StyleRareInheritedData.cpp 45 , colorSpace(DeviceColorSpace)
68 , colorSpace(o.colorSpace)
96 && colorSpace == o.colorSpace;
StyleRareInheritedData.h 71 unsigned colorSpace : 1; // ColorSpace
  /external/webkit/WebKit/chromium/src/mac/
WebScreenInfoFactory.mm 76 NSString *colorSpace = NSColorSpaceFromDepth([[NSScreen deepestScreen] depth]);
83 results.isMonochrome = colorSpace == NSCalibratedWhiteColorSpace
84 || colorSpace == NSCalibratedBlackColorSpace
85 || colorSpace == NSDeviceWhiteColorSpace
86 || colorSpace == NSDeviceBlackColorSpace;
  /external/webkit/WebCore/platform/graphics/haiku/
GraphicsContextHaiku.cpp 155 void GraphicsContext::fillRect(const FloatRect& rect, const Color& color, ColorSpace colorSpace)
172 void GraphicsContext::fillRoundedRect(const IntRect& rect, const IntSize& topLeft, const IntSize& topRight, const IntSize& bottomLeft, const IntSize& bottomRight, const Color& color, ColorSpace colorSpace)
484 void GraphicsContext::setPlatformStrokeColor(const Color& color, ColorSpace colorSpace)
526 void GraphicsContext::setPlatformFillColor(const Color& color, ColorSpace colorSpace)
539 void GraphicsContext::setPlatformShadow(IntSize const&, int, Color const&, ColorSpace)
  /external/webkit/WebCore/rendering/
EllipsisBox.cpp 36 context->setFillColor(textColor, style->colorSpace());
40 style->textShadow()->blur, style->textShadow()->color, style->colorSpace());
50 context->setFillColor(foreground, style->colorSpace());
58 context->setFillColor(textColor, style->colorSpace());
96 IntPoint(m_x + tx, m_y + ty + y), h, c, style->colorSpace());
  /external/webkit/WebCore/platform/haiku/
ScreenHaiku.cpp 62 color_space cs = screen.ColorSpace();
82 return screen.ColorSpace() == B_MONOCHROME_1_BIT;
  /external/webkit/WebKitTools/DumpRenderTree/mac/
PixelDumpSupportMac.mm 51 // To ensure pixel tests consistency, we need to always render in the same colorspace.
52 // Unfortunately, because of AppKit / WebKit constraints, we can't render directly in the colorspace of our choice.
53 // This implies we have to temporarily change the profile of the main display to the colorspace we want to render into.
54 // We also need to make sure the CGBitmapContext we return is in that same colorspace.
125 static CGColorSpaceRef colorSpace = 0;
126 if (!colorSpace) {
132 colorSpace = CGColorSpaceCreateWithPlatformColorSpace(profile);
137 CGContextRef context = CGBitmapContextCreate(buffer, pixelsWide, pixelsHigh, 8, rowBytes, colorSpace, kCGImageAlphaPremultipliedFirst | kCGBitmapByteOrder32Host); // Use ARGB8 on PPC or BGRA8 on X86 to improve CG performance
  /external/webkit/WebCore/platform/graphics/mac/
Canvas3DLayer.h 46 - (CGImageRef)copyImageSnapshotWithColorSpace:(CGColorSpaceRef)colorSpace;
  /external/jpeg/
jccolor.c 8 * This file contains input colorspace conversion routines.
55 * colorspace anyway.
84 * Initialize for RGB->YCC colorspace conversion.
120 * Convert some rows of samples to the JPEG colorspace.
181 * Convert some rows of samples to the JPEG colorspace.
219 * Convert some rows of samples to the JPEG colorspace.
276 * Convert some rows of samples to the JPEG colorspace.
335 * Convert some rows of samples to the JPEG colorspace.
416 * Module initialization routine for input colorspace conversion.
  /external/webkit/WebCore/platform/graphics/wx/
GraphicsContextWx.cpp 255 void GraphicsContext::fillRect(const FloatRect& rect, const Color& color, ColorSpace colorSpace)
265 void GraphicsContext::fillRoundedRect(const IntRect& rect, const IntSize& topLeft, const IntSize& topRight, const IntSize& bottomLeft, const IntSize& bottomRight, const Color& color, ColorSpace colorSpace)
446 void GraphicsContext::setPlatformStrokeColor(const Color& color, ColorSpace colorSpace)
465 void GraphicsContext::setPlatformFillColor(const Color& color, ColorSpace colorSpace)
519 void GraphicsContext::setPlatformShadow(IntSize const&,int,Color const&, ColorSpace)

Completed in 185 milliseconds

1 2 3 4 5 6