Home | History | Annotate | Download | only in mac

Lines Matching refs:bitmapContext

108 static PassRefPtr<BitmapContext> createBitmapContext(size_t pixelsWide, size_t pixelsHigh, size_t& rowBytes, void*& buffer)
134 return BitmapContext::createByAdoptingBitmapAndContext(buffer, context);
137 PassRefPtr<BitmapContext> createBitmapContextFromWebView(bool onscreen, bool incrementalRepaint, bool sweepHorizontally, bool drawSelectionRect)
151 RefPtr<BitmapContext> bitmapContext = createBitmapContext(pixelsWide, pixelsHigh, rowBytes, buffer);
152 if (!bitmapContext)
154 CGContextRef context = bitmapContext->cgContext();
265 return bitmapContext.release();
268 PassRefPtr<BitmapContext> createPagedBitmapContext()
276 RefPtr<BitmapContext> bitmapContext = createBitmapContext(pageWidthInPixels, numberOfPages * (pageHeightInPixels + 1) - 1, rowBytes, buffer);
277 [mainFrame printToCGContext:bitmapContext->cgContext():pageWidthInPixels:pageHeightInPixels];
278 return bitmapContext.release();