mdc/lib/rendering/renderer_latex_presentation.rb
##
# Render an UML inline diagram using an external tool
# @param [String] picture_name name of the picture
# @param [String] contents the embedded UML
# @param [String] width_slide width of the diagram on slides
# @param [String] width_plain width of the diagram on plain documents
Render an UML inline diagram using an external tool
Render an UML inline diagram using an external tool
def uml(picture_name, contents, width_slide, width_plain)
      new_width = calculate_width(width_slide)
      formats = %w[pdf eps]
      img_path = super(picture_name, contents, width_slide, width_plain, 'pdf')
      image(img_path, formats, '', '', new_width, new_width)
    end
def uml ( picture_name , contents , width_slide , width_plain ) new_width = calculate_width ( width_slide ) formats = %w[ pdf eps ] img_path = super ( picture_name , contents , width_slide , width_plain , 'pdf' ) image ( img_path , formats , '' , '' , new_width , new_width ) end
Render an UML inline diagram using an external tool
Render an UML inline diagram using an external tool
picture_name
<not_specific>
contents
<not_specific>
width_slide
<not_specific>
width_plain
<not_specific>
<not_specific>
width_plain width of the diagram on plain documents
width_plain width of the diagram on plain documents