9 class el_image
: public html_tag
13 el_image(const document::ptr
& doc
);
15 bool is_replaced() const override
;
16 void parse_attributes() override
;
17 void compute_styles(bool recursive
= true) override
;
18 void draw(uint_ptr hdc
, int x
, int y
, const position
*clip
, const std::shared_ptr
<render_item
> &ri
) override
;
19 void get_content_size(size
& sz
, int max_width
) override
;
20 string
dump_get_name() override
;
22 std::shared_ptr
<render_item
> create_render_item(const std::shared_ptr
<render_item
>& parent_ri
) override
;
25 // int calc_max_height(int image_height);
29 #endif // LH_EL_IMAGE_H