CadAddHatchPath
CadAddHatchPath(hDwg, hEnt): accumulate hEnt's outline as a boundary path for the next CadAddHatch (Vecad order).
std::int32_t CadAddHatchPath (
YuHandle hDwg,
YuHandle hEnt
);
Parameters
- hDwg (YuHandle)
- Handle to the drawing, as returned by
CadCreate. - hEnt (YuHandle)
- Handle to the entity.
Return Value
The handle of the newly created hatch, or 0 on failure.
Remarks
For backward-compat with the yucad HATCH command — which creates the Hatch first, then calls this with the hatch handle — hEnt being a Hatch attaches the current vertex buffer directly (the old behaviour).