Lines Matching refs:dm_x
725 float dm_x = (temp_normals[i1].x + temp_normals[i2].x) * 0.5f; in AddPolyline() local
727 IM_NORMALIZE2F_OVER_EPSILON_CLAMP(dm_x, dm_y, 0.000001f, 100.0f) in AddPolyline()
728 dm_x *= AA_SIZE; in AddPolyline()
733 out_vtx[0].x = points[i2].x + dm_x; in AddPolyline()
735 out_vtx[1].x = points[i2].x - dm_x; in AddPolyline()
780 float dm_x = (temp_normals[i1].x + temp_normals[i2].x) * 0.5f; in AddPolyline() local
782 IM_NORMALIZE2F_OVER_EPSILON_CLAMP(dm_x, dm_y, 0.000001f, 100.0f); in AddPolyline()
783 float dm_out_x = dm_x * (half_inner_thickness + AA_SIZE); in AddPolyline()
785 float dm_in_x = dm_x * half_inner_thickness; in AddPolyline()
900 float dm_x = (n0.x + n1.x) * 0.5f; in AddConvexPolyFilled() local
902 IM_NORMALIZE2F_OVER_EPSILON_CLAMP(dm_x, dm_y, 0.000001f, 100.0f); in AddConvexPolyFilled()
903 dm_x *= AA_SIZE * 0.5f; in AddConvexPolyFilled()
907 …_VtxWritePtr[0].pos.x = (points[i1].x - dm_x); _VtxWritePtr[0].pos.y = (points[i1].y - dm_y); _Vtx… in AddConvexPolyFilled()
908 …_VtxWritePtr[1].pos.x = (points[i1].x + dm_x); _VtxWritePtr[1].pos.y = (points[i1].y + dm_y); _Vtx… in AddConvexPolyFilled()