API referenceCore SDK

psrIsInvisible

Decode the invisible-fill/invisible-stroke bit (bit 28) of

C
BOOL32 __stdcall psrIsInvisible(uint32_t DrawParms, BOOL32 FillClr);
Delphi
function psrIsInvisible(DrawParms: Cardinal; FillClr: LongBool): LongBool; stdcall;

Purpose. Decode the invisible-fill/invisible-stroke bit (bit 28) of the packed DrawParms bitfield word documented in Line Style, Opacity, and Graphics-State Flags (psrGetBlendMode/psrSetLineCapStyle/etc share the same packed word).

Description. FillClr = True reads bit 28 of DrawParms (the invisible-fill flag); FillClr = False reads bit 29 (invisible-stroke) — completing the bit-layout table established in Line Style, Opacity, and Graphics-State Flags for this packed word.

Parameters.

ParameterDescription
DrawParmsThe packed word (see Line Style, Opacity, and Graphics-State Flags's bit-layout table).
FillClrTrue = check the fill-invisible bit; False = check the stroke-invisible bit.

Return value. True if the selected bit is set.

See also. psrGetBlendMode.

C# (P/Invoke)

wrappers/dotnet/LumasPdf.cs
[return: MarshalAs(UnmanagedType.Bool)]
Area
Core SDK
Category

Misc

Exported names

psrIsInvisible

String variants

The …A form takes UTF-8, …W takes UTF-16; a bare name aliases the ANSI form.

See working code

Worked examples — complete programs in ten languages.