Skip to content

FS_POINTF_ is a struct in Pdfium but a class in this library #25

@torfluor

Description

@torfluor

I'm trying to add ink annotations using FPDFAnnotAddInkStroke, and it takes a pointer to an array of FS_POINTF_. When sending in a C# array of points like this fpdf_annot.FPDFAnnotAddInkStroke(annot, fs_points[0], (ulong)fs_points.Length); I get strange results, leading me to think that there is an issue in the conversion between the class objects and the struct.
I think if would be better if FS_POINTF_ was a struct instead.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions