Home | History | Annotate | Download | only in core

Lines Matching full:shader

33  *  has no shader, then the paint's color is used. If the paint has a
34 * shader, then the shader's color(s) are use instead, but they are
35 * modulated by the paint's alpha. This makes it easy to create a shader
37 * w/o having to modify the original shader... only the paint's alpha needs
43 /** replicate the edge color if the shader draws outside of its
48 /** repeat the shader's image horizontally and vertically */
51 /** repeat the shader's image horizontally and vertically, alternating
69 * FIXME: This can be incorrect for a Shader with its own local matrix
75 * Returns true if the shader is guaranteed to produce only opaque
76 * colors, subject to the SkPaint using the shader to apply an opaque
84 * Returns true if this shader is just a bitmap, and if not null, returns the bitmap,
96 * Iff this shader is backed by a single SkImage, return its ptr (the caller must ref this
97 * if they want to keep it longer than the lifetime of the shader). If not, return nullptr.
106 * If the shader subclass can be represented as a gradient, asAGradient
172 * Return a shader that will apply the specified localMatrix to this shader.
173 * The specified matrix will be applied before any matrix associated with this shader.
178 * Create a new shader that produces the same colors as invoking this shader and then applying
187 * Call this to create a new "empty" shader, that will not draw anything.
192 * Call this to create a new shader that just draws the specified color. This should always
193 * draw the same as a paint with this color (and no shader).
198 * Create a shader that draws the specified color (in the specified colorspace).
212 * If either shader is nullptr, then this returns nullptr.
231 * If either shader is nullptr, then this returns nullptr.
238 /** Call this to create a new shader that will draw with the specified bitmap.
247 * @param src The bitmap to use inside the shader
250 * @return Returns a new shader object. Note: this function never returns null.
255 // NOTE: You can create an SkImage Shader with SkImage::newShader().
257 /** Call this to create a new shader that will draw with the specified picture.
259 * @param src The picture to use inside the shader (if not NULL, its ref count
261 * successfully creating a picture shader.
269 * @return Returns a new shader object. Note: this function never returns null.
275 * If this shader can be represented by another shader + a localMatrix, return that shader and