mirror of
https://github.com/SFML/SFML.git
synced 2024-11-28 22:31:09 +08:00
Fixed some typos
This commit is contained in:
parent
afb8254b6d
commit
193e54773d
@ -202,7 +202,7 @@ SFML_GRAPHICS_API extern const BlendMode BlendNone; ///< Overwrite dest with
|
|||||||
/// \code
|
/// \code
|
||||||
/// sf::BlendMode alphaBlending = sf::BlendAlpha;
|
/// sf::BlendMode alphaBlending = sf::BlendAlpha;
|
||||||
/// sf::BlendMode additiveBlending = sf::BlendAdd;
|
/// sf::BlendMode additiveBlending = sf::BlendAdd;
|
||||||
/// sf::BlendMode multiplicativeBlending = sf::BlendMultipy;
|
/// sf::BlendMode multiplicativeBlending = sf::BlendMultiply;
|
||||||
/// sf::BlendMode noBlending = sf::BlendNone;
|
/// sf::BlendMode noBlending = sf::BlendNone;
|
||||||
/// \endcode
|
/// \endcode
|
||||||
///
|
///
|
||||||
|
@ -302,11 +302,11 @@ private:
|
|||||||
/// The viewport allows to map the scene to a custom part
|
/// The viewport allows to map the scene to a custom part
|
||||||
/// of the render target, and can be used for split-screen
|
/// of the render target, and can be used for split-screen
|
||||||
/// or for displaying a minimap, for example. If the source
|
/// or for displaying a minimap, for example. If the source
|
||||||
/// rectangle has not the same size as the viewport, its
|
/// rectangle doesn't have the same size as the viewport, its
|
||||||
/// contents will be stretched to fit in.
|
/// contents will be stretched to fit in.
|
||||||
///
|
///
|
||||||
/// To apply a view, you have to assign it to the render target.
|
/// To apply a view, you have to assign it to the render target.
|
||||||
/// Then, every objects drawn in this render target will be
|
/// Then, objects drawn in this render target will be
|
||||||
/// affected by the view until you use another view.
|
/// affected by the view until you use another view.
|
||||||
///
|
///
|
||||||
/// Usage example:
|
/// Usage example:
|
||||||
|
Loading…
Reference in New Issue
Block a user