topic "Size";[ $$0,0#00000000000000000000000000000000:Default] [i448;a25;kKO9;*@(64) $$1,0#37138531426314131252341829483380:class] [l288;2 $$2,0#27521748481378242620020725143825:desc] [i448;a25;kKO9;*@(64)2 $$3,0#37138531426314131252341829483370:item] [~~~=_8333; $$4,4#05600065144404261032431302351956:break] [l288;a25;kK~~~.1408;@3;2 $$5,0#61217621437177404841962893300719:param] [{_}%EN-US [s0;*@(68)2 Upp&] [s0;*@(154.0.0)+109 Size`_&] [s0;*@(154.0.0)+109 &] [s1;K:`:`:Size`_`:`:struct: template_<[@(0.0.255) class]_[@4 T]>&] [s1;K:`:`:Size`_`:`:struct: [@(0.0.255) struct]_[@0 Size`_]_:_[@(0.0.255) public]_[^topic`:`/`/Core`/srcdoc`/Moveable`$en`-us^ M oveable]<_[@0 Size`_]<[@4 T]>_>_&] [s2; &] [s0;2 [* Size`_] is a generic structure that describes a two dimensional size object. The horizontal dimension is represented by [*@(154.0.0) cx][@(154.0.0) ]and the vertical one by [*@(154.0.0) cy]. Both dimension are of type [@4 T]. To get a specialized version of [* Size`_], use one of the following:&] [s0; &] [s0;*@(154.0.0)2 Size&] [s3; typedef_[^`:`:Size`_^ Size`_]<[^int^ int]>_Size&] [s2; Size`_ with with [^int^ int] dimensions.&] [s0;*@(154.0.0)2 &] [s0;*@(154.0.0)2 Size16&] [s3;K:`:`:Size16`:`:typedef:@0 [@(64) typedef_][^`:`:Size`_^@(64) Size`_][@(64) <][^`:`:int16^@(64) i nt16][@(64) >_]Size16&] [s2; Size`_ with with [^`:`:int16^ int16] dimensions.&] [s0;*@(154.0.0)2 &] [s0;*@(154.0.0)2 Size64&] [s3;K:`:`:Size64`:`:typedef:@0 [@(64) typedef_][^`:`:Size`_^@(64) Size`_][@(64) <][^`:`:int64^@(64) i nt64][@(64) >_]Size64&] [s2; Size`_ with with [^`:`:int64^ int64] dimensions.&] [s0;*@(154.0.0)2 &] [s0;*@(154.0.0)2 Sizef&] [s3;K:`:`:Sizef`:`:typedef:@0 [@(64) typedef_][^`:`:Size`_^@(64) Size`_][@(64) <][^double^@(64) d ouble][@(64) >_]Sizef&] [s2; Size`_ with with [^double^ double] dimensions.&] [s0; &] [s0; &] [ {{10000F(128)G(128)@1 [s0;*@2 Constructor Detail]}}&] [s0; &] [s3;K:`:`:Size`_`:`:`:`:Size`_`(`): [@0 Size`_]()&] [s2; Creates an uninitialized Size`_.&] [s4; -|&] [s4; &] [s3;K:`:`:Size`_`:`:`:`:Size`_`(const`:`:Value`&`): [@0 Size`_]([@(0.0.255) const]_[^`:`:Value^ V alue]`&_[@3 src])&] [s2; Default copy constructor.&] [s4; -|&] [s0; &] [s3;K:`:`:Size`_`:`:`:`:Size`_`(T`,T`): [@0 Size`_]([@4 T]_[@3 cx], [@4 T]_[@3 cy])&] [s2; Creates a Size`_ object an initializes it with two dimensions.&] [s5;@0 [@3;3 cx-|]the horizontal dimension&] [s5;@0 [*@3 cy][@3 -|]the vertical dimension&] [s4; -|&] [s3;K@0 &] [s3;K:`:`:Size`_`:`:`:`:Size`_`(const`:`:Size`_``&`): [@0 Size`_]([@(0.0.255) const ]_[@0 Size`_]<[^int^ int]>`&_[@3 sz])&] [s2; Creates a Size`_ object and initializes it with a [* Size] object.&] [s5;@0 [*@3 sz][@3 -|]the size that is going to be copied&] [s4; -|&] [s0; &] [s3;K:`:`:Size`_`:`:`:`:Size`_`(const`:`:Size`_``&`): [@0 Size`_]([@(0.0.255) con st]_[@0 Size`_]<[^short^ short]>`&_[@3 sz])&] [s2; Creates a Size`_ object and initializes it with a [* Size16] object.&] [s5;@0 [*@3 sz]-|the size that is going to be copied&] [s4; -|&] [s0; &] [s3;K:`:`:Size`_`:`:`:`:Size`_`(const`:`:Size`_``&`): [@0 Size`_]([@(0.0.255) co nst]_[@0 Size`_]<[^double^ double]>`&_[@3 sz])&] [s2; Creates a Size`_ object and initializes it with a [* Sizef] object.&] [s5;@0 [*@3 sz]-|the size that is going to be copied&] [s4; -|&] [s0; &] [s3;K:`:`:Size`_`:`:`:`:Size`_`(const`:`:Size`_`<`:`:int64`>`&`): [@0 Size`_]([@(0.0.255) c onst]_[@0 Size`_]<[^`:`:int64^ int64]>`&_[@3 sz])&] [s2; Creates a Size`_ object and initializes it with a [* Size64] object.&] [s5;@0 [*@3 sz]-|the size that is going to be copied&] [s4; -|&] [s0; &] [s3;K:`:`:Size`_`:`:`:`:Size`_`(const`:`:Point`_``&`): Size`_([@(0.0.255) const]_[^`:`:Point`_^ P oint`_]<[^T^ T]>`&_[@3 pt])&] [s2; Creates a Size`_ object and initializes it with a [* Point] object.&] [s5;@0 [*@3 pt] -|the point object&] [s4; -|&] [s0; &] [s3;K:`:`:Size`_`:`:`:`:Size`_`(const`:`:Nuller`&`): [@0 Size`_]([@(0.0.255) const]_[^`:`:Nuller^ N uller]`&)&] [s2; Creates a Size`_ object and initializes with [* Null].&] [s0; &] [s0; &] [ {{10000F(128)G(128)@1 [s0;*@2 Public Field Detail]}}&] [s0; &] [s0;*@(141.42.0) [@4 T ]cx&] [s2; the horizontal dimension&] [s0; &] [s4; -|&] [s0; &] [s0;*@(141.42.0) [@4 T][@0 ]cy&] [s2; the vertical dimension&] [s0; &] [s0; &] [ {{10000F(128)G(128)@1 [s0;*@2 Method Detail]}}&] [s0; &] [s3;K:`:`:Size`_`:`:Clear`(`): [@(0.0.255) void]_[@0 Clear]()&] [s2; Seth both dimension to 0.&] [s4; -|&] [s0; &] [s3;K:`:`:Size`_`:`:IsEmpty`(`)const:@(0.0.255) bool[@(64) _][@0 IsEmpty][@(64) ()_]const&] [s2; Returns [* true] if at least one dimension is 0, [* false] otherwise.&] [s4; -|&] [s0; &] [s3;K:`:`:Size`_`:`:SetNull`(`): [@(0.0.255) void]_[@0 SetNull]()&] [s2; Reinitializes the object to [* Null].&] [s4; -|&] [s0; &] [s3;K:`:`:Size`_`:`:IsNullInstance`(`)const:@(0.0.255) bool[@(64) _][@0 IsNullInstance][@(64) ( )_]const&] [s2; Verifies if current size is [* Null].&] [s4; -|&] [s0; &] [s3;K:`:`:Size`_`:`:GetHashValue`(`)const:@(0.0.255) unsigned[@(64) _][@0 GetHashValue][@(64) ( )_]const&] [s2; Returns the hash value of the size.&] [s4; -|&] [s0; &] [s3;K:`:`:Size`_`:`:ToString`(`)const:@(0.0.255) [^topic`:`/`/Core`/src`/String`$en`-us^@(64) S tring][@(64) _][@0 ToString][@(64) ()_]const&] [s2; Returns the [* String] representation of the size.&] [s4; -|&] [s0; &] [s3;K:`:`:Size`_`:`:operator`+`=`(`:`:Size`_`): [^`:`:Size`_^ Size`_]`&_[@0 operator`+`=]( [^`:`:Size`_^ Size`_]_[@3 p])&] [s2; Increases cx with [*@3 p]`'s horizontal dimension and cy with [*@3 p]`'s vertical dimension.&] [s4; -|&] [s0; &] [s3;K:`:`:Size`_`:`:operator`+`=`(T`): [^`:`:Size`_^ Size`_]`&_[@0 operator`+`=](T_[@3 t])&] [s2; Increases both dimension with the same value [*@3 t].&] [s4; -|&] [s0; &] [s3;K:`:`:Size`_`:`:operator`-`=`(`:`:Size`_`): [^`:`:Size`_^ Size`_]`&_[@0 operator`-`=]( [^`:`:Size`_^ Size`_]_[@3 p])&] [s2; Decreases cx with [*@3 p]`'s horizontal dimension and cy with [*@3 p]`'s vertical dimension.&] [s4; -|&] [s0; &] [s3;K:`:`:Size`_`:`:operator`-`=`(T`): [^`:`:Size`_^ Size`_]`&_[@0 operator`-`=](T_[@3 t])&] [s2; Decreases both dimension with the same value [*@3 t].&] [s4; -|&] [s0; &] [s3;K:`:`:Size`_`:`:operator`*`=`(`:`:Size`_`): [^`:`:Size`_^ Size`_]`&_[@0 operator`*`=]( [^`:`:Size`_^ Size`_]_[@3 p])&] [s2; Multiplies cx with [*@3 p]`'s horizontal dimension and cy with [*@3 p]`'s vertical dimension.&] [s4; -|&] [s0; &] [s3;K:`:`:Size`_`:`:operator`*`=`(T`): [^`:`:Size`_^ Size`_]`&_[@0 operator`*`=](T_[@3 t])&] [s2; Multiplies both dimension with the same value [*@3 t].&] [s4; -|&] [s0; &] [s3;K:`:`:Size`_`:`:operator`/`=`(`:`:Size`_`): [^`:`:Size`_^ Size`_]`&_[@0 operator/`=]( [^`:`:Size`_^ Size`_]_[@3 p])&] [s2; Divides cx with [*@3 p]`'s horizontal dimension and cy with [*@3 p]`'s vertical dimension.&] [s4; -|&] [s0; &] [s3;K:`:`:Size`_`:`:operator`/`=`(T`): [^`:`:Size`_^ Size`_]`&_[@0 operator/`=](T_[@3 t])&] [s2; Divides both dimension with the same value [*@3 t].&] [s4; -|&] [s0; &] [s3;K:`:`:Size`_`:`:operator`<`<`=`(int`): [^`:`:Size`_^ Size`_]`&_[@0 operator<<`=]([@(0.0.255) i nt]_[@3 sh])&] [s2; Shift both dimensions left by [*@3 sh].&] [s4; -|&] [s0; &] [s3;K:`:`:Size`_`:`:operator`>`>`=`(int`): [^`:`:Size`_^ Size`_]`&_[@0 operator>>`=]([@(0.0.255) i nt]_[@3 sh])&] [s2; Shift both dimensions right by [*@3 sh].&] [s4; -|&] [s0; &] [s3;K:`:`:Size`_`:`:operator`+`+`(`): [^`:`:Size`_^ Size`_]`&_[@0 operator`+`+]()&] [s2; Increments both dimensions.&] [s4; -|&] [s0; &] [s3;K:`:`:Size`_`:`:operator`-`-`(`): [^`:`:Size`_^ Size`_]`&_[@0 operator`-`-]()&] [s2; Decrements both dimensions.&] [s4; -|&] [s0; &] [s3;K:`:`:Size`_`:`:operator`:`:Value`(`)const:@(0.0.255) [@(64) operator_Value()_]cons t&] [s2; Returns a conversion of the size to [* Value].&] [s4; -|&] [s0; &] [s3;K:`:`:Size`_`:`:Serialize`(`:`:Stream`&`): [@(0.0.255) void]_[@0 Serialize]([^`:`:Stream^ S tream]`&_[@3 s])&] [s2; Serializes the size to a stream.&] [s5;@0 [*@(141.42.0) s]-|the output stream &] [s0; &] [s0; ]