bsvg_document Class Reference

#include <bsvg_document.h>

Inheritance diagram for bsvg_document:

bxml_document vbl_ref_count bsvg_plot List of all members.

Detailed Description

Definition at line 20 of file bsvg_document.h.


Public Member Functions

 bsvg_document (float w, float h)
 bsvg_document (float w, float h, float viewBox_x, float viewBox_y, float viewBox_w, float viewBox_h)
bool add_description (const vcl_string &d)
bool add_element (const bxml_data_sptr &element)
bxml_data_sptr root_element () const
 Return the root element.
vcl_string version () const
 Return the version string.
vcl_string encoding () const
 Return the encoding string.
bool standalone () const
 Return the standalone bit.
void set_root_element (const bxml_data_sptr &root)
 set the root element.
void set_version (const vcl_string &version)
 Set the version string.
void set_encoding (const vcl_string &encoding)
 Set the encoding string.
void set_standalone (bool standalone)
 Set the standalone bit.
void ref ()
void unref ()
int get_references () const
bool is_referenced () const

Public Attributes

float w_
float h_

Constructor & Destructor Documentation

bsvg_document::bsvg_document ( float  w,
float  h 
)

Definition at line 9 of file bsvg_document.cxx.

bsvg_document::bsvg_document ( float  w,
float  h,
float  viewBox_x,
float  viewBox_y,
float  viewBox_w,
float  viewBox_h 
)

Definition at line 29 of file bsvg_document.cxx.


Member Function Documentation

bool bsvg_document::add_description ( const vcl_string &  d  ) 

Definition at line 52 of file bsvg_document.cxx.

bool bsvg_document::add_element ( const bxml_data_sptr element  ) 

Definition at line 69 of file bsvg_document.cxx.

bxml_data_sptr bxml_document::root_element (  )  const [inline, inherited]

Return the root element.

Definition at line 180 of file bxml_document.h.

vcl_string bxml_document::version (  )  const [inline, inherited]

Return the version string.

Definition at line 183 of file bxml_document.h.

vcl_string bxml_document::encoding (  )  const [inline, inherited]

Return the encoding string.

Definition at line 186 of file bxml_document.h.

bool bxml_document::standalone (  )  const [inline, inherited]

Return the standalone bit.

Definition at line 189 of file bxml_document.h.

void bxml_document::set_root_element ( const bxml_data_sptr root  )  [inline, inherited]

set the root element.

Definition at line 192 of file bxml_document.h.

void bxml_document::set_version ( const vcl_string &  version  )  [inline, inherited]

Set the version string.

Definition at line 196 of file bxml_document.h.

void bxml_document::set_encoding ( const vcl_string &  encoding  )  [inline, inherited]

Set the encoding string.

Definition at line 199 of file bxml_document.h.

void bxml_document::set_standalone ( bool  standalone  )  [inline, inherited]

Set the standalone bit.

Definition at line 202 of file bxml_document.h.


Member Data Documentation

float bsvg_document::w_

Definition at line 29 of file bsvg_document.h.

float bsvg_document::h_

Definition at line 30 of file bsvg_document.h.


The documentation for this class was generated from the following files:
Generated on Mon Mar 8 05:30:07 2010 for contrib/brl/bbas/bxml by  doxygen 1.5.1