Skip to content

FS_QUADPOINTSF (and some others structs) marshalling issue #8

@sergeyleliukh

Description

@sergeyleliukh

FS_QUADPOINTSF contains only Fields but for working with PDFium marshalling needs Properties

[StructLayout(LayoutKind.Sequential)]
public struct FS_QUADPOINTSF
{
public float X1 { get; }
public float Y1 { get; }
....
}

but needs

[StructLayout(LayoutKind.Sequential)]
public struct FS_QUADPOINTSF
{
public float X1;
public float Y1;
...
}

for example, try to call FPDFAnnot_AppendAttachmentPoints

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions