acme
Foundational cross-platform layer of the ca2 framework
Loading...
Searching...
No Matches
_aaa_enhanced.h
1// Created by camilo on 2021-09-06 10:36 BRT Ten days to <3ThomasBS_!! Birthday!!
2#pragma once
3
4
5//#include "shape.h"
6
7#include "bounding_rect.h"
8
9#include "../contains.h"
10
11
12//#include "shape_array.h"
13
14
15//template < typename HOLDEE >
16//inline ::pointer<___shape<HOLDEE >> __create_shape(const enum_shape & eshape)
17//{
18//
19// switch (eshape)
20// {
21// case e_shape_none:
22// return nullptr;
23// case e_shape_begin_clip:
24// return allocateø begin_clip_shape<HOLDEE> ();
25// case e_shape_intersect_clip:
26// return allocateø intersect_clip_shape<HOLDEE> ();
27// case e_shape_begin_figure:
28// return allocateø begin_figure_shape<HOLDEE> ();
29// case e_shape_close_figure:
30// return allocateø close_figure_shape<HOLDEE> ();
31// case e_shape_end_figure:
32// return allocateø end_figure_shape<HOLDEE> ();
33// default:
34// throw ::exception(error_not_implemented, " geometry processor or not a geometry processor?");
35// return nullptr;
36// }
37//
38//}
39
40
41
43
44
45