GObject.Object
 Pango.Renderer
                Pango.Renderer
		   
| Import line: | Pango = imports.gi.Pango; | 
| GIR File: | Pango-1.0.gir | 
| C documentation: | Pango.Renderer | 
| Class : | Renderer | 
| Extends: | GObject.Object | 
| Properties | Defined By | |
|---|---|---|
| 
				active_count : gint32 
                 read only  
                     
			 | Pango.Renderer | |
| 
				matrix : Pango.Matrix 
                 read only  
                     
			 | Pango.Renderer | |
| 
				parent_instance : GObject.Object 
                 read only  
                     
			 | Pango.Renderer | |
| 
				priv : Pango.RendererPrivate 
                 read only  
                     
			 | Pango.Renderer | |
| 
				strikethrough : gboolean 
                 read only  
                     
			 | Pango.Renderer | |
| 
				underline : Pango.Underline 
                 read only  
                     
			 | Pango.Renderer | |
| Method / Constructor | Defined By | |
|---|---|---|
| 
			new  Pango.Renderer
				
				 (Object properties) 
			
				
			
		 Create a new Pango.Renderer 
			
			
			
				Create a new Pango.Renderer
			
			
				 
 | ||
| 
			activate
				
				 () 
			
				
					 : 
					none
					
				
			
		 Does initial setup before rendering operations on renderer. 
			
				Does initial setup before rendering operations on renderer. pango_renderer_deactivate() should be called when done drawing. Calls such as pango_renderer_draw_layout() automatically activate the layout before drawing on it. Calls to pango_renderer_activate() and pango_renderer_deactivate() can be nested and the renderer will only be initialized and deinitialized once. 
 | Pango.Renderer | |
| 
			deactivate
				
				 () 
			
				
					 : 
					none
					
				
			
		 Cleans up after rendering operations on renderer. 
			
				Cleans up after rendering operations on renderer. See docs for pango_renderer_activate(). 
 | Pango.Renderer | |
| Draw a squiggly line that approximately covers the given rectangle in the style of an underline used to indicate a spelling error. 
			
				Draw a squiggly line that approximately covers the given rectangle in the style of an underline used to indicate a spelling error. (The width of the underline is rounded to an integer number of up/down segments and the resulting rectangle is centered in the original rectangle) This should be called while renderer is already active. Use pango_renderer_activate() to activate a renderer. 
 
 | Pango.Renderer | |
| Draws a single glyph with coordinates in device space. 
			
				Draws a single glyph with coordinates in device space.
		    
				
			
			
			
			
				 
 
 | Pango.Renderer | |
| Draws the glyphs in glyph_item with the specified PangoRenderer, embedding the text associated with the glyphs in the output if the output format supports it (PDF for example). 
			
				Draws the glyphs in glyph_item with the specified PangoRenderer, embedding the text associated with the glyphs in the output if the output format supports it (PDF for example). Note that text is the start of the text for layout, which is then indexed by If text is NULL, this simply calls pango_renderer_draw_glyphs(). The default implementation of this method simply falls back to pango_renderer_draw_glyphs(). 
 
 | Pango.Renderer | |
| Draws the glyphs in glyphs with the specified PangoRenderer. 
			
				Draws the glyphs in glyphs with the specified PangoRenderer.
		    
				
			
			
			
			
				 
 
 | Pango.Renderer | |
| Draws layout with the specified PangoRenderer. 
			
				Draws layout with the specified PangoRenderer.
		    
				
			
			
			
			
				 
 
 | Pango.Renderer | |
| Draws line with the specified PangoRenderer. 
			
				Draws line with the specified PangoRenderer.
		    
				
			
			
			
			
				 
 
 | Pango.Renderer | |
| Draws an axis-aligned rectangle in user space coordinates with the specified PangoRenderer. 
			
				Draws an axis-aligned rectangle in user space coordinates with the specified PangoRenderer. This should be called while renderer is already active. Use pango_renderer_activate() to activate a renderer. 
 
 | Pango.Renderer | |
| 
			draw_trapezoid
				
				 (RenderPart part, gdouble y1_, gdouble x11, gdouble x21, gdouble y2, gdouble x12, gdouble x22) 
			
				
					 : 
					none
					
				
			
		 Draws a trapezoid with the parallel sides aligned with the X axis using the given PangoRenderer; coordinates are in device space. 
			
				Draws a trapezoid with the parallel sides aligned with the X axis using the given PangoRenderer; coordinates are in device space. 
 
 | Pango.Renderer | |
| 
			get_color
				
				 (RenderPart part) 
			
				
					 : 
					Pango.Color
					
				
			
		 Gets the current rendering color for the specified part. 
			
				Gets the current rendering color for the specified part. if it hasn't been set and should be inherited from the environment. 
 
 | Pango.Renderer | |
| 
			get_layout_line
				
				 () 
			
				
					 : 
					Pango.LayoutLine
					
				
			
		 Gets the layout line currently being rendered using renderer. 
			
				Gets the layout line currently being rendered using renderer. Calling this function only makes sense from inside a subclass's methods, like in its draw_shape() for example. The returned layout line should not be modified while still being rendered. rendered using renderer at this time. 
 | Pango.Renderer | |
| 
			get_matrix
				
				 () 
			
				
					 : 
					Pango.Matrix
					
				
			
		 Gets the transformation matrix that will be applied when rendering. 
			
				Gets the transformation matrix that will be applied when rendering. See pango_renderer_set_matrix(). (which is the same as the identity matrix). The returned matrix is owned by Pango and must not be modified or freed. 
 | Pango.Renderer | |
| 
			part_changed
				
				 (RenderPart part) 
			
				
					 : 
					none
					
				
			
		 Informs Pango that the way that the rendering is done for part has changed in a way that would prevent multiple pieces being joined together into one drawing call. 
			
				Informs Pango that the way that the rendering is done for part has changed in a way that would prevent multiple pieces being joined together into one drawing call. For instance, if a subclass of PangoRenderer was to add a stipple option for drawing underlines, it needs to call pango_renderer_part_changed (render, PANGO_RENDER_PART_UNDERLINE); When the stipple changes or underlines with different stipples might be joined together. Pango automatically calls this for changes to colors. (See pango_renderer_set_color()) 
 
 | Pango.Renderer | |
| 
			set_color
				
				 (RenderPart part, Color color) 
			
				
					 : 
					none
					
				
			
		 Sets the color for part of the rendering. 
			
				Sets the color for part of the rendering.
		    
				
			
			
			
			
				 
 
 | Pango.Renderer | |
| 
			set_matrix
				
				 (Matrix matrix) 
			
				
					 : 
					none
					
				
			
		 Sets the transformation matrix that will be applied when rendering. 
			
				Sets the transformation matrix that will be applied when rendering.
		    
				
			
			
			
			
				 
 
 | Pango.Renderer | |
| None |