Skip to content

Expose page-object graphics state to external callers - #92

Open
magicismight wants to merge 1 commit into
embedpdf:embedpdf/mainfrom
magicismight:expose-page-object-state
Open

magicismight wants to merge 1 commit into
embedpdf:embedpdf/mainfrom
magicismight:expose-page-object-state

Conversation

@magicismight

Copy link
Copy Markdown

PDFium stores page-object alpha, blend modes, soft-mask state, Form transparency-group flags, and miter limits internally, but external callers cannot consistently read these properties through the public API. FPDFPageObj_HasTransparency() combines several distinct conditions into one boolean, and color getters cannot expose alpha for objects without color state.

External callers should be able to inspect these properties independently of color availability, without modifying the document or depending on private PDFium headers.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant