39 mCurrentColour(0xFFFFFFFF),
82 bool need_update =
true;
223 float left = window_left;
224 float right = window_left;
225 float top = window_top;
226 float bottom = window_top;
234 float vertex_top = top;
235 float vertex_bottom = bottom;
236 bool texture_crop_height =
false;
238 if (vertex_top > real_top)
241 if (vertex_bottom > real_top)
246 vertex_top = real_top;
247 texture_crop_height =
true;
249 if (vertex_bottom < real_bottom)
252 if (vertex_top < real_bottom)
257 vertex_bottom = real_bottom;
258 texture_crop_height =
true;
266 float vertex_left = left;
267 float vertex_right = right;
268 bool texture_crop_width =
false;
271 if (vertex_left < real_left)
274 if (vertex_right < real_left)
279 vertex_left = real_left;
280 texture_crop_width =
true;
283 if (vertex_right > real_right)
286 if (vertex_left > real_right)
291 vertex_right = real_right;
292 texture_crop_width =
true;
302 if (texture_crop_height)
311 if (texture_crop_width)
373 if (
nullptr !=
mNode)