Core PDF types and basic operations
Provides fundamental PDF context and stream management
          
      
      
        
          Variables
            
    
      
        | Type | Visibility | Attributes |  | Name |  | Initial |  | 
    
        
            | real(kind=wp), | public, | parameter | :: | PDF_MARGIN | = | 50.0_wp |  | 
        
            | real(kind=wp), | public, | parameter | :: | PDF_TICK_SIZE | = | 5.0_wp |  | 
        
            | real(kind=wp), | public, | parameter | :: | PDF_TITLE_SIZE | = | 14.0_wp |  | 
        
            | real(kind=wp), | public, | parameter | :: | PDF_LABEL_SIZE | = | 12.0_wp |  | 
        
            | real(kind=wp), | public, | parameter | :: | PDF_TICK_LABEL_SIZE | = | 10.0_wp |  | 
        
            | real(kind=wp), | public, | parameter | :: | PDF_FONT_SIZE | = | 10.0_wp |  | 
    
  
        
        
        
          Derived Types
              
    
    
      
        Components
          
    
      
        | Type | Visibility | Attributes |  | Name |  | Initial |  | 
    
        
            | integer, | public |  | :: | helvetica_obj | = | 5 |  | 
        
            | integer, | public |  | :: | symbol_obj | = | 6 |  | 
    
  
        Type-Bound Procedures
        
     
   
              
    
    
      
        Components
          
    
      
        | Type | Visibility | Attributes |  | Name |  | Initial |  | 
    
        
            | character(len=:), | public, | allocatable | :: | stream_data |  |  |  | 
        
            | real(kind=wp), | public |  | :: | width |  |  |  | 
        
            | real(kind=wp), | public |  | :: | height |  |  |  | 
        
            | real(kind=wp), | public |  | :: | current_line_width | = | 1.0_wp |  | 
        
            | type(pdf_font_t), | public |  | :: | fonts |  |  |  | 
        
            | logical, | public |  | :: | has_image | = | .false. |  | 
        
            | integer, | public |  | :: | image_width | = | 0 |  | 
        
            | integer, | public |  | :: | image_height | = | 0 |  | 
        
            | character(len=:), | public, | allocatable | :: | image_data |  |  |  | 
    
  
        Type-Bound Procedures
        
     
   
        
        
        
          Functions
              
    
    
          
  
  Arguments
      
    
      
        | Type | Intent | Optional | Attributes |  | Name |  | 
    
        
            | real(kind=wp), | intent(in) |  |  | :: | width |  | 
        
            | real(kind=wp), | intent(in) |  |  | :: | height |  | 
    
  
    
    
     
   
        
        
        
          Subroutines
              
    
    
          
  
  Arguments
      
    
      
        | Type | Intent | Optional | Attributes |  | Name |  | 
    
        
            | type(pdf_context_core), | intent(inout) |  |  | :: | ctx |  | 
    
  
     
   
              
    
    
          
  
  Arguments
      
    
      
        | Type | Intent | Optional | Attributes |  | Name |  | 
    
        
            | type(pdf_context_core), | intent(inout) |  |  | :: | ctx |  |