OsmGpsMap.MapImage¶
- Subclasses:
 None
Methods¶
- Inherited:
 - Structs:
 
class  | 
  | 
  | 
|
  | 
|
  | 
|
  | 
|
  | 
Virtual Methods¶
- Inherited:
 
Properties¶
Name  | 
Type  | 
Flags  | 
Short Description  | 
|---|---|---|---|
r/w/c  | 
the pixbuf for this image  | 
||
r/w/c  | 
location point  | 
||
r/w/c  | 
image rotation  | 
||
r/w/c  | 
image x-alignment  | 
||
r/w/c  | 
image y-alignment  | 
||
r/w/c  | 
image z-order  | 
Signals¶
- Inherited:
 
Fields¶
- Inherited:
 
Name  | 
Type  | 
Access  | 
Description  | 
|---|---|---|---|
parent  | 
r  | 
Class Details¶
- class OsmGpsMap.MapImage(**kwargs)¶
 - Bases:
 - Abstract:
 No
- Structure:
 
- classmethod new()¶
 - Returns:
 New image
- Return type:
 
Create new image
New in version 0.7.0.
- draw(cr, rect)¶
 - Parameters:
 cr (
cairo.Context) – cairo contextrect (
Gdk.Rectangle) – bounding rectangle
- Returns:
 bounding rectangle
- Return type:
 rect:
Gdk.Rectangle
Draw image to given cairo context
New in version 0.7.0.
- get_point()¶
 - Returns:
 location point
- Return type:
 
Get image location point
New in version 0.7.0.
Property Details¶
- OsmGpsMap.MapImage.props.pixbuf¶
 - Name:
 pixbuf- Type:
 - Default Value:
 - Flags:
 
the pixbuf for this image
- OsmGpsMap.MapImage.props.point¶
 - Name:
 point- Type:
 - Default Value:
 - Flags:
 
location point
- OsmGpsMap.MapImage.props.rotation¶
 - 
image rotation
 
- OsmGpsMap.MapImage.props.x_align¶
 - 
image x-alignment
 
- OsmGpsMap.MapImage.props.y_align¶
 - 
image y-alignment