Adobe Systems, Inc.

RandomAccess2DImageConcept< IMG > Struct Template Reference
[2-Dimensional Image]

2-dimensional container of values concept More...

#include <gil_concept.hpp>

List of all members.


Public Member Functions

void constraints ()

Public Attributes

IMG img

Detailed Description

template<typename IMG>
struct RandomAccess2DImageConcept< IMG >

template <typename IMG>
concept RandomAccess2DImageConcept : RandomAccessNDImageConcept<IMG> {
    typename x_coord_t = const_view_t::x_coord_t;
    typename y_coord_t = const_view_t::y_coord_t;
    
    x_coord_t get_width(const IMG&);
    y_coord_t get_height(const IMG&) const;
    
    void resize_clobber_image(IMAGE& img, const IMG::x_coord_t& width, const IMG::y_coord_t& height) {
        IMG tmp(width,height); swap(tmp,img);
    }
};

Definition at line 1723 of file gil_concept.hpp.

Copyright © 2006 Adobe Systems Incorporated.

Use of this website signifies your agreement to the Terms of Use and Online Privacy Policy.

Search powered by Google