Lines Matching defs:context
51 #include <cairomm/context.h>
1406 Cairo::RefPtr<Context> context = Context::create(surface);
1410 context->set_source_rgb(
1414 context->paint();
1424 context->set_source(leftEdgeFade);
1425 context->rectangle (x, frameY + shaddowOffsetY + halfBlurRadius,
1427 context->fill();
1435 context->set_source(rightEdgeFade);
1436 context->rectangle (frameX + frameWidth + shaddowOffsetX - halfBlurRadius,
1439 context->fill();
1447 context->set_source(topEdgeFade);
1448 context->rectangle (frameX + shaddowOffsetX + halfBlurRadius, y,
1450 context->fill();
1458 context->set_source(bottomEdgeFade);
1459 context->rectangle (frameX + shaddowOffsetX + halfBlurRadius, y,
1461 context->fill();
1470 context->set_source(topLeftCornerFade);
1471 context->rectangle (x, y, blurRadius, blurRadius);
1472 context->fill();
1481 context->set_source(topRightCornerFade);
1482 context->rectangle (x, y, blurRadius, blurRadius);
1483 context->fill();
1492 context->set_source(bottomLeftCornerFade);
1493 context->rectangle (x, y, blurRadius, blurRadius);
1494 context->fill();
1503 context->set_source(bottomRightCornerFade);
1504 context->rectangle (frameX + frameWidth + shaddowOffsetX - halfBlurRadius,
1507 context->fill();
1510 context->set_line_width(1);
1511 context->rectangle (frameX, frameY, frameWidth, frameHeight);
1513 context->set_source_rgb(1.0, 1.0, 1.0);
1514 context->fill_preserve();
1515 context->set_source_rgb(0.25, 0.25, 0.25);
1516 context->stroke_preserve();
1526 context->set_matrix (matrix);
1529 set_source_pixbuf (context, _preview_bitmap_image, 0, 0);
1530 context->paint();
1533 context->set_identity_matrix();
1537 context->set_source_rgb(0.75, 0.75, 0.75);
1538 context->rectangle (svgX, svgY, scaledSvgWidth, scaledSvgHeight);
1539 context->stroke();