\hypertarget{line_8h_source}{}\doxysection{line.\+h}
\label{line_8h_source}\index{lib\_headers/mingl/shape/line.h@{lib\_headers/mingl/shape/line.h}}
\mbox{\hyperlink{line_8h}{Go to the documentation of this file.}}
\begin{DoxyCode}{0}
\DoxyCodeLine{\Hypertarget{line_8h_source_l00001}00001 }
\DoxyCodeLine{\Hypertarget{line_8h_source_l00011}00011 \textcolor{preprocessor}{\#ifndef LINE\_H}}
\DoxyCodeLine{\Hypertarget{line_8h_source_l00012}00012 \textcolor{preprocessor}{\#define LINE\_H}}
\DoxyCodeLine{\Hypertarget{line_8h_source_l00013}00013 }
\DoxyCodeLine{\Hypertarget{line_8h_source_l00014}00014 \textcolor{preprocessor}{\#include "{}\mbox{\hyperlink{shape_8h}{shape.h}}"{}}}
\DoxyCodeLine{\Hypertarget{line_8h_source_l00015}00015 }
\DoxyCodeLine{\Hypertarget{line_8h_source_l00016}00016 \textcolor{preprocessor}{\#include "{}../transition/itransitionable.h"{}}}
\DoxyCodeLine{\Hypertarget{line_8h_source_l00017}00017 }
\DoxyCodeLine{\Hypertarget{line_8h_source_l00018}00018 \textcolor{keyword}{namespace }\mbox{\hyperlink{namespacens_shape}{nsShape}}}
\DoxyCodeLine{\Hypertarget{line_8h_source_l00019}00019 \{}
\DoxyCodeLine{\Hypertarget{line_8h_source_l00020}00020 }
\DoxyCodeLine{\Hypertarget{line_8h_source_l00025}\mbox{\hyperlink{classns_shape_1_1_line}{00025}} \textcolor{keyword}{class }\mbox{\hyperlink{classns_shape_1_1_line}{Line}} : \textcolor{keyword}{public} \mbox{\hyperlink{classns_shape_1_1_shape}{Shape}}, \textcolor{keyword}{public} \mbox{\hyperlink{classns_transition_1_1_i_transitionable}{nsTransition::ITransitionable}}}
\DoxyCodeLine{\Hypertarget{line_8h_source_l00026}00026 \{}
\DoxyCodeLine{\Hypertarget{line_8h_source_l00027}00027 }
\DoxyCodeLine{\Hypertarget{line_8h_source_l00028}00028 \textcolor{keyword}{public}:}
\DoxyCodeLine{\Hypertarget{line_8h_source_l00032}\mbox{\hyperlink{classns_shape_1_1_line_a446a1bbc370b3426afe05f22b681ea58}{00032}}     \textcolor{keyword}{enum} \mbox{\hyperlink{classns_shape_1_1_line_a446a1bbc370b3426afe05f22b681ea58}{TransitionIds}} \{}
\DoxyCodeLine{\Hypertarget{line_8h_source_l00033}\mbox{\hyperlink{classns_shape_1_1_line_a446a1bbc370b3426afe05f22b681ea58a9f84f457c9a24574ae17018656830364}{00033}}         \mbox{\hyperlink{classns_shape_1_1_line_a446a1bbc370b3426afe05f22b681ea58a9f84f457c9a24574ae17018656830364}{TRANSITION\_FILL\_COLOR\_RGB}}, }
\DoxyCodeLine{\Hypertarget{line_8h_source_l00034}\mbox{\hyperlink{classns_shape_1_1_line_a446a1bbc370b3426afe05f22b681ea58a2860b432942d04ad21cf17a11776b748}{00034}}         \mbox{\hyperlink{classns_shape_1_1_line_a446a1bbc370b3426afe05f22b681ea58a2860b432942d04ad21cf17a11776b748}{TRANSITION\_FILL\_COLOR\_ALPHA}}, }
\DoxyCodeLine{\Hypertarget{line_8h_source_l00035}\mbox{\hyperlink{classns_shape_1_1_line_a446a1bbc370b3426afe05f22b681ea58ab4facc5aca748b4570273d0b13813dda}{00035}}         \mbox{\hyperlink{classns_shape_1_1_line_a446a1bbc370b3426afe05f22b681ea58ab4facc5aca748b4570273d0b13813dda}{TRANSITION\_BORDER\_COLOR\_RGB}}, }
\DoxyCodeLine{\Hypertarget{line_8h_source_l00036}\mbox{\hyperlink{classns_shape_1_1_line_a446a1bbc370b3426afe05f22b681ea58ad2f2a6854611b0b18a8d1805cfca13f1}{00036}}         \mbox{\hyperlink{classns_shape_1_1_line_a446a1bbc370b3426afe05f22b681ea58ad2f2a6854611b0b18a8d1805cfca13f1}{TRANSITION\_BORDER\_COLOR\_ALPHA}}, }
\DoxyCodeLine{\Hypertarget{line_8h_source_l00037}\mbox{\hyperlink{classns_shape_1_1_line_a446a1bbc370b3426afe05f22b681ea58ade8f8b210eda14b4f6e940f8f72346f8}{00037}}         \mbox{\hyperlink{classns_shape_1_1_line_a446a1bbc370b3426afe05f22b681ea58ade8f8b210eda14b4f6e940f8f72346f8}{TRANSITION\_FIRST\_POSITION}}, }
\DoxyCodeLine{\Hypertarget{line_8h_source_l00038}\mbox{\hyperlink{classns_shape_1_1_line_a446a1bbc370b3426afe05f22b681ea58a55cf135d3e37710549d41ae3faf0f80b}{00038}}         \mbox{\hyperlink{classns_shape_1_1_line_a446a1bbc370b3426afe05f22b681ea58a55cf135d3e37710549d41ae3faf0f80b}{TRANSITION\_SECOND\_POSITION}}, }
\DoxyCodeLine{\Hypertarget{line_8h_source_l00039}\mbox{\hyperlink{classns_shape_1_1_line_a446a1bbc370b3426afe05f22b681ea58a58ffbb046bb10ae9ed84a672d9daea03}{00039}}         \mbox{\hyperlink{classns_shape_1_1_line_a446a1bbc370b3426afe05f22b681ea58a58ffbb046bb10ae9ed84a672d9daea03}{TRANSITION\_LINE\_WIDTH}}, }
\DoxyCodeLine{\Hypertarget{line_8h_source_l00040}00040     \};}
\DoxyCodeLine{\Hypertarget{line_8h_source_l00041}00041 }
\DoxyCodeLine{\Hypertarget{line_8h_source_l00050}\mbox{\hyperlink{classns_shape_1_1_line_a7e565c06c16396c7dba0f9d9beedcd17}{00050}}     \mbox{\hyperlink{classns_shape_1_1_line_a7e565c06c16396c7dba0f9d9beedcd17}{Line}}(\textcolor{keyword}{const} \mbox{\hyperlink{classns_graphics_1_1_vec2_d}{nsGraphics::Vec2D}}\& firstPosition, \textcolor{keyword}{const} \mbox{\hyperlink{classns_graphics_1_1_vec2_d}{nsGraphics::Vec2D}}\& secondPosition, \textcolor{keyword}{const} \mbox{\hyperlink{classns_graphics_1_1_r_g_b_acolor}{nsGraphics::RGBAcolor}}\& fillColor, \textcolor{keyword}{const} \textcolor{keywordtype}{float}\& lineWidth = 1.f);}
\DoxyCodeLine{\Hypertarget{line_8h_source_l00051}00051 }
\DoxyCodeLine{\Hypertarget{line_8h_source_l00056}\mbox{\hyperlink{classns_shape_1_1_line_a5e867a9bf0795b3a89cffb0c84e21b13}{00056}}     \textcolor{keyword}{virtual} \mbox{\hyperlink{classns_shape_1_1_line_a5e867a9bf0795b3a89cffb0c84e21b13}{\string~Line}}() \textcolor{keyword}{override} = \textcolor{keywordflow}{default};}
\DoxyCodeLine{\Hypertarget{line_8h_source_l00057}00057 }
\DoxyCodeLine{\Hypertarget{line_8h_source_l00058}\mbox{\hyperlink{classns_shape_1_1_line_ae14d0de306fa91ee38bafd1d27682beb}{00058}}     \textcolor{keyword}{virtual} \textcolor{keywordtype}{void} \mbox{\hyperlink{classns_shape_1_1_line_ae14d0de306fa91ee38bafd1d27682beb}{draw}}(\mbox{\hyperlink{class_min_g_l}{MinGL}}\& window) \textcolor{keyword}{const override};}
\DoxyCodeLine{\Hypertarget{line_8h_source_l00059}00059 }
\DoxyCodeLine{\Hypertarget{line_8h_source_l00060}\mbox{\hyperlink{classns_shape_1_1_line_a572149171c74fb9453c3e2f4093ec466}{00060}}     \textcolor{keyword}{virtual} \textcolor{keywordtype}{void} \mbox{\hyperlink{classns_shape_1_1_line_a572149171c74fb9453c3e2f4093ec466}{getValues}}(\textcolor{keyword}{const} \textcolor{keywordtype}{int} \&\textcolor{keywordtype}{id}, std::vector<float> \&values) \textcolor{keyword}{override};}
\DoxyCodeLine{\Hypertarget{line_8h_source_l00061}\mbox{\hyperlink{classns_shape_1_1_line_a9984a9a1e69256065de1bd0cc51d2e8f}{00061}}     \textcolor{keyword}{virtual} \textcolor{keywordtype}{void} \mbox{\hyperlink{classns_shape_1_1_line_a9984a9a1e69256065de1bd0cc51d2e8f}{setValues}}(\textcolor{keyword}{const} \textcolor{keywordtype}{int} \&\textcolor{keywordtype}{id}, \textcolor{keyword}{const} std::vector<float> \&values) \textcolor{keyword}{override};}
\DoxyCodeLine{\Hypertarget{line_8h_source_l00062}00062 }
\DoxyCodeLine{\Hypertarget{line_8h_source_l00068}\mbox{\hyperlink{classns_shape_1_1_line_adddeb7810639aa3eec2756846d40a430}{00068}}     \mbox{\hyperlink{classns_shape_1_1_line}{Line}} \mbox{\hyperlink{classns_shape_1_1_line_adddeb7810639aa3eec2756846d40a430}{operator+}}(\textcolor{keyword}{const} \mbox{\hyperlink{classns_graphics_1_1_vec2_d}{nsGraphics::Vec2D}}\& position) \textcolor{keyword}{const};}
\DoxyCodeLine{\Hypertarget{line_8h_source_l00069}00069 }
\DoxyCodeLine{\Hypertarget{line_8h_source_l00075}\mbox{\hyperlink{classns_shape_1_1_line_a9686aab308107dff4799ec75a98d3aef}{00075}}     \mbox{\hyperlink{classns_shape_1_1_line}{Line}} \mbox{\hyperlink{classns_shape_1_1_line_a9686aab308107dff4799ec75a98d3aef}{operator*}}(\textcolor{keyword}{const} \textcolor{keywordtype}{float}\& f) \textcolor{keyword}{const};}
\DoxyCodeLine{\Hypertarget{line_8h_source_l00076}00076 }
\DoxyCodeLine{\Hypertarget{line_8h_source_l00081}\mbox{\hyperlink{classns_shape_1_1_line_a5e99d542b7557f79f58623b098672fdc}{00081}}     \textcolor{keyword}{const} \mbox{\hyperlink{classns_graphics_1_1_vec2_d}{nsGraphics::Vec2D}}\& \mbox{\hyperlink{classns_shape_1_1_line_a5e99d542b7557f79f58623b098672fdc}{getFirstPosition}}() \textcolor{keyword}{const};}
\DoxyCodeLine{\Hypertarget{line_8h_source_l00082}00082 }
\DoxyCodeLine{\Hypertarget{line_8h_source_l00088}\mbox{\hyperlink{classns_shape_1_1_line_a62178d318a6b856e574149f58f9838f9}{00088}}     \textcolor{keywordtype}{void} \mbox{\hyperlink{classns_shape_1_1_line_a62178d318a6b856e574149f58f9838f9}{setFirstPosition}}(\textcolor{keyword}{const} \mbox{\hyperlink{classns_graphics_1_1_vec2_d}{nsGraphics::Vec2D}} \&firstPosition);}
\DoxyCodeLine{\Hypertarget{line_8h_source_l00089}00089 }
\DoxyCodeLine{\Hypertarget{line_8h_source_l00094}\mbox{\hyperlink{classns_shape_1_1_line_a3e239062daea5c0f247ccd9f454a45e8}{00094}}     \textcolor{keyword}{const} \mbox{\hyperlink{classns_graphics_1_1_vec2_d}{nsGraphics::Vec2D}}\& \mbox{\hyperlink{classns_shape_1_1_line_a3e239062daea5c0f247ccd9f454a45e8}{getSecondPosition}}() \textcolor{keyword}{const};}
\DoxyCodeLine{\Hypertarget{line_8h_source_l00095}00095 }
\DoxyCodeLine{\Hypertarget{line_8h_source_l00101}\mbox{\hyperlink{classns_shape_1_1_line_ac8235be2b90d57497875a4265fc2bdc5}{00101}}     \textcolor{keywordtype}{void} \mbox{\hyperlink{classns_shape_1_1_line_ac8235be2b90d57497875a4265fc2bdc5}{setSecondPosition}}(\textcolor{keyword}{const} \mbox{\hyperlink{classns_graphics_1_1_vec2_d}{nsGraphics::Vec2D}} \&secondPosition);}
\DoxyCodeLine{\Hypertarget{line_8h_source_l00102}00102 }
\DoxyCodeLine{\Hypertarget{line_8h_source_l00107}\mbox{\hyperlink{classns_shape_1_1_line_aab6e3cacd0062c1d5e2e55e9099a617a}{00107}}     \textcolor{keywordtype}{float} \mbox{\hyperlink{classns_shape_1_1_line_aab6e3cacd0062c1d5e2e55e9099a617a}{getLineWidth}}() \textcolor{keyword}{const};}
\DoxyCodeLine{\Hypertarget{line_8h_source_l00108}00108 }
\DoxyCodeLine{\Hypertarget{line_8h_source_l00114}\mbox{\hyperlink{classns_shape_1_1_line_ab98591827289680e28b4b0904e6d95f2}{00114}}     \textcolor{keywordtype}{void} \mbox{\hyperlink{classns_shape_1_1_line_ab98591827289680e28b4b0904e6d95f2}{setLineWidth}}(\textcolor{keywordtype}{float} lineWidth);}
\DoxyCodeLine{\Hypertarget{line_8h_source_l00115}00115 }
\DoxyCodeLine{\Hypertarget{line_8h_source_l00116}00116 \textcolor{keyword}{private}:}
\DoxyCodeLine{\Hypertarget{line_8h_source_l00120}00120     \mbox{\hyperlink{classns_graphics_1_1_vec2_d}{nsGraphics::Vec2D}} m\_firstPosition;}
\DoxyCodeLine{\Hypertarget{line_8h_source_l00121}00121 }
\DoxyCodeLine{\Hypertarget{line_8h_source_l00125}00125     \mbox{\hyperlink{classns_graphics_1_1_vec2_d}{nsGraphics::Vec2D}} m\_secondPosition;}
\DoxyCodeLine{\Hypertarget{line_8h_source_l00126}00126 }
\DoxyCodeLine{\Hypertarget{line_8h_source_l00130}00130     \textcolor{keywordtype}{float} m\_lineWidth;}
\DoxyCodeLine{\Hypertarget{line_8h_source_l00131}00131 }
\DoxyCodeLine{\Hypertarget{line_8h_source_l00132}00132 \}; \textcolor{comment}{// class Line}}
\DoxyCodeLine{\Hypertarget{line_8h_source_l00133}00133 }
\DoxyCodeLine{\Hypertarget{line_8h_source_l00134}00134 \} \textcolor{comment}{// namespace nsShape}}
\DoxyCodeLine{\Hypertarget{line_8h_source_l00135}00135 }
\DoxyCodeLine{\Hypertarget{line_8h_source_l00136}00136 \textcolor{preprocessor}{\#endif }\textcolor{comment}{// LINE\_H}}

\end{DoxyCode}
