Home | History | Annotate | Download | only in core

Lines Matching full:paint

54     SkPaint(const SkPaint& paint);
68 /** Restores the paint to its initial settings.
99 /** Specifies the bit values that are stored in the paint's flags.
119 /** Return the paint's flags. Use the Flag enum to test flag values.
120 @return the paint's flags (see enums ending in _Flag for bit masks)
124 /** Set the paint's flags. Use the Flag enum to specific flag values.
125 @param flags The new flag bits for the paint (see Flags enum)
130 @return true if the antialias bit is set in the paint's flags.
143 @return true if the dithering bit is set in the paint's flags.
156 @return true if the lineartext bit is set in the paint's flags
164 @param linearText true to set the linearText bit in the paint's flags,
170 @return true if the lineartext bit is set in the paint's flags
178 bit @param subpixelText true to set the subpixelText bit in the paint's flags,
189 @param subpixelRender true to set the subpixelRenderText bit in the paint's flags,
200 @param useEmbeddedBitmapText true to set the kEmbeddedBitmapText bit in the paint's flags,
206 @return true if the underlineText bit is set in the paint's flags.
214 @param underlineText true to set the underlineText bit in the paint's
220 @return true if the strikeThruText bit is set in the paint's flags.
229 paint's flags, false to clear it.
234 @return true if the kFakeBoldText_Flag bit is set in the paint's flags.
242 @param fakeBoldText true to set the kFakeBoldText_Flag bit in the paint's
248 @return true if the kernText bit is set in the paint's flags.
256 @param kernText true to set the kKernText_Flag bit in the paint's
285 /** Return the paint's style, used for controlling how primitives'
288 @return the paint's Style
292 /** Set the paint's style, used for controlling how primitives'
295 @param style The new style to set in the paint
299 /** Return the paint's color. Note that the color is a 32bit value
303 @return the paint's color (and alpha).
307 /** Set the paint's color. Note that the color is a 32bit value containing
310 @param color The new color (including alpha) to set in the paint.
315 @return the alpha component of the paint's color.
321 @param a set the alpha component (0..255) of the paint's color.
327 @param a The new alpha component (0..255) of the paint's color.
328 @param r The new red component (0..255) of the paint's color.
329 @param g The new green component (0..255) of the paint's color.
330 @param b The new blue component (0..255) of the paint's color.
338 @return the paint's stroke width, used whenever the paint's style is
346 @param width set the paint's stroke width, used whenever the paint's
351 /** Return the paint's stroke miter value. This is used to control the
353 @return the paint's miter limit, used whenever the paint's style is
358 /** Set the paint's stroke miter value. This is used to control the
361 @param miter set the miter limit on the paint, used whenever the
362 paint's style is Stroke or StrokeAndFill.
366 /** Cap enum specifies the settings for the paint's strokecap. This is the
379 /** Join enum specifies the settings for the paint's strokejoin. This is
391 /** Return the paint's stroke cap type, controlling how the start and end
393 @return the line cap style for the paint, used whenever the paint's
398 /** Set the paint's stroke cap type.
399 @param cap set the paint's line cap style, used whenever the paint's
404 /** Return the paint's stroke join type.
405 @return the paint's line join style, used whenever the paint's style is
410 /** Set the paint's stroke join type.
411 @param join set the paint's line join style, used whenever the paint's
417 result in dst. The result is that drawing src with this paint will be
418 the same as drawing dst with a default paint (at least from the
427 /** Returns true if the current paint settings allow for fast computation of
441 effects in the paint (e.g. stroking). If needed, it uses the storage
451 if (paint.canComputeFastBounds()) {
454 const SkRect& fastR = paint.computeFastBounds(r, &storage);
465 /** Get the paint's shader object.
468 @return the paint's shader (or NULL)
478 @param shader May be NULL. The shader to be installed in the paint
483 /** Get the paint's colorfilter. If there is a colorfilter, its reference
485 @return the paint's colorfilter (or NULL)
489 /** Set or clear the paint's colorfilter, returning the parameter.
491 If the paint already has a filter, its reference count is decremented.
493 @param filter May be NULL. The filter to be installed in the paint
498 /** Get the paint's xfermode object.
501 @return the paint's xfermode (or NULL)
512 paint
518 paint, returning the mode that was set. If the Mode is SrcOver, then
519 the paint's xfermode is set to null.
523 /** Get the paint's patheffect object.
526 @return the paint's patheffect (or NULL)
537 paint
542 /** Get the paint's maskfilter object.
545 @return the paint's maskfilter (or NULL)
556 the paint
563 /** Get the paint's typeface object.
567 @return the paint's typeface (or NULL)
578 paint
583 /** Get the paint's rasterizer (or NULL).
586 @return the paint's rasterizer (or NULL)
594 If a previous rasterizer exists in the paint, its reference count is
598 the paint.
613 /** Return the paint's Align value for drawing text.
614 @return the paint's Align value for drawing text.
617 /** Set the paint's text alignment.
618 @param align set the paint's Align value for drawing text.
622 /** Return the paint's text size.
623 @return the paint's text size.
627 /** Set the paint's text size. This value must be > 0
628 @param textSize set the paint's text size.
632 /** Return the paint's horizontal scale factor for text. The default value
634 @return the paint's scale factor in X for drawing/measuring text
638 /** Set the paint's horizontal scale factor for text. The default value
641 @param scaleX set the paint's scale factor in X for drawing/measuring
646 /** Return the paint's horizontal skew factor for text. The default value
648 @return the paint's skew factor in X for drawing text.
652 /** Set the paint's horizontal skew factor for text. The default value
654 @param skewX set the paint's skew factor in X for drawing text.
658 /** Describes how to interpret the text parameters that are passed to paint
689 typeface/pointsize/etc. currently set in the paint.
692 paint.
715 If the text encoding for the paint is kGlyph_TextEncoding, then this
722 paint, only at the typeface.
728 This looks at the current TextEncoding field of the paint. If you also
804 in the paint.