Changeset 95


Ignore:
Timestamp:
Jun 6, 2009, 6:03:37 PM (5 years ago)
Author:
simon
Message:

add renderer new full

Location:
branches/client-library-split
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/client-library-split/memphis-renderer.c

    r94 r95  
    5151} 
    5252 
     53MemphisRenderer* 
     54memphis_renderer_new_full (MemphisRuleSet *rules, MemphisMap *map) 
     55{ 
     56  MemphisRenderer* r = g_object_new (MEMPHIS_TYPE_RENDERER, NULL); 
     57  memphis_renderer_set_map (r, map); 
     58  memphis_renderer_set_rules_set (r, rules); 
     59  return r; 
     60} 
     61 
    5362void 
    5463memphis_renderer_free (MemphisRenderer *renderer) 
     
    334343        "Map zoom level", 
    335344        "The zoom level", 
    336         0, 
     345        12, 
    337346        17, 
    338347        12, 
  • branches/client-library-split/memphis-renderer.h

    r94 r95  
    6161 */ 
    6262MemphisRenderer* memphis_renderer_new (); 
     63MemphisRenderer* memphis_renderer_new_full (MemphisRuleSet *rules, 
     64    MemphisMap *map); 
    6365void memphis_renderer_free (MemphisRenderer *renderer); 
    6466 
Note: See TracChangeset for help on using the changeset viewer.