Type | Visibility | Attributes | Name | Initial | |||
---|---|---|---|---|---|---|---|
character(len=:), | public, | allocatable | :: | content_stream | |||
type(vector_graphics_state), | public | :: | current_state |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(vector_stream_writer), | intent(inout) | :: | this |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(vector_stream_writer), | intent(inout) | :: | this | |||
character(len=*), | intent(in) | :: | command |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(vector_stream_writer), | intent(inout) | :: | this | |||
real(kind=wp), | intent(in) | :: | x1 | |||
real(kind=wp), | intent(in) | :: | y1 | |||
real(kind=wp), | intent(in) | :: | x2 | |||
real(kind=wp), | intent(in) | :: | y2 |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(vector_stream_writer), | intent(inout) | :: | this | |||
real(kind=wp), | intent(in) | :: | r | |||
real(kind=wp), | intent(in) | :: | g | |||
real(kind=wp), | intent(in) | :: | b |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(vector_stream_writer), | intent(inout) | :: | this | |||
real(kind=wp), | intent(in) | :: | width |
Write PDF graphics command to stream
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(pdf_stream_writer), | intent(inout) | :: | this | |||
character(len=*), | intent(in) | :: | command |
Write PDF move command with robust validation Validates coordinates and handles NaN, infinity gracefully Logs debug information when corrections are applied
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(pdf_stream_writer), | intent(inout) | :: | this | |||
real(kind=wp), | intent(in) | :: | x | |||
real(kind=wp), | intent(in) | :: | y |
Write PDF line command with robust validation Validates coordinates and handles NaN, infinity gracefully Logs debug information when corrections are applied
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(pdf_stream_writer), | intent(inout) | :: | this | |||
real(kind=wp), | intent(in) | :: | x | |||
real(kind=wp), | intent(in) | :: | y |
Write PDF stroke command
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(pdf_stream_writer), | intent(inout) | :: | this |
Write PDF color command with robust validation Validates and clamps RGB values to [0.0, 1.0] range Handles NaN, infinity, and out-of-range values gracefully Logs debug information when corrections are applied
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(pdf_stream_writer), | intent(inout) | :: | this | |||
real(kind=wp), | intent(in) | :: | r | |||
real(kind=wp), | intent(in) | :: | g | |||
real(kind=wp), | intent(in) | :: | b |
Write PDF line width command with robust validation Validates width > 0 and handles NaN, infinity gracefully Logs debug information when corrections are applied
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(pdf_stream_writer), | intent(inout) | :: | this | |||
real(kind=wp), | intent(in) | :: | width |
Write PDF save graphics state command
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(pdf_stream_writer), | intent(inout) | :: | this |
Write PDF restore graphics state command
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(pdf_stream_writer), | intent(inout) | :: | this |