mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-04-16 10:08:36 +03:00
0033808: Coding - FreeType Use unsigned point and contour indexing in FT_Outline
Changes to auto instead of specific type
This commit is contained in:
parent
099e0d2524
commit
7236e83dcc
@ -457,7 +457,7 @@ Standard_Boolean StdPrs_BRepFont::renderGlyph (const Standard_Utf32Char theChar,
|
|||||||
for (short aContour = 0, aStartIndex = 0; aContour < anOutline->n_contours; ++aContour)
|
for (short aContour = 0, aStartIndex = 0; aContour < anOutline->n_contours; ++aContour)
|
||||||
{
|
{
|
||||||
const FT_Vector* aPntList = &anOutline->points[aStartIndex];
|
const FT_Vector* aPntList = &anOutline->points[aStartIndex];
|
||||||
const char* aTags = &anOutline->tags[aStartIndex];
|
const auto* aTags = &anOutline->tags[aStartIndex];
|
||||||
const short anEndIndex = anOutline->contours[aContour];
|
const short anEndIndex = anOutline->contours[aContour];
|
||||||
const short aPntsNb = (anEndIndex - aStartIndex) + 1;
|
const short aPntsNb = (anEndIndex - aStartIndex) + 1;
|
||||||
aStartIndex = anEndIndex + 1;
|
aStartIndex = anEndIndex + 1;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user