24 mCurrentColour(0xFFFFFFFF),
70 bool need_update =
true;
169 if (
nullptr !=
mNode)
178 if (
nullptr !=
mNode)
185 if (
nullptr !=
mNode)
219 float left = window_left;
220 float right = window_left;
221 float top = window_top;
222 float bottom = window_top;
230 float vertex_top = top;
231 float vertex_bottom = bottom;
232 bool texture_crop_height =
false;
234 if (vertex_top > real_top)
237 if (vertex_bottom > real_top)
242 vertex_top = real_top;
243 texture_crop_height =
true;
245 if (vertex_bottom < real_bottom)
248 if (vertex_top < real_bottom)
253 vertex_bottom = real_bottom;
254 texture_crop_height =
true;
262 float vertex_left = left;
263 float vertex_right = right;
264 bool texture_crop_width =
false;
267 if (vertex_left < real_left)
270 if (vertex_right < real_left)
275 vertex_left = real_left;
276 texture_crop_width =
true;
279 if (vertex_right > real_right)
282 if (vertex_left > real_right)
287 vertex_right = real_right;
288 texture_crop_width =
true;
298 if (texture_crop_height)
307 if (texture_crop_width)
368 if (
nullptr !=
mNode)