Lines Matching full:code
2 // Use of this source code is governed by a BSD-style license that can be
25 /// Default constructor for creating an is_null() <code>Graphics2D</code>
33 /// @param[in] other A pointer to a <code>Graphics2D</code> context.
44 /// measured in pixels. See <code>SetScale()</code> for more information.
46 /// @param[in] is_always_opaque Set the <code>is_always_opaque</code> flag
51 /// If you set <code>is_always_opaque</code>, your alpha channel should
54 /// <code>is_always_opaque</code> is true.
60 /// <code>Graphics2D</code> object made using the previous copy constructor.
85 /// The provided image will be placed at <code>top_left</code> from the top
95 /// method is to generate a new <code>ImageData</code> and then paint it.
97 /// <code>top_left</code> and set <code>src_rect</code> to <code>NULL</code>.
101 /// @param[in] image The <code>ImageData</code> to be painted.
102 /// @param[in] top_left A <code>Point</code> representing the
103 /// <code>top_left</code> location where the <code>ImageData</code> will be
113 /// The provided image will be placed at <code>top_left</code> from the top
115 /// in <code>src_rect</code> will be copied into the backing store. This
116 /// means that the rectangle being painted will be at <code>src_rect</code>
117 /// offset by <code>top_left</code>.
119 /// The <code>src_rect</code> is specified in the coordinate system of the
121 /// entire image, you may specify an empty <code>src_rect</code>.
126 /// as the <code>src_rect</code> subset of it falls entirely within the
130 /// method is to generate a new <code>ImageData</code> and then paint it. In
132 /// <code>top_left</code> and set <code>src_rect</code> to <code>NULL</code>.
135 /// location of your image to (0,0) and then set <code>src_rect</code> to the
138 /// @param[in] image The <code>ImageData</code> to be painted.
139 /// @param[in] top_left A <code>Point</code> representing the
140 /// <code>top_left</code> location where the <code>ImageData</code> will be
142 /// @param[in] src_rect The rectangular area where the <code>ImageData</code>
193 /// @param[in] image The <code>ImageData</code> to be painted.
204 /// screen. While you are waiting for a <code>Flush</code> callback,
245 /// @param[in] cc A <code>CompletionCallback</code> to be called when the
248 /// @return Returns <code>PP_OK</code> on success or
249 /// <code>PP_ERROR_BADRESOURCE</code> if the graphics context is invalid,
250 /// <code>PP_ERROR_BADARGUMENT</code> if the callback is null and
252 /// <code>PP_ERROR_INPROGRESS</code> if a flush is already pending that has
275 /// @return Returns <code>true</code> on success or <code>false</code>