@mlightcad/libredwg-web 0.2.2 → 0.2.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -6637,7 +6637,7 @@ class LibreEntityConverter {
6637
6637
  "num_clip_verts"
6638
6638
  ).data;
6639
6639
  const clip_verts = libredwg.dwg_dynapi_entity_value(entity, "clip_verts").data;
6640
- const clippingBoundaryPath = libredwg.dwg_ptr_to_point3d_array(
6640
+ const clippingBoundaryPath = libredwg.dwg_ptr_to_point2d_array(
6641
6641
  clip_verts,
6642
6642
  countBoundaryPoints
6643
6643
  );
@@ -6642,7 +6642,7 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
6642
6642
  "num_clip_verts"
6643
6643
  ).data;
6644
6644
  const clip_verts = libredwg.dwg_dynapi_entity_value(entity, "clip_verts").data;
6645
- const clippingBoundaryPath = libredwg.dwg_ptr_to_point3d_array(
6645
+ const clippingBoundaryPath = libredwg.dwg_ptr_to_point2d_array(
6646
6646
  clip_verts,
6647
6647
  countBoundaryPoints
6648
6648
  );
@@ -1291,7 +1291,7 @@ export class LibreEntityConverter {
1291
1291
  const countBoundaryPoints = libredwg.dwg_dynapi_entity_value(entity, 'num_clip_verts').data;
1292
1292
  const clip_verts = libredwg.dwg_dynapi_entity_value(entity, 'clip_verts')
1293
1293
  .data;
1294
- const clippingBoundaryPath = libredwg.dwg_ptr_to_point3d_array(clip_verts, countBoundaryPoints);
1294
+ const clippingBoundaryPath = libredwg.dwg_ptr_to_point2d_array(clip_verts, countBoundaryPoints);
1295
1295
  const imagedef_ref = libredwg.dwg_dynapi_entity_value(entity, 'imagedef')
1296
1296
  .data;
1297
1297
  const imageDefHandle = libredwg.dwg_ref_get_absref(imagedef_ref);
@@ -17,7 +17,7 @@ export interface DwgWipeoutEntity extends DwgEntity {
17
17
  imageDefReactorHandle: number;
18
18
  clippingBoundaryType: DwgImageClippingBoundaryType;
19
19
  countBoundaryPoints: number;
20
- clippingBoundaryPath: DwgPoint3D[];
20
+ clippingBoundaryPath: DwgPoint2D[];
21
21
  clipMode: DwgImageClipMode;
22
22
  }
23
23
  //# sourceMappingURL=wipeout.d.ts.map
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "description": "A DWG/DXF JavaScript parser based on libredwg",
4
4
  "license": "GPL-2.0-only",
5
5
  "private": false,
6
- "version": "0.2.2",
6
+ "version": "0.2.3",
7
7
  "author": "MLight Lee <mlight.lee@outlook.com>",
8
8
  "type": "module",
9
9
  "repository": {