Home | History | Annotate | Download | only in pdf

Lines Matching full:shader

293 /* Conical gradient shader, based on the Canvas spec for radial gradients
437 State(const SkShader& shader, const SkMatrix& canvasTransform,
495 // handle compose shader by pulling things up to a layer, drawing with
496 // the first shader, applying the xfer mode and drawing again with the
497 // second shader, then applying the layer to the original drawing.
500 SkPDFObject* shader = canon->findImageShader(state);
501 return shader ? SkRef(shader)
504 SkPDFObject* shader = canon->findAlphaShader(state);
505 return shader ? SkRef(shader)
508 SkPDFObject* shader = canon->findFunctionShader(state);
509 return shader ? SkRef(shader)
517 const SkShader& shader,
522 SkNEW_ARGS(State, (shader, matrix, surfaceBBox, rasterScale)));
581 * luminosity mode. The shader pattern extends to the bbox.
623 // pattern shader as P0, then write content stream.
765 // In this way the shader will handle it eficiently, with minimal code.
837 // The image shader pattern cell will be drawn into a separate device
841 // Map clip bounds to shader space to ensure the device is large enough
856 // otherwise the bitmap gets clipped out and the shader is empty and awful.
1099 SkPDFShader::State::State(const SkShader& shader, const SkMatrix& canvasTransform,
1107 fShaderTransform = shader.getLocalMatrix();
1110 fType = shader.asAGradient(&fInfo);
1115 bitmapType = shader.asABitmap(&fImage, &matrix, fImageTileModes);
1120 // * use the result as a bitmap shader
1123 // we need to map it into shader space for adjustments (to match
1147 p.setShader(const_cast<SkShader*>(&shader));
1162 shader.asAGradient(&fInfo);