Searched refs:shapeFlags (Results 1 – 2 of 2) sorted by relevance
557 uint8 shapeFlags = 0; in _WritePathSourceShape() local560 shapeFlags |= SHAPE_FLAG_TRANSLATION; in _WritePathSourceShape()562 shapeFlags |= SHAPE_FLAG_TRANSFORM; in _WritePathSourceShape()565 shapeFlags |= SHAPE_FLAG_HINTING; in _WritePathSourceShape()568 shapeFlags |= SHAPE_FLAG_LOD_SCALE; in _WritePathSourceShape()570 shapeFlags |= SHAPE_FLAG_HAS_TRANSFORMERS; in _WritePathSourceShape()572 if (!buffer.Write((uint8)shapeFlags)) in _WritePathSourceShape()575 if (shapeFlags & SHAPE_FLAG_TRANSFORM) { in _WritePathSourceShape()579 } else if (shapeFlags & SHAPE_FLAG_TRANSLATION) { in _WritePathSourceShape()585 if (shapeFlags & SHAPE_FLAG_LOD_SCALE) { in _WritePathSourceShape()[all …]
585 uint8 shapeFlags; in _ReadPathSourceShape() local586 if (!buffer.Read(shapeFlags)) in _ReadPathSourceShape()589 shape->SetHinting(shapeFlags & SHAPE_FLAG_HINTING); in _ReadPathSourceShape()591 if (shapeFlags & SHAPE_FLAG_TRANSFORM) { in _ReadPathSourceShape()595 } else if (shapeFlags & SHAPE_FLAG_TRANSLATION) { in _ReadPathSourceShape()601 if (shapeFlags & SHAPE_FLAG_LOD_SCALE) { in _ReadPathSourceShape()612 if (shapeFlags & SHAPE_FLAG_HAS_TRANSFORMERS) { in _ReadPathSourceShape()