Annotation of parser3/src/types/pa_vimage.C, revision 1.1
1.1 ! paf 1: /** @image
! 2: Parser: @b image parser type.
! 3:
! 4: Copyright(c) 2001 ArtLebedev Group(http://www.artlebedev.com)
! 5:
! 6: Author: Alexander Petrosyan <paf@design.ru>(http://design.ru/paf)
! 7:
! 8: $Id: pa_vimage.C,v 1.13 2001/04/09 11:30:44 paf Exp $
! 9: */
! 10:
! 11: #include "pa_vimage.h"
! 12: #include "pa_vint.h"
! 13: #include "pa_vstring.h"
! 14:
! 15: void VImage::set(const String& src, int width, int height) {
! 16: // $src
! 17: ffields.put(String(pool(), "src"), NEW VString(src));
! 18: // $width
! 19: if(width)
! 20: ffields.put(String(pool(), "width"), NEW VInt(pool(), width));
! 21: // $height
! 22: if(height)
! 23: ffields.put(String(pool(), "height"), NEW VInt(pool(), height));
! 24: }
E-mail: