Searched refs:intersection (Results 1 – 2 of 2) sorted by relevance
208 lv_area_t intersection; in lv_opengles_render_internal() local209 if(!lv_area_intersect(&intersection, texture_area, texture_clip_area)) return; in lv_opengles_render_internal()214 float tex_w = (float)lv_area_get_width(&intersection); in lv_opengles_render_internal()215 float tex_h = (float)lv_area_get_height(&intersection); in lv_opengles_render_internal()219 float hor_translate = (float)intersection.x1 / (float)disp_w * 2.0f - (1.0f - hor_scale); in lv_opengles_render_internal()220 float ver_translate = -((float)intersection.y1 / (float)disp_h * 2.0f - (1.0f - ver_scale)); in lv_opengles_render_internal()
59 static bool _intersect(const Line& line1, const Line& line2, Point& intersection, bool& inside) in _intersect() argument62 intersection = line1.pt2; in _intersect()74 intersection.x = line1.pt1.x + t * (line1.pt2.x - line1.pt1.x); in _intersect()75 intersection.y = line1.pt1.y + t * (line1.pt2.y - line1.pt1.y); in _intersect()