• Home
  • Raw
  • Download

Lines Matching refs:uv_a

633 void ImDrawList::PrimRectUV(const ImVec2& a, const ImVec2& c, const ImVec2& uv_a, const ImVec2& uv_…  in PrimRectUV()  argument
635 ImVec2 b(c.x, a.y), d(a.x, c.y), uv_b(uv_c.x, uv_a.y), uv_d(uv_a.x, uv_c.y); in PrimRectUV()
639 _VtxWritePtr[0].pos = a; _VtxWritePtr[0].uv = uv_a; _VtxWritePtr[0].col = col; in PrimRectUV()
648 …Vec2& a, const ImVec2& b, const ImVec2& c, const ImVec2& d, const ImVec2& uv_a, const ImVec2& uv_b… in PrimQuadUV() argument
653 _VtxWritePtr[0].pos = a; _VtxWritePtr[0].uv = uv_a; _VtxWritePtr[0].col = col; in PrimQuadUV()
1210 …extureID user_texture_id, const ImVec2& a, const ImVec2& b, const ImVec2& uv_a, const ImVec2& uv_b… in AddImage() argument
1220 PrimRectUV(a, b, uv_a, uv_b, col); in AddImage()
1226 …Vec2& a, const ImVec2& b, const ImVec2& c, const ImVec2& d, const ImVec2& uv_a, const ImVec2& uv_b… in AddImageQuad() argument
1236 PrimQuadUV(a, b, c, d, uv_a, uv_b, uv_c, uv_d, col); in AddImageQuad()
1242 …extureID user_texture_id, const ImVec2& a, const ImVec2& b, const ImVec2& uv_a, const ImVec2& uv_b… in AddImageRounded() argument
1249 AddImage(user_texture_id, a, b, uv_a, uv_b, col); in AddImageRounded()
1261 ImGui::ShadeVertsLinearUV(this, vert_start_idx, vert_end_idx, a, b, uv_a, uv_b, true); in AddImageRounded()
1329 …rt_idx, int vert_end_idx, const ImVec2& a, const ImVec2& b, const ImVec2& uv_a, const ImVec2& uv_b… in ShadeVertsLinearUV() argument
1332 const ImVec2 uv_size = uv_b - uv_a; in ShadeVertsLinearUV()
1341 const ImVec2 min = ImMin(uv_a, uv_b); in ShadeVertsLinearUV()
1342 const ImVec2 max = ImMax(uv_a, uv_b); in ShadeVertsLinearUV()
1344 … vertex->uv = ImClamp(uv_a + ImMul(ImVec2(vertex->pos.x, vertex->pos.y) - a, scale), min, max); in ShadeVertsLinearUV()
1349 vertex->uv = uv_a + ImMul(ImVec2(vertex->pos.x, vertex->pos.y) - a, scale); in ShadeVertsLinearUV()