40 mCurrentColour(0xFFFFFFFF),
86 bool need_update =
true;
227 float left = window_left;
228 float right = window_left;
229 float top = window_top;
230 float bottom = window_top;
238 float vertex_top = top;
239 float vertex_bottom = bottom;
240 bool texture_crop_height =
false;
242 if (vertex_top > real_top)
245 if (vertex_bottom > real_top)
250 vertex_top = real_top;
251 texture_crop_height =
true;
253 if (vertex_bottom < real_bottom)
256 if (vertex_top < real_bottom)
261 vertex_bottom = real_bottom;
262 texture_crop_height =
true;
270 float vertex_left = left;
271 float vertex_right = right;
272 bool texture_crop_width =
false;
275 if (vertex_left < real_left)
278 if (vertex_right < real_left)
283 vertex_left = real_left;
284 texture_crop_width =
true;
287 if (vertex_right > real_right)
290 if (vertex_left > real_right)
295 vertex_right = real_right;
296 texture_crop_width =
true;
306 if (texture_crop_height)
315 if (texture_crop_width)
377 if (
nullptr !=
mNode)