Searched refs:half_draw_size (Results 1 – 7 of 7) sorted by relevance
734 const float half_draw_size = use_texture ? ((thickness * 0.5f) + 1) : AA_SIZE; in AddPolyline() local739 temp_points[0] = points[0] + temp_normals[0] * half_draw_size; in AddPolyline()740 temp_points[1] = points[0] - temp_normals[0] * half_draw_size; in AddPolyline()741 …nts[(points_count-1)*2+0] = points[points_count-1] + temp_normals[points_count-1] * half_draw_size; in AddPolyline()742 …nts[(points_count-1)*2+1] = points[points_count-1] - temp_normals[points_count-1] * half_draw_size; in AddPolyline()758 dm_x *= half_draw_size; // dm_x, dm_y are offset to the outer edge of the AA area in AddPolyline()759 dm_y *= half_draw_size; in AddPolyline()
744 const float half_draw_size = use_texture ? ((thickness * 0.5f) + 1) : AA_SIZE; in AddPolyline() local749 temp_points[0] = points[0] + temp_normals[0] * half_draw_size; in AddPolyline()750 temp_points[1] = points[0] - temp_normals[0] * half_draw_size; in AddPolyline()751 …nts[(points_count-1)*2+0] = points[points_count-1] + temp_normals[points_count-1] * half_draw_size; in AddPolyline()752 …nts[(points_count-1)*2+1] = points[points_count-1] - temp_normals[points_count-1] * half_draw_size; in AddPolyline()768 dm_x *= half_draw_size; // dm_x, dm_y are offset to the outer edge of the AA area in AddPolyline()769 dm_y *= half_draw_size; in AddPolyline()
728 const float half_draw_size = use_texture ? ((thickness * 0.5f) + 1) : AA_SIZE; in AddPolyline() local733 temp_points[0] = points[0] + temp_normals[0] * half_draw_size; in AddPolyline()734 temp_points[1] = points[0] - temp_normals[0] * half_draw_size; in AddPolyline()735 …nts[(points_count-1)*2+0] = points[points_count-1] + temp_normals[points_count-1] * half_draw_size; in AddPolyline()736 …nts[(points_count-1)*2+1] = points[points_count-1] - temp_normals[points_count-1] * half_draw_size; in AddPolyline()752 dm_x *= half_draw_size; // dm_x, dm_y are offset to the outer edge of the AA area in AddPolyline()753 dm_y *= half_draw_size; in AddPolyline()
738 const float half_draw_size = use_texture ? ((thickness * 0.5f) + 1) : AA_SIZE; in AddPolyline() local743 temp_points[0] = points[0] + temp_normals[0] * half_draw_size; in AddPolyline()744 temp_points[1] = points[0] - temp_normals[0] * half_draw_size; in AddPolyline()745 …nts[(points_count-1)*2+0] = points[points_count-1] + temp_normals[points_count-1] * half_draw_size; in AddPolyline()746 …nts[(points_count-1)*2+1] = points[points_count-1] - temp_normals[points_count-1] * half_draw_size; in AddPolyline()762 dm_x *= half_draw_size; // dm_x, dm_y are offset to the outer edge of the AA area in AddPolyline()763 dm_y *= half_draw_size; in AddPolyline()
778 const float half_draw_size = use_texture ? ((thickness * 0.5f) + 1) : AA_SIZE; in AddPolyline() local783 temp_points[0] = points[0] + temp_normals[0] * half_draw_size; in AddPolyline()784 temp_points[1] = points[0] - temp_normals[0] * half_draw_size; in AddPolyline()785 …nts[(points_count-1)*2+0] = points[points_count-1] + temp_normals[points_count-1] * half_draw_size; in AddPolyline()786 …nts[(points_count-1)*2+1] = points[points_count-1] - temp_normals[points_count-1] * half_draw_size; in AddPolyline()802 dm_x *= half_draw_size; // dm_x, dm_y are offset to the outer edge of the AA area in AddPolyline()803 dm_y *= half_draw_size; in AddPolyline()
784 const float half_draw_size = use_texture ? ((thickness * 0.5f) + 1) : AA_SIZE;789 temp_points[0] = points[0] + temp_normals[0] * half_draw_size;790 temp_points[1] = points[0] - temp_normals[0] * half_draw_size;791 …nts[(points_count-1)*2+0] = points[points_count-1] + temp_normals[points_count-1] * half_draw_size;792 …nts[(points_count-1)*2+1] = points[points_count-1] - temp_normals[points_count-1] * half_draw_size;808 dm_x *= half_draw_size; // dm_x, dm_y are offset to the outer edge of the AA area809 dm_y *= half_draw_size;
784 const float half_draw_size = use_texture ? ((thickness * 0.5f) + 1) : AA_SIZE; in AddPolyline() local789 temp_points[0] = points[0] + temp_normals[0] * half_draw_size; in AddPolyline()790 temp_points[1] = points[0] - temp_normals[0] * half_draw_size; in AddPolyline()791 …nts[(points_count-1)*2+0] = points[points_count-1] + temp_normals[points_count-1] * half_draw_size; in AddPolyline()792 …nts[(points_count-1)*2+1] = points[points_count-1] - temp_normals[points_count-1] * half_draw_size; in AddPolyline()808 dm_x *= half_draw_size; // dm_x, dm_y are offset to the outer edge of the AA area in AddPolyline()809 dm_y *= half_draw_size; in AddPolyline()